Bean Builder

com.adventnet.beans.probeans.renderer
Class ColorObject

java.lang.Object
  |
  +--com.adventnet.beans.probeans.renderer.ColorObject

public class ColorObject
extends java.lang.Object

Class ColorObject is used by the severity renderer for handling the Color properties.


Constructor Summary
ColorObject(java.awt.Color fore, java.awt.Color back)
          Creates a new ColorObject instance.
ColorObject(java.awt.Color fore, java.awt.Color back, java.awt.Color selfore, java.awt.Color selback)
          Creates a new ColorObject instance.
ColorObject(java.awt.Color fore, java.awt.Color back, java.awt.Color selfore, java.awt.Color selback, java.awt.Font f)
          Creates a new ColorObject instance.
ColorObject(java.awt.Color fore, java.awt.Color back, java.awt.Font f)
          Creates a new ColorObject instance.
 
Method Summary
 java.awt.Color getBackgroundColor()
          Return's the Background Color.
 java.awt.Color getForegroundColor()
          Return's the Foreground Color.
 java.awt.Font getObjectFont()
          Return's Font property.
 java.awt.Color getSelectionBackgroundColor()
          Return's the Selection Background Color.
 java.awt.Color getSelectionForegroundColor()
          Return's the Selection Foreground Color.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorObject

public ColorObject(java.awt.Color fore,
                   java.awt.Color back)
Creates a new ColorObject instance.
Parameters:
fore - a Color value of the Foreground color
back - a Color value of the Background color

ColorObject

public ColorObject(java.awt.Color fore,
                   java.awt.Color back,
                   java.awt.Font f)
Creates a new ColorObject instance.
Parameters:
fore - a Color value of the Foreground color
back - a Color value of the Background color
f - a Font value of the Font

ColorObject

public ColorObject(java.awt.Color fore,
                   java.awt.Color back,
                   java.awt.Color selfore,
                   java.awt.Color selback)
Creates a new ColorObject instance.
Parameters:
fore - a Color value of the Foreground color.
back - a Color value of the Background color.
selfore - a Color value of the Selection Foreground color.
selback - a Color value of the Selection Background color.

ColorObject

public ColorObject(java.awt.Color fore,
                   java.awt.Color back,
                   java.awt.Color selfore,
                   java.awt.Color selback,
                   java.awt.Font f)
Creates a new ColorObject instance.
Parameters:
fore - a Color value of the Foreground color.
back - a Color value of the Background color.
selfore - a Color value of the Selection Foreground color.
selback - a Color value of the Selection Background color.
f - a Font value of the Font.
Method Detail

getForegroundColor

public java.awt.Color getForegroundColor()
Return's the Foreground Color.
Returns:
a Color value

getBackgroundColor

public java.awt.Color getBackgroundColor()
Return's the Background Color.
Returns:
a Color value

getSelectionForegroundColor

public java.awt.Color getSelectionForegroundColor()
Return's the Selection Foreground Color.
Returns:
a Color value

getSelectionBackgroundColor

public java.awt.Color getSelectionBackgroundColor()
Return's the Selection Background Color.
Returns:
a Color value

getObjectFont

public java.awt.Font getObjectFont()
Return's Font property.
Returns:
a Font value

Bean Builder

© 2001 - 2002 AdventNet Inc. Visit us at: http://www.adventnet.com