|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
oracle.dss.graph.BaseGraphComponent
|
+--oracle.dss.graph.BaseText
|
+--oracle.dss.graph.BaseLegendText
Text in the legend of a graph.
LegendArea| Method Summary | |
int |
getHorizontalAlignment()Retrieves the horizontal alignment for the text within the rectangle of the legend text. |
int |
getMaxAutoFontSize()Retrieves the maximum font size for legend text that is automatically sized to fit in the legend. |
int |
getMinAutoFontSize()Retrieves the minimum font size for legend text that is automatically sized to fit in the legend. |
boolean |
isTextFittingAutomatic()Indicates whether the legend text is automatically moved and resized to fit in the legend area. |
boolean |
isWordWrapEnabled()Indicates whether word wrap is enabled for all of the legend text. |
void |
setHorizontalAlignment(int a)Specifies the horizontal alignment of the text within the rectangle of the legend text. |
void |
setMaxAutoFontSize(int size)Specifies the maximum font size for legend text that is automatically sized to fit in the legend. |
void |
setMinAutoFontSize(int size)Specifies the minimum font size for legend text that is automatically sized to fit in the legend. |
void |
setTextFittingAutomatic(boolean yesNo)Specifies whether the legend text is automatically moved and resized to fit in the legend area. |
void |
setWordWrapEnabled(boolean yesNo)Specifies whether word wrap is enabled for all of the legend text. |
| Methods inherited from class oracle.dss.graph.BaseText |
getDataviewFont, getFont, getGraphFont, isFontSizeAbsolute, setFont, setFontSizeAbsolute |
| Methods inherited from class oracle.dss.graph.BaseGraphComponent |
selectObject |
| Method Detail |
public boolean isTextFittingAutomatic()
FontSizeAbsolute attribute is set to false and when automatic graph layout is disabled (when the AutoLayout property of the graph is AL_NEVER).true if it is automatically moved and resized, false if it is not.BaseText.isFontSizeAbsolute(), Graph.setAutoLayout(int)public void setTextFittingAutomatic(boolean yesNo)
TextFittingAutomatic to true instructs the graph to resize the text when appropriate.
In order for this method to take effect, the FontSizeAbsolute attribute must be set to false, and the AutoLayout property of the graph must be set to AL_NEVER.
yesNo - true to make the legend text automatically move and resize, false prevent resizing.BaseText.isFontSizeAbsolute(), BaseText.setFontSizeAbsolute(boolean), Graph.setAutoLayout(int)public int getHorizontalAlignment()
swing constant that represents the horizontal alignment for this legend text.public void setHorizontalAlignment(int a)
a - A swing constant that represents the horizontal alignment of this legend text.public int getMaxAutoFontSize()
FontSizeAbsolute property is set to false and TextFittingAutomatic is set to true. The AutoLayout property of the graph must also be set to AL_NEVER.BaseText.isFontSizeAbsolute(), isTextFittingAutomatic(), getMinAutoFontSize(), setMaxAutoFontSize(int), setMinAutoFontSize(int), Graph.getMaxTickLabelAutoFontSize(), Graph.getMinTickLabelAutoFontSize(), Graph.setMaxTickLabelAutoFontSize(int), Graph.setMinTickLabelAutoFontSize(int), Graph.setAutoLayout(int)public void setMaxAutoFontSize(int size)
FontSizeAbsolute property is set to false and TextFittingAutomatic is set to true. The AutoLayout property of the graph must also be set to AL_NEVER.size - The maximum font size for autofit legend text, in virtual coordinate units. Values less than 1 are not valid. If you pass an invalid value, this method logs a message with the error handler and does not change the property value.BaseText.setFontSizeAbsolute(boolean), setTextFittingAutomatic(boolean), getMaxAutoFontSize(), getMinAutoFontSize(), setMinAutoFontSize(int), Graph.getMaxTickLabelAutoFontSize(), Graph.getMinTickLabelAutoFontSize(), Graph.setMaxTickLabelAutoFontSize(int), Graph.setMinTickLabelAutoFontSize(int), Graph.setAutoLayout(int)public int getMinAutoFontSize()
FontSizeAbsolute property is set to false and the TextFittingAutomatic property is set to true. The AutoLayout property of the graph must also be set to AL_NEVER.BaseText.isFontSizeAbsolute(), isTextFittingAutomatic(), getMaxAutoFontSize(), setMaxAutoFontSize(int), setMinAutoFontSize(int), Graph.getMaxTickLabelAutoFontSize(), Graph.getMinTickLabelAutoFontSize(), Graph.setMaxTickLabelAutoFontSize(int), Graph.setMinTickLabelAutoFontSize(int), Graph.setAutoLayout(int)public void setMinAutoFontSize(int size)
FontSizeAbsolute property is set to false and the TextFittingAutomatic property is set to true. The AutoLayout property of the graph must also be set to AL_NEVER.size - The minimum font size for autofit legend text, in virtual coordinate units. Values less than 1 are not valid. If you pass an invalid value, this method logs a message with the error handler and does not change the property value.BaseText.setFontSizeAbsolute(boolean), setTextFittingAutomatic(boolean), getMaxAutoFontSize(), getMinAutoFontSize(), setMaxAutoFontSize(int), Graph.getMaxTickLabelAutoFontSize(), Graph.getMinTickLabelAutoFontSize(), Graph.setMaxTickLabelAutoFontSize(int), Graph.setMinTickLabelAutoFontSize(int), Graph.setAutoLayout(int)public boolean isWordWrapEnabled()
doAutoLayout sets it as needed.isWordWrapEnabled in interface WordWrapEnabledtrue if it is enabled, false if it is not.Graph.setAutoLayout(int), Graph.doAutoLayout(int)public void setWordWrapEnabled(boolean yesNo)
doAutoLayout sets it as needed.setWordWrapEnabled in interface WordWrapEnabledyesNo - true to wrap words, false to prohibit wrapping.Graph.setAutoLayout(int), Graph.doAutoLayout(int)
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||