| 
 | Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.dss.dataView.BaseComponentXML
oracle.dss.graph.BaseGraphComponent
oracle.dss.graph.BaseText
oracle.dss.graph.BaseTickLabel
public abstract class BaseTickLabel
Identifies a tick mark on an axis of the graph.
TickLabelCallback| Field Summary | 
|---|
| Fields inherited from class oracle.dss.graph.BaseText | 
|---|
| m_font | 
| Fields inherited from class oracle.dss.dataView.BaseComponentXML | 
|---|
| m_jsfHashMap | 
| Constructor Summary | |
|---|---|
| BaseTickLabel(CommonGraph graph) | |
| Method Summary | |
|---|---|
|  int | getHorizontalAlignment()Retrieves the horizontal alignment for the text within the rectangle of the tick label. | 
|  boolean | getNonstyleXML(boolean allProperties,
               oracle.dss.util.xml.ObjectNode node)Retrieves Non style properties of this component to XML returns whether if the node exists | 
|  boolean | getStyleXML(boolean allProperties,
            oracle.dss.util.xml.ObjectNode node) | 
|  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 | isVisible()Indicates whether the tick labels are visible. | 
|  void | resetStyle() | 
|  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 | setNonstyleXML(oracle.dss.util.xml.ObjectNode node) | 
|  void | setStyleXML(oracle.dss.util.xml.ObjectNode node) | 
|  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. | 
|  void | setVisible(boolean yesNo)Specifies whether the tick labels are visible. | 
|  void | setXML(oracle.dss.util.xml.ObjectNode node) | 
| Methods inherited from class oracle.dss.graph.BaseText | 
|---|
| _getGraphFont, getDataviewFont, getFont, getGraphFont, isFontSizeAbsolute, setFont, setFontSizeAbsolute, truncateText | 
| Methods inherited from class oracle.dss.dataView.BaseComponentXML | 
|---|
| getComponentName, getStyleXML, getXML, setNonstyleXML, setXML, setXML, setXML | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public BaseTickLabel(CommonGraph graph)
graph - The Graph that this object belongs to.| Method Detail | 
|---|
public boolean selectObject(int series,
                            int group)
selectObject in class BaseGraphComponentseries - 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 HorizontalAlignmentSwingConstant 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 HorizontalAlignmenta - 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.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)public boolean isVisible()
true if they are visible, false if they are
 invisible.public void setVisible(boolean yesNo)
yesNo - true to make them visible, false
 to make them invisible.public void setXML(oracle.dss.util.xml.ObjectNode node)
setXML in class BaseComponentXML
public boolean getNonstyleXML(boolean allProperties,
                              oracle.dss.util.xml.ObjectNode node)
BaseComponentXML
getNonstyleXML in class BaseComponentXML
public boolean getStyleXML(boolean allProperties,
                           oracle.dss.util.xml.ObjectNode node)
getStyleXML in class BaseTextpublic void setNonstyleXML(oracle.dss.util.xml.ObjectNode node)
setNonstyleXML in class BaseTextpublic void setStyleXML(oracle.dss.util.xml.ObjectNode node)
setStyleXML in class BaseTextpublic void resetStyle()
resetStyle in class BaseText| 
 | Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||