|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.components.spiderchart.StandardChartSettings
public class StandardChartSettings
Field Summary | |
---|---|
protected JRExpression |
anchorNameExpression
|
protected java.awt.Color |
backcolor
|
protected int |
bookmarkLevel
The bookmark level for the anchor associated with this chart. |
static byte |
CHART_TYPE_SPIDER
|
protected java.lang.Byte |
chartType
|
protected java.lang.String |
customizerClass
|
protected JRExpression |
hyperlinkAnchorExpression
|
protected JRExpression |
hyperlinkPageExpression
|
protected java.util.List<JRHyperlinkParameter> |
hyperlinkParameters
|
protected JRExpression |
hyperlinkReferenceExpression
|
protected JRExpression |
hyperlinkTooltipExpression
|
protected java.awt.Color |
legendBackgroundColor
|
protected java.awt.Color |
legendColor
|
protected JRFont |
legendFont
|
protected EdgeEnum |
legendPosition
|
protected java.lang.String |
linkTarget
|
protected java.lang.String |
linkType
|
static java.lang.String |
PROPERTY_ANCHOR_NAME_EXPRESSION
|
static java.lang.String |
PROPERTY_BACKCOLOR
|
static java.lang.String |
PROPERTY_BOOKMARK_LEVEL
|
static java.lang.String |
PROPERTY_CHART_TYPE
|
static java.lang.String |
PROPERTY_CUSTOMIZER_CLASS
|
static java.lang.String |
PROPERTY_EVALUATION_GROUP
|
static java.lang.String |
PROPERTY_EVALUATION_TIME
|
static java.lang.String |
PROPERTY_HYPERLINK_ANCHOR_EXPRESSION
|
static java.lang.String |
PROPERTY_HYPERLINK_PAGE_EXPRESSION
|
static java.lang.String |
PROPERTY_HYPERLINK_PARAMETERS
|
static java.lang.String |
PROPERTY_HYPERLINK_REFERENCE_EXPRESSION
|
static java.lang.String |
PROPERTY_HYPERLINK_TARGET
|
static java.lang.String |
PROPERTY_HYPERLINK_TOOLTIP_EXPRESSION
|
static java.lang.String |
PROPERTY_LEGEND_BACKGROUND_COLOR
|
static java.lang.String |
PROPERTY_LEGEND_COLOR
|
static java.lang.String |
PROPERTY_LEGEND_FONT
|
static java.lang.String |
PROPERTY_LEGEND_POSITION
|
static java.lang.String |
PROPERTY_LINK_TARGET
|
static java.lang.String |
PROPERTY_LINK_TYPE
|
static java.lang.String |
PROPERTY_RENDER_TYPE
|
static java.lang.String |
PROPERTY_SHOW_LEGEND
|
static java.lang.String |
PROPERTY_SUBTITLE_COLOR
|
static java.lang.String |
PROPERTY_SUBTITLE_EXPRESSION
|
static java.lang.String |
PROPERTY_SUBTITLE_FONT
|
static java.lang.String |
PROPERTY_TITLE_COLOR
|
static java.lang.String |
PROPERTY_TITLE_EXPRESSION
|
static java.lang.String |
PROPERTY_TITLE_FONT
|
static java.lang.String |
PROPERTY_TITLE_POSITION
|
protected java.lang.String |
renderType
|
protected java.lang.Boolean |
showLegend
|
protected java.awt.Color |
subtitleColor
|
protected JRExpression |
subtitleExpression
|
protected JRFont |
subtitleFont
|
protected java.awt.Color |
titleColor
|
protected JRExpression |
titleExpression
|
protected JRFont |
titleFont
|
protected EdgeEnum |
titlePosition
|
Fields inherited from interface net.sf.jasperreports.engine.JRAnchor |
---|
NO_BOOKMARK |
Fields inherited from interface net.sf.jasperreports.engine.JRHyperlink |
---|
HYPERLINK_TARGET_BLANK, HYPERLINK_TARGET_CUSTOM, HYPERLINK_TARGET_PARENT, HYPERLINK_TARGET_SELF, HYPERLINK_TARGET_TOP, HYPERLINK_TYPE_CUSTOM, HYPERLINK_TYPE_LOCAL_ANCHOR, HYPERLINK_TYPE_LOCAL_PAGE, HYPERLINK_TYPE_NONE, HYPERLINK_TYPE_NULL, HYPERLINK_TYPE_REFERENCE, HYPERLINK_TYPE_REMOTE_ANCHOR, HYPERLINK_TYPE_REMOTE_PAGE |
Constructor Summary | |
---|---|
StandardChartSettings()
|
|
StandardChartSettings(ChartSettings chart,
JRBaseObjectFactory factory)
|
Method Summary | |
---|---|
void |
addHyperlinkParameter(JRHyperlinkParameter parameter)
Adds a custom hyperlink parameter. |
java.lang.Object |
clone()
|
void |
collectExpressions(JRExpressionCollector collector)
|
JRExpression |
getAnchorNameExpression()
Returns an expression whose value represents the anchor name. |
java.awt.Color |
getBackcolor()
|
int |
getBookmarkLevel()
Returns the level of the bookmark corresponding to the anchor. |
byte |
getChartType()
|
java.lang.String |
getCustomizerClass()
Gets a user specified chart customizer class name. |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance. |
JRExpression |
getHyperlinkAnchorExpression()
Returns the expression whose value represents the anchor. |
JRExpression |
getHyperlinkPageExpression()
Returns an integer representing the page index of the link. |
JRHyperlinkParameter[] |
getHyperlinkParameters()
Returns the list of hyperlink parameters. |
java.util.List |
getHyperlinkParametersList()
Returns the list of custom hyperlink parameters. |
JRExpression |
getHyperlinkReferenceExpression()
Returns the expression whose value represents the hyperlink reference. |
byte |
getHyperlinkTarget()
Retrieves the hyperlink target for the element. |
JRExpression |
getHyperlinkTooltipExpression()
Returns the expression which will generate the hyperlink tooltip. |
byte |
getHyperlinkType()
Deprecated. Replaced by getHyperlinkTypeValue() . |
HyperlinkTypeEnum |
getHyperlinkTypeValue()
Retrieves the hyperlink type for the element. |
java.awt.Color |
getLegendBackgroundColor()
|
java.awt.Color |
getLegendColor()
|
JRFont |
getLegendFont()
|
EdgeEnum |
getLegendPosition()
|
java.lang.String |
getLinkTarget()
Returns the hyperlink target name. |
java.lang.String |
getLinkType()
Returns the hyperlink type. |
java.lang.String |
getRenderType()
|
java.lang.Boolean |
getShowLegend()
|
java.awt.Color |
getSubtitleColor()
|
JRExpression |
getSubtitleExpression()
|
JRFont |
getSubtitleFont()
|
java.awt.Color |
getTitleColor()
|
JRExpression |
getTitleExpression()
|
JRFont |
getTitleFont()
|
EdgeEnum |
getTitlePosition()
|
void |
removeHyperlinkParameter(JRHyperlinkParameter parameter)
Removes a custom hyperlink parameter. |
void |
removeHyperlinkParameter(java.lang.String parameterName)
Removes a custom hyperlink parameter. |
void |
setAnchorNameExpression(JRExpression anchorNameExpression)
|
void |
setBackcolor(java.awt.Color backcolor)
|
void |
setBookmarkLevel(int bookmarkLevel)
|
void |
setChartType(java.lang.Byte chartType)
|
void |
setCustomizerClass(java.lang.String customizerClass)
|
void |
setHyperlinkAnchorExpression(JRExpression hyperlinkAnchorExpression)
|
void |
setHyperlinkPageExpression(JRExpression hyperlinkPageExpression)
|
void |
setHyperlinkReferenceExpression(JRExpression hyperlinkReferenceExpression)
|
void |
setHyperlinkTooltipExpression(JRExpression hyperlinkTooltipExpression)
|
void |
setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
|
void |
setLegendColor(java.awt.Color legendColor)
|
void |
setLegendFont(JRFont legendFont)
|
void |
setLegendPosition(EdgeEnum legendPosition)
|
void |
setLinkTarget(java.lang.String linkTarget)
|
void |
setLinkType(java.lang.String linkType)
|
void |
setRenderType(java.lang.String renderType)
|
void |
setShowLegend(java.lang.Boolean isShowLegend)
|
void |
setSubtitleColor(java.awt.Color subtitleColor)
|
void |
setSubtitleExpression(JRExpression subtitleExpression)
|
void |
setSubtitleFont(JRFont subtitleFont)
|
void |
setTitleColor(java.awt.Color titleColor)
|
void |
setTitleExpression(JRExpression titleExpression)
|
void |
setTitleFont(JRFont titleFont)
|
void |
setTitlePosition(EdgeEnum titlePosition)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte CHART_TYPE_SPIDER
public static final java.lang.String PROPERTY_LEGEND_BACKGROUND_COLOR
public static final java.lang.String PROPERTY_LEGEND_COLOR
public static final java.lang.String PROPERTY_LEGEND_POSITION
public static final java.lang.String PROPERTY_SHOW_LEGEND
public static final java.lang.String PROPERTY_SUBTITLE_COLOR
public static final java.lang.String PROPERTY_TITLE_COLOR
public static final java.lang.String PROPERTY_TITLE_POSITION
public static final java.lang.String PROPERTY_RENDER_TYPE
public static final java.lang.String PROPERTY_BOOKMARK_LEVEL
public static final java.lang.String PROPERTY_BACKCOLOR
public static final java.lang.String PROPERTY_ANCHOR_NAME_EXPRESSION
public static final java.lang.String PROPERTY_EVALUATION_GROUP
public static final java.lang.String PROPERTY_EVALUATION_TIME
public static final java.lang.String PROPERTY_CHART_TYPE
public static final java.lang.String PROPERTY_LEGEND_FONT
public static final java.lang.String PROPERTY_SUBTITLE_EXPRESSION
public static final java.lang.String PROPERTY_SUBTITLE_FONT
public static final java.lang.String PROPERTY_TITLE_EXPRESSION
public static final java.lang.String PROPERTY_TITLE_FONT
public static final java.lang.String PROPERTY_HYPERLINK_ANCHOR_EXPRESSION
public static final java.lang.String PROPERTY_HYPERLINK_PAGE_EXPRESSION
public static final java.lang.String PROPERTY_HYPERLINK_REFERENCE_EXPRESSION
public static final java.lang.String PROPERTY_HYPERLINK_TARGET
public static final java.lang.String PROPERTY_LINK_TARGET
public static final java.lang.String PROPERTY_HYPERLINK_TOOLTIP_EXPRESSION
public static final java.lang.String PROPERTY_LINK_TYPE
public static final java.lang.String PROPERTY_HYPERLINK_PARAMETERS
public static final java.lang.String PROPERTY_CUSTOMIZER_CLASS
protected java.lang.Byte chartType
protected java.lang.Boolean showLegend
protected java.lang.String linkType
protected java.lang.String linkTarget
protected java.util.List<JRHyperlinkParameter> hyperlinkParameters
protected java.awt.Color backcolor
protected java.awt.Color titleColor
protected java.awt.Color subtitleColor
protected java.awt.Color legendColor
protected java.awt.Color legendBackgroundColor
protected EdgeEnum legendPosition
protected EdgeEnum titlePosition
protected java.lang.String renderType
protected JRFont titleFont
protected JRFont subtitleFont
protected JRFont legendFont
protected JRExpression titleExpression
protected JRExpression subtitleExpression
protected JRExpression anchorNameExpression
protected JRExpression hyperlinkReferenceExpression
protected JRExpression hyperlinkAnchorExpression
protected JRExpression hyperlinkPageExpression
protected JRExpression hyperlinkTooltipExpression
protected java.lang.String customizerClass
protected int bookmarkLevel
JRAnchor.getBookmarkLevel()
Constructor Detail |
---|
public StandardChartSettings()
public StandardChartSettings(ChartSettings chart, JRBaseObjectFactory factory)
Method Detail |
---|
public java.lang.Boolean getShowLegend()
getShowLegend
in interface ChartSettings
public void setShowLegend(java.lang.Boolean isShowLegend)
public java.awt.Color getBackcolor()
getBackcolor
in interface ChartSettings
public void setBackcolor(java.awt.Color backcolor)
public JRFont getTitleFont()
getTitleFont
in interface ChartSettings
public EdgeEnum getTitlePosition()
getTitlePosition
in interface ChartSettings
public void setTitlePosition(EdgeEnum titlePosition)
public java.awt.Color getTitleColor()
getTitleColor
in interface ChartSettings
public void setTitleColor(java.awt.Color titleColor)
public JRFont getSubtitleFont()
getSubtitleFont
in interface ChartSettings
public java.awt.Color getSubtitleColor()
getSubtitleColor
in interface ChartSettings
public void setSubtitleColor(java.awt.Color subtitleColor)
public java.awt.Color getLegendBackgroundColor()
getLegendBackgroundColor
in interface ChartSettings
public java.awt.Color getLegendColor()
getLegendColor
in interface ChartSettings
public JRFont getLegendFont()
getLegendFont
in interface ChartSettings
public void setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
public void setLegendColor(java.awt.Color legendColor)
public EdgeEnum getLegendPosition()
getLegendPosition
in interface ChartSettings
public void setLegendPosition(EdgeEnum legendPosition)
public byte getHyperlinkType()
getHyperlinkTypeValue()
.
getHyperlinkType
in interface JRHyperlink
public HyperlinkTypeEnum getHyperlinkTypeValue()
JRHyperlink
The actual hyperlink type is determined by getLinkType()
.
This method can is used to determine whether the hyperlink type is one of the
built-in types or a custom type.
When hyperlink is of custom type, CUSTOM
is returned.
getHyperlinkTypeValue
in interface JRHyperlink
JRHyperlink.getLinkType()
public byte getHyperlinkTarget()
JRHyperlink
The actual hyperlink target is determined by getLinkTarget()
.
This method can is used to determine whether the hyperlink target is one of the
built-in target names or a custom one.
When hyperlink has a custom target name, HYPERLINK_TYPE_CUSTOM
is returned.
getHyperlinkTarget
in interface JRHyperlink
JRHyperlink.getLinkTarget()
public JRExpression getTitleExpression()
getTitleExpression
in interface ChartSettings
public JRExpression getSubtitleExpression()
getSubtitleExpression
in interface ChartSettings
public JRExpression getAnchorNameExpression()
JRAnchor
getAnchorNameExpression
in interface JRAnchor
public JRExpression getHyperlinkReferenceExpression()
JRHyperlink
getHyperlinkReferenceExpression
in interface JRHyperlink
public JRExpression getHyperlinkAnchorExpression()
JRHyperlink
getHyperlinkAnchorExpression
in interface JRHyperlink
public JRExpression getHyperlinkPageExpression()
JRHyperlink
getHyperlinkPageExpression
in interface JRHyperlink
public byte getChartType()
getChartType
in interface ChartSettings
public java.lang.String getRenderType()
getRenderType
in interface ChartSettings
public void setRenderType(java.lang.String renderType)
public int getBookmarkLevel()
JRAnchor
getBookmarkLevel
in interface JRAnchor
NO_BOOKMARK
if no bookmark should be created for this anchorpublic void setBookmarkLevel(int bookmarkLevel)
public java.lang.String getLinkType()
JRHyperlink
The type can be one of the built-in types (Reference, LocalAnchor, LocalPage, RemoteAnchor, RemotePage), or can be an arbitrary type.
getLinkType
in interface JRHyperlink
public java.lang.String getLinkTarget()
JRHyperlink
The type can be one of the built-in names (Self, Blank, Top, Parent), or can be an arbitrary name.
getLinkTarget
in interface JRHyperlink
public JRExpression getHyperlinkTooltipExpression()
JRHyperlink
getHyperlinkTooltipExpression
in interface JRHyperlink
public java.lang.String getCustomizerClass()
ChartSettings
getCustomizerClass
in interface ChartSettings
ChartCustomizer
public void setChartType(java.lang.Byte chartType)
chartType
- the chartType to setpublic void setLinkType(java.lang.String linkType)
linkType
- the linkType to setpublic void setLinkTarget(java.lang.String linkTarget)
linkTarget
- the linkTarget to setpublic void setTitleFont(JRFont titleFont)
titleFont
- the titleFont to setpublic void setSubtitleFont(JRFont subtitleFont)
subtitleFont
- the subtitleFont to setpublic void setLegendFont(JRFont legendFont)
legendFont
- the legendFont to setpublic void setTitleExpression(JRExpression titleExpression)
titleExpression
- the titleExpression to setpublic void setSubtitleExpression(JRExpression subtitleExpression)
subtitleExpression
- the subtitleExpression to setpublic void setAnchorNameExpression(JRExpression anchorNameExpression)
anchorNameExpression
- the anchorNameExpression to setpublic void setHyperlinkReferenceExpression(JRExpression hyperlinkReferenceExpression)
hyperlinkReferenceExpression
- the hyperlinkReferenceExpression to setpublic void setHyperlinkAnchorExpression(JRExpression hyperlinkAnchorExpression)
hyperlinkAnchorExpression
- the hyperlinkAnchorExpression to setpublic void setHyperlinkPageExpression(JRExpression hyperlinkPageExpression)
hyperlinkPageExpression
- the hyperlinkPageExpression to setpublic void setHyperlinkTooltipExpression(JRExpression hyperlinkTooltipExpression)
hyperlinkTooltipExpression
- the hyperlinkTooltipExpression to setpublic void setCustomizerClass(java.lang.String customizerClass)
customizerClass
- the customizerClass to setpublic void collectExpressions(JRExpressionCollector collector)
public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
public JRHyperlinkParameter[] getHyperlinkParameters()
JRHyperlink
The parameters can be used by custom hyperlink types to generate dynamic links.
getHyperlinkParameters
in interface JRHyperlink
public java.util.List getHyperlinkParametersList()
public void addHyperlinkParameter(JRHyperlinkParameter parameter)
parameter
- the parameter to addpublic void removeHyperlinkParameter(JRHyperlinkParameter parameter)
parameter
- the parameter to removepublic void removeHyperlinkParameter(java.lang.String parameterName)
If multiple parameters having the specified name exist, all of them will be removed
parameterName
- the parameter name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |