|
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.CommonBaseTitle
public class CommonBaseTitle
Field Summary | |
---|---|
protected BaseTitleXML |
_baseTitleXML
|
protected java.util.BitSet |
_styleOverrideFlags
|
protected java.util.BitSet |
_userOverrideFlags
|
protected CommonDataview |
dataView
|
protected java.awt.Color |
m_background
|
protected oracle.dss.dataView.CommonBaseTitle.TitleState |
m_baseState
|
protected oracle.dss.dataView.CommonBaseTitle.TitleState |
m_checkpointState
|
protected static java.lang.String |
m_errorMsg
|
protected static java.lang.String |
m_errorSetFont
|
protected java.awt.Font |
m_font
|
protected java.awt.Color |
m_foreground
|
protected int |
m_hAlign
|
protected static java.lang.String |
m_method_setFont
|
protected static java.lang.String |
m_method_setText
|
protected java.lang.String |
m_text
|
protected boolean |
m_underline
|
protected boolean |
m_visible
|
Fields inherited from interface oracle.dss.dataView.BaseTitleAttributes |
---|
ATTR_BACKGROUND, ATTR_FONTBOLD, ATTR_FONTITALIC, ATTR_FONTNAME, ATTR_FONTSIZE, ATTR_FOREGROUND, ATTR_HORIZONTALALIGNMENT, ATTR_STYLE_MAXID, ATTR_UNDERLINE |
Constructor Summary | |
---|---|
CommonBaseTitle(java.lang.String t,
CommonDataview v,
int id)
|
Method Summary | |
---|---|
void |
createPropertyOverrideFlags()
|
void |
establishBaseState()
|
void |
establishCheckpointState()
|
java.awt.Color |
getBackground()
Retrieves the background color for the title. |
java.beans.BeanInfo |
getBeanInfo()
Return a BeanInfo structure representing public properties this component wants to expose in an IDE. |
java.lang.String |
getComponentName()
Retrieves the name of the title. |
java.awt.Font |
getFont()
Retrieves the font for the text. |
java.lang.String |
getFontName()
get font name |
int |
getFontSize()
get font size |
java.awt.Color |
getForeground()
Retrieves the text color for the title. |
int |
getHorizontalAlignment()
Retrieves a horizontal alignment attribute. |
int |
getID()
Retrieves the ID for the title component. |
oracle.dss.util.xml.ObjectNode |
getStateAsObjectNode(java.lang.String nodeName,
boolean isCheckpoint)
|
oracle.dss.util.xml.ObjectNode |
getStyleXML(boolean allProperties)
|
java.lang.String |
getText()
Returns the parsed text for a string that includes variables. |
java.lang.String |
getUnParseText()
Retrieves the unparsed text for the title. |
oracle.dss.util.xml.ObjectNode |
getXML(boolean allProperties)
|
protected void |
init()
ThinBean State Management Support |
protected void |
initState()
|
boolean |
isBackgroundUsed()
|
boolean |
isFontBold()
is font bold? |
boolean |
isFontItalic()
is font italic? |
boolean |
isForegroundUsed()
|
boolean |
isStyleOverrideFlag(int attrID)
|
boolean |
isUnderline()
Indicates whether the text is underlined with one line. |
boolean |
isUserOverrideFlag(int attrID)
|
boolean |
isVisible()
Indicates whether the title is visible. |
void |
resetStyle()
|
void |
resetToDefault(int reset)
|
void |
setBackground(java.awt.Color bg)
Specifies the background color for the title. |
void |
setFont(java.awt.Font f)
Specifies font for the text. |
void |
setFontBold(boolean bold)
specifies wheather the font is bold. |
void |
setFontItalic(boolean italic)
specifies wheather the font is italic. |
void |
setFontName(java.lang.String name)
specifies the font name. |
void |
setFontSize(int size)
specifies the font size. |
void |
setForeground(java.awt.Color fg)
Specifies the text color for the title. |
void |
setHorizontalAlignment(int horizontalAlignment)
Specifies a horizontal alignment attribute. |
void |
setStateAsObjectNode(oracle.dss.util.xml.ObjectNode node,
boolean isCheckpoint)
|
void |
setStyleProperty(int attrID,
java.lang.String value)
|
void |
setStyleXML(oracle.dss.util.xml.ObjectNode node,
java.lang.String version,
int reset)
|
void |
setText(java.lang.String t)
Specifies the parsed text for a string that includes variables. |
void |
setUnderline(boolean underline)
Specifies whether the text is underlined with one line. |
void |
setVisible(boolean b)
Specifies whether the title is visible. |
void |
setXML(oracle.dss.util.xml.ObjectNode node,
java.lang.String version,
int reset)
|
void |
setXML(oracle.dss.util.xml.ObjectNode node,
java.lang.String version,
int reset,
java.util.HashMap map)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected oracle.dss.dataView.CommonBaseTitle.TitleState m_baseState
protected oracle.dss.dataView.CommonBaseTitle.TitleState m_checkpointState
protected java.util.BitSet _userOverrideFlags
protected java.util.BitSet _styleOverrideFlags
protected CommonDataview dataView
protected java.lang.String m_text
protected boolean m_visible
protected java.awt.Font m_font
protected boolean m_underline
protected int m_hAlign
protected java.awt.Color m_background
protected java.awt.Color m_foreground
protected static final java.lang.String m_errorSetFont
protected static final java.lang.String m_method_setText
protected static final java.lang.String m_method_setFont
protected static final java.lang.String m_errorMsg
protected BaseTitleXML _baseTitleXML
Constructor Detail |
---|
public CommonBaseTitle(java.lang.String t, CommonDataview v, int id)
t
- The text for the title.v
- The data view that the title belongs to.Method Detail |
---|
public void setVisible(boolean b)
setVisible
in interface Titles
b
- true
to make the title visible, false
to make the title invisible.public int getID()
getID
in interface ViewComponent
public java.lang.String getComponentName()
getComponentName
in interface BaseTitleAttributes
getComponentName
in interface ViewComponent
public boolean isVisible()
isVisible
in interface Titles
true
if it is visible, false
if it is invisible.public void setText(java.lang.String t)
setText
in interface Titles
t
- The parsed text for a string that includes variables.public java.lang.String getText()
getText
in interface Titles
public java.lang.String getUnParseText()
getUnParseText
in interface Titles
TokenSubstitution
public void setFont(java.awt.Font f)
setFont
in interface FontAttribute
font
- The font for the text.public java.awt.Font getFont()
getFont
in interface FontAttribute
public int getFontSize()
public void setFontSize(int size)
size
- of the fontpublic java.lang.String getFontName()
public void setFontName(java.lang.String name)
name
- of the fontpublic boolean isFontBold()
public void setFontBold(boolean bold)
bold
- true
to set the font to bold
false
to prevent the font to be bold.public boolean isFontItalic()
public void setFontItalic(boolean italic)
italic
- true
to set the font to italic
false
to prevent the font to be italic.public void setStyleProperty(int attrID, java.lang.String value)
setStyleProperty
in interface BaseTitleAttributes
public void setUnderline(boolean underline)
setUnderline
in interface DataviewTitles
underline
- true
to underline the text with one line, false
to prevent the text from being underlined with one line.public boolean isUnderline()
isUnderline
in interface DataviewTitles
true
if the text is underlined with one line, false
if the text is not underlined with one line.public void setHorizontalAlignment(int horizontalAlignment)
setHorizontalAlignment
in interface HorizontalAlignment
horizontalAlignment
- A constant that represents a horizontal
alignment attribute.
Valid constants are SwingConstants.LEFT
,
SwingConstants.CENTER
, and
SwingConstants.RIGHT
public int getHorizontalAlignment()
getHorizontalAlignment
in interface HorizontalAlignment
SwingConstants.LEFT
,
SwingConstants.CENTER
, and
SwingConstants.RIGHT
public java.awt.Color getBackground()
getBackground
in interface DataviewTitles
public void setBackground(java.awt.Color bg)
setBackground
in interface DataviewTitles
bg
- The background color for the title.public java.awt.Color getForeground()
getForeground
in interface DataviewTitles
public void setForeground(java.awt.Color fg)
setForeground
in interface DataviewTitles
fg
- The text color for the title.public java.beans.BeanInfo getBeanInfo()
ViewComponent
getBeanInfo
in interface ViewComponent
array of BeanInfo structures
if there are any, null
if there are none.public java.lang.String toString()
toString
in class java.lang.Object
public void setXML(oracle.dss.util.xml.ObjectNode node, java.lang.String version, int reset)
setXML
in interface BaseTitleAttributes
public void setXML(oracle.dss.util.xml.ObjectNode node, java.lang.String version, int reset, java.util.HashMap map)
setXML
in interface BaseTitleAttributes
public oracle.dss.util.xml.ObjectNode getXML(boolean allProperties)
getXML
in interface BaseTitleAttributes
public void resetToDefault(int reset)
public boolean isForegroundUsed()
isForegroundUsed
in interface BaseTitleAttributes
public boolean isBackgroundUsed()
isBackgroundUsed
in interface BaseTitleAttributes
public void setStyleXML(oracle.dss.util.xml.ObjectNode node, java.lang.String version, int reset)
setStyleXML
in interface BaseTitleAttributes
public oracle.dss.util.xml.ObjectNode getStyleXML(boolean allProperties)
getStyleXML
in interface BaseTitleAttributes
public void createPropertyOverrideFlags()
public boolean isUserOverrideFlag(int attrID)
isUserOverrideFlag
in interface BaseTitleAttributes
public boolean isStyleOverrideFlag(int attrID)
isStyleOverrideFlag
in interface BaseTitleAttributes
public void resetStyle()
protected void init()
protected void initState()
public void establishBaseState()
public void establishCheckpointState()
public void setStateAsObjectNode(oracle.dss.util.xml.ObjectNode node, boolean isCheckpoint)
public oracle.dss.util.xml.ObjectNode getStateAsObjectNode(java.lang.String nodeName, boolean isCheckpoint)
|
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 |