|
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.BaseTickLabel
Identifies a tick mark on an axis of the graph.
Method Summary | |
int |
getHorizontalAlignment() Retrieves the horizontal alignment for the text within the rectangle of the tick label. |
int |
getTextRotation() Retrieves the rotation of the text for all of the tick labels of this axis in the graph. |
boolean |
isTextFittingAutomatic() Indicates whether all of the this axis tick labels are automatically moved and resized relative to the size of the graph. |
abstract boolean |
isTickLabelStaggered() Indicates whether all of the tick labels of this axis are staggered. |
boolean |
selectObject(int series, int group) Selects all tick labels of this axis in the graph. |
void |
setHorizontalAlignment(int a) Specifies the horizontal alignment of the text within the rectangle of the tick label. |
void |
setTextFittingAutomatic(boolean yesNo) Specifies whether the tick labels are automatically moved and resized relative to the size of the graph. |
void |
setTextRotation(int orient) Specifies the rotation of the text for all of the tick labels of this axis in the graph. |
abstract void |
setTickLabelStaggered(boolean yesNo) Specifies whether all of the tick labels of this axis are staggered. |
Methods inherited from class oracle.dss.graph.BaseText |
getDataviewFont, getFont, getGraphFont, isFontSizeAbsolute, setFont, setFontSizeAbsolute |
Method Detail |
public boolean selectObject(int series, int group)
selectObject
in class BaseGraphComponent
series
- Any integer.group
- Any integer.true
if successful, false
if not.public int getHorizontalAlignment()
SwingConstants.LEFT
, SwingConstants.CENTER
, and SwingConstants.RIGHT
. When the text has been rotated to a vertical position, the horizontal alignment properties appear to move the text up and down, rather than left and right.
Automatic graph layout ignores this property. The doAutoLayout
method sets this property.
getHorizontalAlignment
in interface HorizontalAlignment
SwingConstant
value that represents the horizontal alignment for the text of this tick label.Graph.setAutoLayout(int)
, Graph.doAutoLayout(int)
public void setHorizontalAlignment(int a)
This method has no effect on axis titles in a 3-D graph.
Automatic graph layout ignores this property. The doAutoLayout
method sets this property.
setHorizontalAlignment
in interface HorizontalAlignment
a
- A SwingConstant
value that represents the horizontal alignment for the text of the tick label. Valid constants are SwingConstants.LEFT
, SwingConstants.CENTER
, and SwingConstants.RIGHT
.public int getTextRotation()
Automatic rotation respects this property.
BaseGraphComponent.TR_HORIZ
, BaseGraphComponent.TR_HORIZ_ROTATE_90
, BaseGraphComponent.TR_HORIZ_ROTATE_270
, Graph.setAutoLayout(int)
public void setTextRotation(int orient)
Automatic rotation respects this property, but setting this property limits the strategies that automatic layout can use to display tick labels. If you specify rotation for tick labels, you eliminate several possibilities for better tick label layout.
orient
- A constant that represents the rotation of the text for all of the tick labels of this axis in the graph. Valid constants are listed in the See Also section. If you pass an invalid value, the graph logs a message with the registered error handler, and TextRotation
retains its previous value.BaseGraphComponent.TR_HORIZ
, BaseGraphComponent.TR_HORIZ_ROTATE_90
, BaseGraphComponent.TR_HORIZ_ROTATE_270
, Graph.setAutoLayout(int)
public abstract boolean isTickLabelStaggered()
doAutoLayout
sets it as needed.true
if they are staggered, false
if they are aligned.Graph.setAutoLayout(int)
, Graph.doAutoLayout(int)
public abstract void setTickLabelStaggered(boolean yesNo)
doAutoLayout
sets it as needed.yesNo
- true
to stagger the tick labels, false
to align the tick labels.Graph.setAutoLayout(int)
, Graph.doAutoLayout(int)
public boolean isTextFittingAutomatic()
FontSizeAbsolute
property is set to false
. Automatic graph layout ignores this property.true
if they are automatically moved and resized, false
if they are independent from the size of the graph.BaseText.isFontSizeAbsolute()
public void setTextFittingAutomatic(boolean yesNo)
TextFittingAutomatic
to true
instructs the graph to resize the tick labels when appropriate.
In order for this method to take effect, the FontSizeAbsolute
property must be set to false
.
Automatic graph layout ignores this property.
yesNo
- true
to have the tick labels automatically resized, false
prevent resizing.BaseText.isFontSizeAbsolute()
, BaseText.setFontSizeAbsolute(boolean)
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |