|
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
public abstract class BaseText
This is the base class for all graph components that display text.
Field Summary | |
---|---|
protected GraphFont |
m_font
|
Fields inherited from class oracle.dss.dataView.BaseComponentXML |
---|
m_jsfHashMap |
Constructor Summary | |
---|---|
BaseText(CommonGraph graph)
|
Method Summary | |
---|---|
protected GraphFont |
_getGraphFont()
|
DataviewFont |
getDataviewFont()
Retrieves the DataviewFont for this text component. |
java.awt.Font |
getFont()
Retrieves a Font object for this text component. |
GraphFont |
getGraphFont()
Retrieves a GraphFont object for this text component. |
boolean |
getStyleXML(boolean allProperties,
oracle.dss.util.xml.ObjectNode node)
|
boolean |
isFontSizeAbsolute()
Indicates whether the font size is absolute or proportional to the size of the graph. |
protected void |
resetStyle()
|
void |
setFont(java.awt.Font f)
Specifies a Font object for this text component. |
void |
setFontSizeAbsolute(boolean yesNo)
Specifies whether to use absolute font sizes or sizes that are proportional to the size of the graph. |
void |
setNonstyleXML(oracle.dss.util.xml.ObjectNode node)
|
void |
setStyleXML(oracle.dss.util.xml.ObjectNode node)
|
Methods inherited from class oracle.dss.dataView.BaseComponentXML |
---|
getComponentName, getNonstyleXML, 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 GraphFont m_font
Constructor Detail |
---|
public BaseText(CommonGraph graph)
Method Detail |
---|
public GraphFont getGraphFont()
GraphFont
object for this text component.
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.
GraphFont
object for the object.public DataviewFont getDataviewFont()
DataviewFont
for this text component.
This method is called by the toolbar.
getDataviewFont
in interface DataviewFontAttribute
DataviewFont
for this objectpublic void setFont(java.awt.Font f)
Font
object for this text component.
This is the awt
object with properties such as name, style,
and absolute size.
setFont
in interface FontAttribute
f
- A Font
object for this object.public java.awt.Font getFont()
Font
object for this text component.
This is the awt
object with properties such as name, style,
and absolute size.
getFont
in interface FontAttribute
Font
object for the object.public boolean isFontSizeAbsolute()
true
if the font size is absolute,
false
if the font size changes with the size of
the graph.public void setFontSizeAbsolute(boolean yesNo)
yesNo
- true
to use absolute font sizes,
false
to use font sizes that change with the
size of the graph.protected void resetStyle()
protected GraphFont _getGraphFont()
public boolean getStyleXML(boolean allProperties, oracle.dss.util.xml.ObjectNode node)
getStyleXML
in class BaseComponentXML
public void setStyleXML(oracle.dss.util.xml.ObjectNode node)
setStyleXML
in class BaseComponentXML
public void setNonstyleXML(oracle.dss.util.xml.ObjectNode node)
setNonstyleXML
in class BaseComponentXML
|
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 |