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


oracle.dss.graph
Class BaseGraphTitle

oracle.dss.graph.BaseGraphComponent
  |
  +--oracle.dss.graph.BaseText
        |
        +--oracle.dss.graph.BaseTitle
              |
              +--oracle.dss.graph.GraphBaseTitle
                    |
                    +--oracle.dss.graph.BaseGraphTitle
All Implemented Interfaces:
DataviewFontAttribute, FontAttribute, Rect, VerticalAlignment, Visible
Direct Known Subclasses:
GraphFootnote, GraphSubtitle, GraphTitle

public abstract class BaseGraphTitle
extends GraphBaseTitle
implements VerticalAlignment, Rect

The abstract base class for the GraphTitle, GraphSubtitle, and GraphFootnote.


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
 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

getVerticalAlignment

public int getVerticalAlignment()
Retrieves the vertical alignment of the text within the rectangle of this title. The 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.
Specified by:
getVerticalAlignment in interface VerticalAlignment
Returns:
A swing constant that represents the vertical alignment of the text within the rectangle of this title.

setVerticalAlignment

public void setVerticalAlignment(int a)
Specifies the vertical alignment of the text within the rectangle of this title. The 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.
Specified by:
setVerticalAlignment in interface VerticalAlignment
Parameters:
a - A swing constant that represents the vertical alignment of the text within the rectangle of this title.

getRect

public java.awt.Rectangle getRect()
Retrieves the location for the rectangle for this title. The rectangle defines the size and location of the title in virtual coordinates. The virtual-coordinate system keeps components in proportion to the graph when the graph changes size.

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.

Specified by:
getRect in interface Rect
Returns:
The location for the rectangle for this title.
See Also:
Graph.setAutoLayout(int), Graph.doAutoLayout(int)

setRect

public void setRect(java.awt.Rectangle loc)
Specifies location for the rectangle of this title. The rectangle defines the size and location of the legend area in virtual coordinates. The virtual-coordinate system keeps components in proportion to the graph when the graph changes size.

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.

Specified by:
setRect in interface Rect
Parameters:
loc - The location for the rectangle of this legend area.
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.