com.ibm.dse.gui
Class SpButtonTypeEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--com.ibm.dse.gui.SpButtonTypeEditor

public class SpButtonTypeEditor
extends java.beans.PropertyEditorSupport

The SpButtonTypeEditor class provides an editor for the type property, which is defined in the SpButton bean.


Constructor Summary
protected SpButtonTypeEditor()
          This constructor creates a SpButtonTypeEditor object.
protected SpButtonTypeEditor(java.lang.Object source)
          Constructor for use when a PropertyEditor is delegating to us.
 
Method Summary
 java.lang.String[] getTags()
          If the property value must be one of a set of known tagged values, then this method should return an array of the tag values.
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpButtonTypeEditor

protected SpButtonTypeEditor()
This constructor creates a SpButtonTypeEditor object.

SpButtonTypeEditor

protected SpButtonTypeEditor(java.lang.Object source)
Constructor for use when a PropertyEditor is delegating to us.
Parameters:
source - The source to use for any events we fire.
Method Detail

getTags

public java.lang.String[] getTags()
If the property value must be one of a set of known tagged values, then this method should return an array of the tag values. This can be used to represent (for example) enum values. If a PropertyEditor supports tags, then it should support the use of setAsText with a tag value as a way of setting the value.
Overrides:
getTags in class java.beans.PropertyEditorSupport
Returns:
The tag values for this property. May be null if this property cannot be represented as a tagged value.