|
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.BaseTitle | +--oracle.dss.graph.GraphBaseTitle | +--oracle.dss.graph.BaseGraphTitle
The abstract base class for the GraphTitle
, GraphSubtitle
, and GraphFootnote
.
Method Summary | |
java.awt.Rectangle |
getRect() Retrieves the location for the rectangle for this title. |
int |
getVerticalAlignment() Retrieves the vertical alignment of the text within the rectangle of this title. |
void |
setRect(java.awt.Rectangle loc) Specifies location for the rectangle of this title. |
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 |
getHorizontalAlignment, getText, getTextRotation, getUnParseText, isVisible, selectObject, setHorizontalAlignment, setText, setTextRotation, setVisible |
Methods inherited from class oracle.dss.graph.BaseText |
getDataviewFont, getFont, getGraphFont, isFontSizeAbsolute, setFont, setFontSizeAbsolute |
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)
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |