|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dss.thin.beans.dataView.BaseTitle
The title component for a thin presentation bean.
Method Summary | |
java.awt.Color |
getBackground() Retrieves the background color for 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. |
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. |
boolean |
isFontBold() is font bold? |
boolean |
isFontItalic() is font italic? |
boolean |
isUnderline() Indicates whether the text is underlined with one line. |
boolean |
isVisible() Indicates whether the title is visible. |
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 |
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.dss.dataView.ViewComponent |
getBeanInfo, getComponentName, getID |
Method Detail |
public void setVisible(boolean b)
b
- true
to make the title visible, false
to make the title invisible.public boolean isVisible()
true
if it is visible, false
if it is invisible.public void setText(java.lang.String t)
t
- The parsed text for a string that includes variables.public java.lang.String getText()
public java.lang.String getUnParseText()
public void setFont(java.awt.Font f)
font
- The font for the text.public java.awt.Font getFont()
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 setUnderline(boolean underline)
underline
- true
to underline the text with one line, false
to prevent the text from being underlined with one line.public boolean isUnderline()
true
if the text is underlined with one line, false
if the text is not underlined with one line.public void setHorizontalAlignment(int horizontalAlignment)
horizontalAlignment
- A constant that represents a horizontal alignment attribute. Valid constants are SwingConstants.LEFT
, SwingConstants.CENTER
, and SwingConstants.RIGHT
public int getHorizontalAlignment()
SwingConstants.LEFT
, SwingConstants.CENTER
, and SwingConstants.RIGHT
public java.awt.Color getBackground()
public void setBackground(java.awt.Color bg)
bg
- The background color for the title.public java.awt.Color getForeground()
public void setForeground(java.awt.Color fg)
fg
- The text color for the title.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |