Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.thin.beans.dataView
Class BaseTitle

java.lang.Object
  |
  +--oracle.dss.thin.beans.dataView.BaseTitle
All Implemented Interfaces:
ViewComponent
Direct Known Subclasses:
Footnote, Subtitle, Title

public abstract class BaseTitle
extends java.lang.Object
implements ViewComponent

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

setVisible

public void setVisible(boolean b)
Specifies whether the title is visible.
Parameters:
b - true to make the title visible, false to make the title invisible.

isVisible

public boolean isVisible()
Indicates whether the title is visible.
Returns:
true if it is visible, false if it is invisible.

setText

public void setText(java.lang.String t)
Specifies the parsed text for a string that includes variables.
Parameters:
t - The parsed text for a string that includes variables.

getText

public java.lang.String getText()
Returns the parsed text for a string that includes variables.
Returns:
The parsed text for a string that includes variables.

getUnParseText

public java.lang.String getUnParseText()
Retrieves the unparsed text for the title. Unparsed text is text with variable names instead of variable definitions.
Returns:
The unparsed text for the title.

setFont

public void setFont(java.awt.Font f)
Specifies font for the text.
Parameters:
font - The font for the text.

getFont

public java.awt.Font getFont()
Retrieves the font for the text.
Returns:
The font for the text.

getFontSize

public int getFontSize()
get font size

setFontSize

public void setFontSize(int size)
specifies the font size.
Parameters:
size - of the font

getFontName

public java.lang.String getFontName()
get font name

setFontName

public void setFontName(java.lang.String name)
specifies the font name.
Parameters:
name - of the font

isFontBold

public boolean isFontBold()
is font bold?

setFontBold

public void setFontBold(boolean bold)
specifies wheather the font is bold.
Parameters:
bold - true to set the font to bold false to prevent the font to be bold.

isFontItalic

public boolean isFontItalic()
is font italic?

setFontItalic

public void setFontItalic(boolean italic)
specifies wheather the font is italic.
Parameters:
italic - true to set the font to italic false to prevent the font to be italic.

setUnderline

public void setUnderline(boolean underline)
Specifies whether the text is underlined with one line.
Parameters:
underline - true to underline the text with one line, false to prevent the text from being underlined with one line.

isUnderline

public boolean isUnderline()
Indicates whether the text is underlined with one line.
Returns:
true if the text is underlined with one line, false if the text is not underlined with one line.

setHorizontalAlignment

public void setHorizontalAlignment(int horizontalAlignment)
Specifies a horizontal alignment attribute.
Parameters:
horizontalAlignment - A constant that represents a horizontal alignment attribute. Valid constants are SwingConstants.LEFT, SwingConstants.CENTER, and SwingConstants.RIGHT

getHorizontalAlignment

public int getHorizontalAlignment()
Retrieves a horizontal alignment attribute.
Returns:
A constant that represents a horizontal alignment attribute. Valid constants are SwingConstants.LEFT, SwingConstants.CENTER, and SwingConstants.RIGHT

getBackground

public java.awt.Color getBackground()
Retrieves the background color for the title.
Returns:
The background color for the title.

setBackground

public void setBackground(java.awt.Color bg)
Specifies the background color for the title.
Parameters:
bg - The background color for the title.

getForeground

public java.awt.Color getForeground()
Retrieves the text color for the title.
Returns:
The text color for the title.

setForeground

public void setForeground(java.awt.Color fg)
Specifies the text color for the title.
Parameters:
fg - The text color for the title.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.