Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.graph
Class X1TickLabel

oracle.dss.graph.BaseGraphComponent
  |
  +--oracle.dss.graph.BaseText
        |
        +--oracle.dss.graph.BaseTickLabel
              |
              +--oracle.dss.graph.X1TickLabel
All Implemented Interfaces:
DataviewFontAttribute, FontAttribute, HorizontalAlignment

public class X1TickLabel
extends BaseTickLabel

Identifies a tick mark on the X1-axis of the graph.


Fields inherited from class oracle.dss.graph.BaseGraphComponent
AL_BOTH, AL_LEFT, AL_RIGHT, AP_ALWAYS, AP_NEVER, AR_HORIZ_ROTATE_270, AR_HORIZ_ROTATE_90, AR_NO_ROTATE, DY2_AUTO_ASSIGN, DY2_FALSE, DY2_TRUE, FS_BOLD, FS_BOLD_ITALIC_UNDERLINE, FS_BOLD_UNDERLINE, FS_ITALIC, FS_ITALIC_BOLD, FS_ITALIC_UNDERLINE, FS_PLAIN, FS_UNDERLINE, FT_COLOR, FT_EXPONENTIAL, FT_GRADIENT, FT_LINEAR, FT_LOGARITHMIC, FT_NONE, FT_TEXTURE, GD_DIAGONAL_135, GD_DIAGONAL_45, GD_DOWN, GD_DOWN_LEFT, GD_DOWN_RIGHT, GD_LEFT, GD_RADIAL, GD_RADIAL_BOTTOM_LEFT, GD_RADIAL_BOTTOM_RIGHT, GD_RADIAL_TOP_LEFT, GD_RADIAL_TOP_RIGHT, GD_RIGHT, GD_UP, GD_UP_LEFT, GD_UP_RIGHT, GS_EXTENDED, GS_GRID, GS_IN, GS_OUT, GS_SPAN, LAP_BOTTOM, LAP_LEFT, LAP_RIGHT, LAP_TOP, LD_PERCENT, LD_TEXT, LD_TEXT_PERCENT, LD_VALUE, LEGENDMARKERSLIMIT, LO_AUTOMATIC, LO_HORIZONTAL, LO_VERTICAL, LP_INSIDE, LP_NO_LABELS, LP_OUTSIDE_WITH_FEELER, LP_OUTSIDE_WITHOUT_FEELER, LTP_ABOVE, LTP_BELOW, LTP_ON_LEFT, LTP_ON_MARKER, LTP_ON_RIGHT, MS_AUTOMATIC, MS_CIRCLE, MS_DIAMOND, MS_NONE, MS_PLUS, MS_SQUARE, MS_TRIANGLE_DOWN, MS_TRIANGLE_UP, MT_AREA, MT_BAR, MT_DEFAULT, MT_MARKER, MTP_CENTER, MTP_CUSTOM, MTP_INSIDE_MAX, MTP_INSIDE_MIN, MTP_ON_MAXEDGE, MTP_OUTSIDE_MAX, QUADRANTLINEVALUELIMIT, TDM_STRETCHED, TDM_TILED, TLS_AUTOMATIC, TLS_MANUAL, TLS_NOSKIP, TR_HORIZ, TR_HORIZ_ROTATE_270, TR_HORIZ_ROTATE_90, VF_STOCK_VOLUME, VF_X1, VF_Y1, VF_Y2, VF_Z

 

Method Summary
 boolean isTextFittingAutomatic()
          Indicates whether all of the X1-axis tick labels are automatically moved and resized relative to the size of the graph.
 boolean isTickLabelStaggered()
          Indicates whether all of the X1-axis tick labels are staggered.
 void setTextFittingAutomatic(boolean yesNo)
          Specifies whether the tick labels are automatically moved and resized relative to the size of the graph.
 void setTickLabelStaggered(boolean yesNo)
          Specifies whether all of the X1-axis tick labels are staggered.

 

Methods inherited from class oracle.dss.graph.BaseTickLabel
getHorizontalAlignment, getTextRotation, selectObject, setHorizontalAlignment, setTextRotation

 

Methods inherited from class oracle.dss.graph.BaseText
getDataviewFont, getFont, getGraphFont, isFontSizeAbsolute, setFont, setFontSizeAbsolute

 

Method Detail

isTextFittingAutomatic

public boolean isTextFittingAutomatic()
Indicates whether all of the X1-axis tick labels are automatically moved and resized relative to the size of the graph. The return value of this method takes effect only when the FontSizeAbsolute property is set to false. Automatic graph layout ignores this property.
Overrides:
isTextFittingAutomatic in class BaseTickLabel
Returns:
true if they are moved and resized, false if they are independent from the size of the graph.
See Also:
BaseText.isFontSizeAbsolute()

setTextFittingAutomatic

public void setTextFittingAutomatic(boolean yesNo)
Specifies whether the tick labels are automatically moved and resized relative to the size of the graph. For example, if the range of data on the axis is relatively small, and you do not have many tick labels, then the tick labels probably fit fine. If the range of data increases so that there are many more tick labels, then the tick labels might need to be smaller in order to remain legible. The tick label size might also need to change when a user resizes the plot area. Setting 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.

Overrides:
setTextFittingAutomatic in class BaseTickLabel
Parameters:
yesNo - true to have the tick labels automatically resized, false prevent resizing.
See Also:
BaseText.isFontSizeAbsolute(), BaseText.setFontSizeAbsolute(boolean)

isTickLabelStaggered

public boolean isTickLabelStaggered()
Indicates whether all of the X1-axis tick labels are staggered. Automatic graph layout ignores this property, and doAutoLayout sets it as needed.
Overrides:
isTickLabelStaggered in class BaseTickLabel
Returns:
true if they are staggered, false if they are aligned.
See Also:
Graph.setAutoLayout(int), Graph.doAutoLayout(int)

setTickLabelStaggered

public void setTickLabelStaggered(boolean yesNo)
Specifies whether all of the X1-axis tick labels are staggered. Automatic graph layout ignores this property, and doAutoLayout sets it as needed.
Overrides:
setTickLabelStaggered in class BaseTickLabel
Parameters:
yesNo - true to stagger the tick labels, false to align the tick labels.
See Also:
Graph.setAutoLayout(int), Graph.doAutoLayout(int)

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.