All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.eou.toolkit.gauge.bean.ColorGradientEditor

java.lang.Object
   |
   +----java.beans.PropertyEditorSupport
           |
           +----com.ibm.eou.toolkit.gauge.bean.ColorGradientEditor

public class ColorGradientEditor
extends PropertyEditorSupport
A simple property editor for a ColorGradient object which provides a simpler way of choosing the canned options available for the color gradient object.


Constructor Index

 o ColorGradientEditor()
 o ColorGradientEditor(boolean)

Method Index

 o copyright()
 o getAsText()
This method is used to find the option name for the current ColorGradient property
 o getJavaInitializationString()
Used by some builders for an intitialization code fragment.
 o getTags()
Returns the list of drop down options that the user will be able to choose from.
 o setAsText(String)
Sets the corresponding color gradient for the option that the user selected.

Constructors

 o ColorGradientEditor
 public ColorGradientEditor()
 o ColorGradientEditor
 public ColorGradientEditor(boolean allowNull)

Methods

 o copyright
 public static String copyright()
 o getTags
 public String[] getTags()
Returns the list of drop down options that the user will be able to choose from.

Overrides:
getTags in class PropertyEditorSupport
 o setAsText
 public void setAsText(String optionName) throws IllegalArgumentException
Sets the corresponding color gradient for the option that the user selected.

Overrides:
setAsText in class PropertyEditorSupport
 o getJavaInitializationString
 public String getJavaInitializationString()
Used by some builders for an intitialization code fragment.

Overrides:
getJavaInitializationString in class PropertyEditorSupport
 o getAsText
 public String getAsText()
This method is used to find the option name for the current ColorGradient property

Returns:
s The ColorGradient name from the gradientDefaults Hashtable
Overrides:
getAsText in class PropertyEditorSupport

All Packages  Class Hierarchy  This Package  Previous  Next  Index