|
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.O1DrillLabel
public class O1DrillLabel
Identifies the group value to which a user can drill up.
When drilling is enabled in the graph, and a hierarchical dimension is
the first dimension on the group edge, users drill down one level in the
dimension by clicking an O1TickLabel
.
When users drill down in the group edge, they can click this component to drill up to the previous level.
This component does not appear until a user drills down from an
O1TickLabel
.
O1TickLabel
,
Graph.setDrillingEnabled(boolean)
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 | |
---|---|
O1DrillLabel(CommonGraph graph)
|
Method Summary | |
---|---|
protected java.lang.String |
getComponentName()
|
java.awt.Font |
getFont()
Retrieves a Font object for this drill label. |
GraphFont |
getGraphFont()
Retrieves a GraphFont object for this drill label. |
boolean |
isWordWrapEnabled()
Indicates whether word wrap is enabled. |
boolean |
selectObject(int series,
int group)
Selects the O1DrillLabel in the graph. |
void |
setFont(java.awt.Font f)
Specifies a Font object for this drill label. |
void |
setHorizontalAlignment(int a)
Specifies the horizontal alignment of the text within the rectangle of the O1DrillLabel . |
void |
setTextRotation(int rotate)
Specifies the angle of rotation for the O1DrillLabel . |
protected void |
setTitleString(java.lang.String text)
|
void |
setVisible(boolean yesNo)
Specifies whether the drill label is visible. |
void |
setWordWrapEnabled(boolean yesNo)
Specifies whether word wrap is enabled. |
Methods inherited from class oracle.dss.graph.BaseTitle |
---|
convertTextRotationToInt, convertTextRotationToString, getHorizontalAlignment, getNonstyleXML, getStyleXML, getText, getTextRotation, getUnParseText, isVisible, resetStyle, resetToDefault, setNonstyleXML, setStyleXML, setText, setUnParseText, updateResourceBundle |
Methods inherited from class oracle.dss.graph.BaseText |
---|
_getGraphFont, getDataviewFont, isFontSizeAbsolute, setFontSizeAbsolute |
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 |
Constructor Detail |
---|
public O1DrillLabel(CommonGraph graph)
graph
- The graph that this object belongs to.Method Detail |
---|
protected java.lang.String getComponentName()
getComponentName
in class BaseComponentXML
protected void setTitleString(java.lang.String text)
setTitleString
in class BaseTitle
public boolean selectObject(int series, int group)
O1DrillLabel
in the graph.
The parameter values are irrelevent.
selectObject
in class BaseTitle
series
- Any integer.group
- Any integer.
true
if successful, false
if not.public GraphFont getGraphFont()
GraphFont
object for this drill label.
Use the GraphFont
objects to specify and retrieve font
properties such as name, color, style, and size in virtual coordinates.
Virtual coordinates make the font size relative to the size of the graph.
getGraphFont
in class BaseText
GraphFont
object for the object.public void setFont(java.awt.Font f)
Font
object for this drill label.
This is the awt
object with properties such as name, style,
and absolute size.
setFont
in interface FontAttribute
setFont
in class BaseText
f
- A Font
object for this object.public java.awt.Font getFont()
Font
object for this drill label.
This is the awt
object with properties such as name, style,
and absolute size.
getFont
in interface FontAttribute
getFont
in class BaseText
Font
object for the object.public void setVisible(boolean yesNo)
setVisible
in interface Titles
setVisible
in interface Visible
setVisible
in class BaseTitle
yesNo
- true
to make it visible, false
to make it invisible.public void setHorizontalAlignment(int a)
O1DrillLabel
.
This property is also tied to the O1TickLabel
.
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.
setHorizontalAlignment
in interface HorizontalAlignment
setHorizontalAlignment
in class BaseTitle
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 setTextRotation(int rotate)
O1DrillLabel
.
This property is also tied to the O1Title
.
setTextRotation
in class BaseTitle
rotate
- A constant that represents the angle of rotation for the
drill label.
Valid constants are listed in the See Also section.
When you pass an invalid value, the graph does not set the
TextRotation
attibute. It logs a message with the
error handler.BaseGraphComponent.TR_HORIZ
,
BaseGraphComponent.TR_HORIZ_ROTATE_90
,
BaseGraphComponent.TR_HORIZ_ROTATE_270
public boolean isWordWrapEnabled()
doAutoLayout
sets it as needed.
true
if it is enabled, false
if it is not.Graph.setAutoLayout(int)
,
Graph.doAutoLayout(int)
public void setWordWrapEnabled(boolean yesNo)
doAutoLayout
sets it as needed.
yesNo
- true
to wrap words, false
to
prohibit wrapping.Graph.setAutoLayout(int)
,
Graph.doAutoLayout(int)
|
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 |