|
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 | +--oracle.dss.graph.O1TickLabel
Identifies a tick mark on the O1-axis of the graph. This usually contains the names of the dimension or measure that the O1-axis represents.
Method Summary | |
int |
getAutomaticRotation() Retrieves the angle of automatic rotation for the text within the rectangle for each of the O1-axis tick labels. |
int |
getTickLabelSkipCount() Retrieves the number of O1-axis tick labels that the graph hides between each one that is displayed. |
int |
getTickLabelSkipFirst() Retrieves the index of the first O1-axis tick label that is skipped. |
int |
getTickLabelSkipMode() Retrieves the type of skipping that is used for the O1-axis tick labels. |
boolean |
isTextFittingAutomatic() Indicates whether all of the O1-axis tick labels are automatically moved and resized relative to the size of the graph. |
boolean |
isTickLabelStaggered() Indicates whether all of the O1-axis tick labels are staggered. |
boolean |
isTickLabelWrapped() Deprecated. As of 2.6.0.15, replaced by isWordWrapEnabled() |
boolean |
isWordWrapEnabled() Indicates whether word wrap is enabled for all of the O1-axis tick labels. |
boolean |
selectObject(int layer, int group) Selects this O1-axis tick label in the graph. |
void |
setAutomaticRotation(int orient) Specifies the angle of automatic rotation for the text within the rectangle for each of the O1-axis tick labels. |
void |
setTextFittingAutomatic(boolean yesNo) Specifies whether all of the O1-axis tick labels are automatically moved and resized relative to the size of the graph. |
void |
setTextRotation(int orient) Specifies the angle of rotation for the text within the rectangle for each of the O1-axis tick labels. |
void |
setTickLabelSkipCount(int count) Specifies the number of O1-axis tick labels that the graph hides between each one that is displayed. |
void |
setTickLabelSkipFirst(int first) Specifies the index of the first 01-axis tick label that is skipped. |
void |
setTickLabelSkipMode(int mode) Specifies the type of skipping that is used for the O1-axis tick labels. |
void |
setTickLabelStaggered(boolean yesNo) Specifies whether all of the O1-axis tick labels are staggered. |
void |
setTickLabelWrapped(boolean yesNo) Deprecated. As of 2.6.0.15, replaced by setWordWrapEnabled(boolean) |
void |
setWordWrapEnabled(boolean yesNo) Specifies whether word wrap is enabled for all of the O1-axis tick labels. |
Methods inherited from class oracle.dss.graph.BaseTickLabel |
getHorizontalAlignment, getTextRotation, setHorizontalAlignment |
Methods inherited from class oracle.dss.graph.BaseText |
getDataviewFont, getFont, getGraphFont, isFontSizeAbsolute, setFont, setFontSizeAbsolute |
Method Detail |
public boolean selectObject(int layer, int group)
layer
identifies whether to select the outer layer (layer 0) or the inner layer (layer 1).
For example, if a time axis has month labels next to the axis and year labels below the month labels, then the year labels are layer 0, and the month labels are layer 1.
If the O1-axis is not a time axis, then the layer
parameter is irrelevant.
selectObject
in class BaseTickLabel
layer
- If the axis is a time axis, then pass 0 for an outer label or 1 for an inner label. If the axis is not a time axis, then pass any integer.group
- The group
that this tick label belongs to.true
if successful, false
if not.public boolean isTextFittingAutomatic()
isTextFittingAutomatic
in class BaseTickLabel
true
if they are moved and resized, false
if they are independent from the size of the graph.Graph.setAutoLayout(int)
public void setTextFittingAutomatic(boolean yesNo)
Graph automatic layout ignores this property.
setTextFittingAutomatic
in class BaseTickLabel
yesNo
- true
to make them automatically moved and resized, false
to make them independent from the size of the graph.Graph.setAutoLayout(int)
public int getAutomaticRotation()
doAutoLayout
method always sets this property to AR_NO_ROTATE
.
doAutoLayout(BaseGraphComponent.HONOR_PROPERTIES)
respects this property. doAutoLayout(BaseGraphComponent.RESET_PROPERTIES)
treats this property as AR_HORIZ_ROTATE_270
.
BaseGraphComponent.AR_NO_ROTATE
, BaseGraphComponent.AR_HORIZ_ROTATE_90
, BaseGraphComponent.AR_HORIZ_ROTATE_270
, Graph.setAutoLayout(int)
public void setAutomaticRotation(int orient)
doAutoLayout
method always sets this property to AR_NO_ROTATE
.
doAutoLayout(BaseGraphComponent.HONOR_PROPERTIES)
respects this property. doAutoLayout(BaseGraphComponent.RESET_PROPERTIES)
treats this property as AR_HORIZ_ROTATE_270
.
orient
- A constant that represents the angle of automatic rotation for the text within the rectangle for each of the O1-axis tick labels. Valid constants are listed in the See Also section. If you pass an invalid value, then the graph does not change the AutomaticRotation
property value. It logs a message with the error handler.BaseGraphComponent.AR_NO_ROTATE
, BaseGraphComponent.AR_HORIZ_ROTATE_90
, BaseGraphComponent.AR_HORIZ_ROTATE_270
public void setTextRotation(int orient)
doAutoLayout(BaseGraphComponent.HONOR_PROPERTIES)
respects this property. doAutoLayout(BaseGraphComponent.RESET_PROPERTIES)
treats this property as TR_HORIZ
.
setTextRotation
in class BaseTickLabel
orient
- A constant that represents the angle of rotation for the text within the rectangle for each of the O1-axis tick labels. Valid constants are listed in the See Also section. If you pass an invalid value, then the graph does not change the TextRotation
property value. It logs a message with the error handler.BaseGraphComponent.TR_HORIZ
, BaseGraphComponent.TR_HORIZ_ROTATE_90
, BaseGraphComponent.TR_HORIZ_ROTATE_270
, Graph.setAutoLayout(int)
public int getTickLabelSkipCount()
TickLabelSkipMode
property is set to TLS_MANUAL
.
Automatic graph layout respects this property, if TickLabelSkipMode
is TLS_MANUAL
. Otherwise, automatic layout ignores this property. The doAutoLayout
method sets it as needed, if TickLabelSkipMode
is TLS_AUTOMATIC
or if you pass RESET_PROPERTIES
as the argument to doAutoLayout
.
setTickLabelSkipMode(int)
, Graph.setAutoLayout(int)
, Graph.doAutoLayout(int)
public void setTickLabelSkipCount(int count)
TickLabelSkipMode
property is set to TLS_MANUAL
.
Automatic graph layout respects this property, if TickLabelSkipMode
is TLS_MANUAL
. Otherwise, automatic layout ignores this property. The doAutoLayout
method sets it as needed, if TickLabelSkipMode
is TLS_AUTOMATIC
or if you pass RESET_PROPERTIES
as the argument to doAutoLayout
.
count
- The number of O1-axis tick labels that the graph hides between each one that is displayed.setTickLabelSkipMode(int)
, Graph.setAutoLayout(int)
, Graph.doAutoLayout(int)
public int getTickLabelSkipFirst()
TickLabelSkipMode
property is set to TLS_MANUAL
.
Automatic graph layout respects this property, if TickLabelSkipMode
is TLS_MANUAL
. Otherwise, automatic layout ignores this property. The doAutoLayout
method sets it as needed, if TickLabelSkipMode
is TLS_AUTOMATIC
or if you pass RESET_PROPERTIES
as the argument to doAutoLayout
.
setTickLabelSkipMode(int)
, setTickLabelSkipCount(int)
, Graph.setAutoLayout(int)
, Graph.doAutoLayout(int)
public void setTickLabelSkipFirst(int first)
TickLabelSkipMode
property is set to TLS_MANUAL
.
Automatic graph layout respects this property, if TickLabelSkipMode
is TLS_MANUAL
. Otherwise, automatic layout ignores this property. The doAutoLayout
method sets it as needed, if TickLabelSkipMode
is TLS_AUTOMATIC
or if you pass RESET_PROPERTIES
as the argument to doAutoLayout
.
first
- The index of the first O1-axis tick label that is skipped. This index should not be greater than the value of TickLabelSkipCount
. For example, if you set the graph to skip two labels between each displayed label, you cannot start with the fourth label (index 3).setTickLabelSkipMode(int)
, setTickLabelSkipCount(int)
, Graph.setAutoLayout(int)
, Graph.doAutoLayout(int)
public int getTickLabelSkipMode()
The doAutoLayout
method always sets this property to TLS_AUTOMATIC
. doAutoLayout(BaseGraphComponent.HONOR_PROPERTIES)
respects this property. doAutoLayout(BaseGraphComponent.RESET_PROPERTIES)
treats this property as TLS_AUTOMATIC
.
setTickLabelSkipCount(int)
, setTickLabelSkipFirst(int)
, BaseGraphComponent.TLS_AUTOMATIC
, BaseGraphComponent.TLS_MANUAL
, BaseGraphComponent.TLS_NOSKIP
, Graph.setAutoLayout(int)
, Graph.doAutoLayout(int)
public void setTickLabelSkipMode(int mode)
The doAutoLayout
method always sets this property to TLS_MANUAL
so you can adjust the related properties as needed. doAutoLayout(BaseGraphComponent.HONOR_PROPERTIES)
respects this property. doAutoLayout(BaseGraphComponent.RESET_PROPERTIES)
treats this property as TLS_AUTOMATIC
.
mode
- A constant that represents the type of skipping that is used for the O1-axis tick labels. Valid constants are listed in the See Also section. If you enter an invalid parameter value, then the graph will log an ErrorHandler
message, and will not change the TickLabelSkipMode
property.BaseGraphComponent.TLS_AUTOMATIC
, BaseGraphComponent.TLS_MANUAL
, BaseGraphComponent.TLS_NOSKIP
, Graph.setAutoLayout(int)
, Graph.doAutoLayout(int)
public boolean isTickLabelStaggered()
doAutoLayout
sets it as needed.isTickLabelStaggered
in class BaseTickLabel
true
if they are staggered, false
if they are aligned.Graph.setAutoLayout(int)
, Graph.doAutoLayout(int)
public void setTickLabelStaggered(boolean yesNo)
doAutoLayout
sets it as needed.setTickLabelStaggered
in class BaseTickLabel
yesNo
- true
to stagger them, false
to align them.Graph.setAutoLayout(int)
, Graph.doAutoLayout(int)
public boolean isTickLabelWrapped()
isWordWrapEnabled()
true
if they are wrapped onto multiple lines, false
if they are not.public void setTickLabelWrapped(boolean yesNo)
setWordWrapEnabled(boolean)
yesNo
- true
to wrap them, false
to prohibit wrapping.public boolean isWordWrapEnabled()
doAutoLayout
sets it as needed.isWordWrapEnabled
in interface WordWrapEnabled
true
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 WordWrapEnabled
yesNo
- 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 |