|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
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.BaseTitle
oracle.dss.graph.BaseGraphTitle
public abstract class BaseGraphTitle
The abstract base class for the GraphTitle
,
GraphSubtitle
, and GraphFootnote
.
Field Summary |
---|
Fields inherited from class oracle.dss.graph.BaseTitle |
---|
m_text, rBundle, text, visible |
Fields inherited from class oracle.dss.graph.BaseText |
---|
m_font |
Fields inherited from class oracle.dss.dataView.BaseComponentXML |
---|
m_jsfHashMap |
Constructor Summary | |
---|---|
BaseGraphTitle(CommonGraph graph)
|
Method Summary | |
---|---|
java.awt.Rectangle |
getRect()
Retrieves the location for the rectangle for this title. |
boolean |
getStyleXML(boolean allProperties,
oracle.dss.util.xml.ObjectNode node)
|
int |
getVerticalAlignment()
Retrieves the vertical alignment of the text within the rectangle of this title. |
void |
resetStyle()
|
void |
setRect(java.awt.Rectangle loc)
Specifies location for the rectangle of this title. |
void |
setStyleXML(oracle.dss.util.xml.ObjectNode node)
|
void |
setVerticalAlignment(int a)
Specifies the vertical alignment of the text within the rectangle of this title. |
Methods inherited from class oracle.dss.graph.BaseTitle |
---|
convertTextRotationToInt, convertTextRotationToString, getHorizontalAlignment, getNonstyleXML, getText, getTextRotation, getUnParseText, isVisible, resetToDefault, selectObject, setHorizontalAlignment, setNonstyleXML, setText, setTextRotation, setTitleString, setUnParseText, setVisible, updateResourceBundle |
Methods inherited from class oracle.dss.graph.BaseText |
---|
_getGraphFont, getDataviewFont, getFont, getGraphFont, isFontSizeAbsolute, setFont, setFontSizeAbsolute |
Methods inherited from class oracle.dss.dataView.BaseComponentXML |
---|
getComponentName, 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 |
Methods inherited from interface oracle.dss.dataView.FontAttribute |
---|
getFont, setFont |
Constructor Detail |
---|
public BaseGraphTitle(CommonGraph graph)
graph
- The graph that this title belongs to.Method Detail |
---|
public int getVerticalAlignment()
swing
constants are SwingConstants.TOP
,
SwingConstants.CENTER
, and SwingConstants.BOTTOM
.
When the text has been rotated to a vertical position, the vertical
alignment attributes appear to move the text left and right, rather than
up and down.
getVerticalAlignment
in interface VerticalAlignment
swing
constant that represents the vertical
alignment of the text within the rectangle of this title.public void setVerticalAlignment(int a)
swing
constants are SwingConstants.TOP
,
SwingConstants.CENTER
, and SwingConstants.BOTTOM
.
When the text has been rotated to a vertical position, the vertical
alignment attributes appear to move the text left and right, rather than
up and down.
setVerticalAlignment
in interface VerticalAlignment
a
- A swing
constant that represents the vertical
alignment of the text within the rectangle of this title.public java.awt.Rectangle getRect()
In the virtual-coordinate system, the center of the graph is 0,0. The upper left corner is -16000, +16000. The lower right corner is +16000, -16000. A component that is the full size of the graph has a width of 32000 and a height of 32000.
Automatic graph layout ignores this property.
The doAutoLayout
method sets the rectangle so that it is
just large enough to contain the text.
getRect
in interface Rect
Graph.setAutoLayout(int)
,
Graph.doAutoLayout(int)
public void setRect(java.awt.Rectangle loc)
In the virtual-coordinate system, the center of the graph is 0,0. The upper left corner is -16000, +16000. The lower right corner is +16000, -16000. A component that is the full size of the graph has a width of 32000 and a height of 32000.
Automatic graph layout ignores this property.
The doAutoLayout
method sets the rectangle so that it is
just large enough to contain the text.
setRect
in interface Rect
loc
- The location for the rectangle of this legend area.Graph.setAutoLayout(int)
,
Graph.doAutoLayout(int)
public void resetStyle()
resetStyle
in class BaseTitle
public void setStyleXML(oracle.dss.util.xml.ObjectNode node)
setStyleXML
in class BaseTitle
public boolean getStyleXML(boolean allProperties, oracle.dss.util.xml.ObjectNode node)
getStyleXML
in class BaseTitle
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |