|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.9.0) E52941-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.dss.dataView.BaseComponentXML
oracle.dss.graph.BaseGraphComponent
oracle.dss.graph.BaseText
oracle.dss.graph.LegendTitle
public class LegendTitle
This is the title that appears above the legend or instead of legend.
| Field Summary | |
|---|---|
protected java.lang.String |
m_text |
| Fields inherited from class oracle.dss.graph.BaseText |
|---|
m_font |
| Fields inherited from class oracle.dss.dataView.BaseComponentXML |
|---|
m_jsfHashMap |
| Constructor Summary | |
|---|---|
LegendTitle(CommonGraph graph) |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getComponentName() |
int |
getHorizontalAlignment()Retrieves the horizontal alignment for the text within the rectangle of the title. |
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) |
java.lang.String |
getText()Retrieves the text for the legend title. |
java.lang.String |
getUnParseText()Retrieves the unparsed text for the title. |
boolean |
isVisible()Indicates whether this legend title is visible. |
void |
setHorizontalAlignment(int a)Specifies the horizontal alignment of the text within the rectangle of the title. |
void |
setNonstyleXML(oracle.dss.util.xml.ObjectNode node) |
void |
setStyleXML(oracle.dss.util.xml.ObjectNode node) |
void |
setText(java.lang.String str)Specifies the text for the legend title. |
void |
setVisible(boolean yesNo)Specifies whether this legend title is visible. |
| Methods inherited from class oracle.dss.graph.BaseText |
|---|
_getGraphFont, getDataviewFont, getFont, getGraphFont, isFontSizeAbsolute, resetStyle, setFont, setFontSizeAbsolute, truncateText |
| Methods inherited from class oracle.dss.dataView.BaseComponentXML |
|---|
getStyleXML, getXML, setNonstyleXML, setXML, setXML, setXML, setXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String m_text
| Constructor Detail |
|---|
public LegendTitle(CommonGraph graph)
graph - The graph that this object belongs to.| Method Detail |
|---|
public boolean isVisible()
true if it is visible, false if it is invisible.public void setVisible(boolean yesNo)
yesNo - true to make it visible, false to make it invisible.public void setText(java.lang.String str)
str - The text of this legend title.public java.lang.String getText()
return - The text of this legend title.public java.lang.String getUnParseText()
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 layout and doAutoLayout change the size of the rectangles for the GraphTitle, GraphSubtitle, and GraphFootnote so that they are just big enough for the text. Automatic layout and doAutoLayout then align the titles with the graph, based on the value of this property.
swing constant that represents the horozontal alignment for the text of this title.public void setHorizontalAlignment(int a)
This method has no effect on axis titles in a 3-D graph.
Automatic layout and doAutoLayout change the size of the rectangles for the GraphTitle, GraphSubtitle, and GraphFootnote so that they are just big enough for the text. Automatic layout and doAutoLayout then align the titles with the graph, based on the value of this property.
a - A Swing constant that represents the horizontal alignment for the text of the title. Valid constants are SwingConstants.LEFT, SwingConstants.CENTER, and SwingConstants.RIGHT.public void setStyleXML(oracle.dss.util.xml.ObjectNode node)
setStyleXML in class BaseText
public boolean getStyleXML(boolean allProperties,
oracle.dss.util.xml.ObjectNode node)
getStyleXML in class BaseText
public boolean getNonstyleXML(boolean allProperties,
oracle.dss.util.xml.ObjectNode node)
BaseComponentXMLgetNonstyleXML in class BaseComponentXMLpublic void setNonstyleXML(oracle.dss.util.xml.ObjectNode node)
setNonstyleXML in class BaseTextprotected java.lang.String getComponentName()
getComponentName in class BaseComponentXML
|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.9.0) E52941-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||