| 
 | Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 | ||||||||
| 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 Titlesb - true to make the title visible, false to make the title invisible.public int getID()
getID in interface ViewComponentpublic java.lang.String getComponentName()
getComponentName in interface BaseTitleAttributesgetComponentName in interface ViewComponentpublic boolean isVisible()
isVisible in interface Titlestrue if it is visible, false if it is invisible.public void setText(java.lang.String t)
setText in interface Titlest - The parsed text for a string that includes variables.public java.lang.String getText()
getText in interface Titlespublic java.lang.String getUnParseText()
getUnParseText in interface TitlesTokenSubstitutionpublic void setFont(java.awt.Font f)
setFont in interface FontAttributefont - The font for the text.public java.awt.Font getFont()
getFont in interface FontAttributepublic 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 BaseTitleAttributespublic void setUnderline(boolean underline)
setUnderline in interface DataviewTitlesunderline - 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 DataviewTitlestrue 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 HorizontalAlignmenthorizontalAlignment - A constant that represents a horizontal
        alignment attribute.
        Valid constants are SwingConstants.LEFT,
                            SwingConstants.CENTER, and
                            SwingConstants.RIGHTpublic int getHorizontalAlignment()
getHorizontalAlignment in interface HorizontalAlignmentSwingConstants.LEFT,
                            SwingConstants.CENTER, and
                            SwingConstants.RIGHTpublic java.awt.Color getBackground()
getBackground in interface DataviewTitlespublic void setBackground(java.awt.Color bg)
setBackground in interface DataviewTitlesbg - The background color for the title.public java.awt.Color getForeground()
getForeground in interface DataviewTitlespublic void setForeground(java.awt.Color fg)
setForeground in interface DataviewTitlesfg - The text color for the title.public java.beans.BeanInfo getBeanInfo()
ViewComponent
getBeanInfo in interface ViewComponentarray 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 BaseTitleAttributespublic oracle.dss.util.xml.ObjectNode getXML(boolean allProperties)
getXML in interface BaseTitleAttributespublic void resetToDefault(int reset)
public boolean isForegroundUsed()
isForegroundUsed in interface BaseTitleAttributespublic boolean isBackgroundUsed()
isBackgroundUsed in interface BaseTitleAttributes
public void setStyleXML(oracle.dss.util.xml.ObjectNode node,
                        java.lang.String version,
                        int reset)
setStyleXML in interface BaseTitleAttributespublic oracle.dss.util.xml.ObjectNode getStyleXML(boolean allProperties)
getStyleXML in interface BaseTitleAttributespublic void createPropertyOverrideFlags()
public boolean isUserOverrideFlag(int attrID)
isUserOverrideFlag in interface BaseTitleAttributespublic boolean isStyleOverrideFlag(int attrID)
isStyleOverrideFlag in interface BaseTitleAttributespublic 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 Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||