All Packages Class Hierarchy This Package Previous Next Index
Class COM.ibm.beans.charting.ChartTypeEditor
java.lang.Object
|
+----java.beans.PropertyEditorSupport
|
+----COM.ibm.beans.charting.ChartTypeEditor
- public class ChartTypeEditor
- extends PropertyEditorSupport
Property editor for a ChartType enumerated property type.
It maintains the state of the property using a ChartType object.
-
ChartTypeEditor()
-
-
getAsText()
- Returns as a string, the currently selected value for this ChartType property.
-
getJavaInitializationString()
- Returns the default initilaization string for an object of the type, ChartType.
-
getTags()
- Returns the set of valid and known tags for a ChartType enumeration.
-
getValue()
- Returns the currently selected value.
-
setAsText(String)
- Set the (currently selected) value of the ChartType property to the
one specified.
-
setValue(Object)
- Save the current selection state of this ChartType to the one specified.
ChartTypeEditor
public ChartTypeEditor()
setAsText
public void setAsText(String text) throws IllegalArgumentException
- Set the (currently selected) value of the ChartType property to the
one specified.
- Parameters:
- text - the string that specifies the value that the ChartType property
should be set to.
- Overrides:
- setAsText in class PropertyEditorSupport
getTags
public String[] getTags()
- Returns the set of valid and known tags for a ChartType enumeration.
- Overrides:
- getTags in class PropertyEditorSupport
getAsText
public String getAsText()
- Returns as a string, the currently selected value for this ChartType property.
- Overrides:
- getAsText in class PropertyEditorSupport
getValue
public Object getValue()
- Returns the currently selected value.
- Overrides:
- getValue in class PropertyEditorSupport
setValue
public void setValue(Object value)
- Save the current selection state of this ChartType to the one specified.
- Parameters:
- value - is the value that this ChartType property should be set to
- Overrides:
- setValue in class PropertyEditorSupport
getJavaInitializationString
public String getJavaInitializationString()
- Returns the default initilaization string for an object of the type, ChartType.
- Overrides:
- getJavaInitializationString in class PropertyEditorSupport
All Packages Class Hierarchy This Package Previous Next Index