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.
-
ColorGradientEditor()
-
-
ColorGradientEditor(boolean)
-
-
copyright()
-
-
getAsText()
- This method is used to find the option name
for the current ColorGradient property
-
getJavaInitializationString()
- Used by some builders for an intitialization code fragment.
-
getTags()
- Returns the list of drop down options that the user will be
able to choose from.
-
setAsText(String)
- Sets the corresponding color gradient for the option that
the user selected.
ColorGradientEditor
public ColorGradientEditor()
ColorGradientEditor
public ColorGradientEditor(boolean allowNull)
copyright
public static String copyright()
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
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
getJavaInitializationString
public String getJavaInitializationString()
- Used by some builders for an intitialization code fragment.
- Overrides:
- getJavaInitializationString in class PropertyEditorSupport
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