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


oracle.dss.gridView.gui
Class UIComponentStyle

java.lang.Object
  |
  +--oracle.dss.gridView.gui.UIComponentStyle

public class UIComponentStyle
extends java.lang.Object

A property bag for components which are part of the UIStyle object.


Field Summary
static java.lang.String COLUMN_HEADER
           
static java.lang.String DATA_BODY
           
static java.lang.String FOOTNOTE
           
static java.lang.String PAGECONTROL
           
static java.lang.String ROW_HEADER
          Component names
static java.lang.String SUBTITLE
           
static java.lang.String TITLE
           

 

Constructor Summary
UIComponentStyle(java.lang.String name, int fontSize, java.lang.String fontName, int fontStyle, java.awt.Color fontColor, java.awt.Color backgroundColor, boolean isStrikeThrough, boolean isUnderline)
          Constructor.

 

Method Summary
 java.awt.Color getBackgroundColor()
          Returns the background color of this component.
 java.awt.Color getFontColor()
          Returns the color of the font for this component.
 java.lang.String getFontName()
          Returns the name of the font for this component.
 int getFontSize()
          Returns the size of the font for this component.
 int getFontStyle()
          Returns the style of the font for this component.
 java.lang.String getName()
          Returns the name of the UIComponentStyle
 boolean isStrikeThrough()
          Returns the flag indicating whether the strikethrough style is used.
 boolean isUnderline()
          Returns the flag indicating whether the underline style is used.
 void setBackgroundColor(java.awt.Color backgroundColor)
          Sets the background color of this component.
 void setFontColor(java.awt.Color fontColor)
          Sets the color of the font for this component.
 void setFontName(java.lang.String fontName)
          Sets the name of the font for this component.
 void setFontSize(int fontSize)
          Sets the size of the font for this component.
 void setFontStyle(int fontStyle)
          Sets the style of the font for this component.
 void setName(java.lang.String name)
          Sets the name of the UIComponentStyle
 void setStrikeThrough(boolean isStrikeThrough)
          Sets the flag indicating whether the strikethrough style is used.
 void setUnderline(boolean isUnderline)
          Sets the flag indicating whether the underline style is used.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

ROW_HEADER

public static final java.lang.String ROW_HEADER
Component names

COLUMN_HEADER

public static final java.lang.String COLUMN_HEADER

DATA_BODY

public static final java.lang.String DATA_BODY

TITLE

public static final java.lang.String TITLE

SUBTITLE

public static final java.lang.String SUBTITLE

FOOTNOTE

public static final java.lang.String FOOTNOTE

PAGECONTROL

public static final java.lang.String PAGECONTROL
Constructor Detail

UIComponentStyle

public UIComponentStyle(java.lang.String name,
                        int fontSize,
                        java.lang.String fontName,
                        int fontStyle,
                        java.awt.Color fontColor,
                        java.awt.Color backgroundColor,
                        boolean isStrikeThrough,
                        boolean isUnderline)
Constructor. We require for each UIComponentStyle to have all properties specified at the construction time.
Method Detail

setName

public void setName(java.lang.String name)
Sets the name of the UIComponentStyle

getName

public java.lang.String getName()
Returns the name of the UIComponentStyle

setFontSize

public void setFontSize(int fontSize)
Sets the size of the font for this component.

getFontSize

public int getFontSize()
Returns the size of the font for this component.

setFontName

public void setFontName(java.lang.String fontName)
Sets the name of the font for this component.

getFontName

public java.lang.String getFontName()
Returns the name of the font for this component.

setFontStyle

public void setFontStyle(int fontStyle)
Sets the style of the font for this component.

getFontStyle

public int getFontStyle()
Returns the style of the font for this component.

setFontColor

public void setFontColor(java.awt.Color fontColor)
Sets the color of the font for this component.

getFontColor

public java.awt.Color getFontColor()
Returns the color of the font for this component.

setBackgroundColor

public void setBackgroundColor(java.awt.Color backgroundColor)
Sets the background color of this component.

getBackgroundColor

public java.awt.Color getBackgroundColor()
Returns the background color of this component.

setStrikeThrough

public void setStrikeThrough(boolean isStrikeThrough)
Sets the flag indicating whether the strikethrough style is used.

isStrikeThrough

public boolean isStrikeThrough()
Returns the flag indicating whether the strikethrough style is used.

setUnderline

public void setUnderline(boolean isUnderline)
Sets the flag indicating whether the underline style is used.

isUnderline

public boolean isUnderline()
Returns the flag indicating whether the underline style is used.

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


Copyright © 2003, Oracle. All Rights Reserved.