com.ibm.dse.gui
Class DataValueInContextEditor
java.lang.Object
|
+--java.beans.PropertyEditorSupport
|
+--com.ibm.dse.gui.DataValueInContextEditor
- public class DataValueInContextEditor
- extends java.beans.PropertyEditorSupport
The DataValueInContextEditor class is an editor for the valueInContext property defined
in SpComboBox and SpList.
Field Summary |
static java.lang.String |
ID_VALUE_IN_CONTEXT
An ID_VALUE_IN_CONTEXT value means the context is updated width 'id' value
from IndexedCollection in SpComboBox or SpList |
static java.lang.String |
VALUE_VALUE_IN_CONTEXT
An VALUE_VALUE_IN_CONTEXT value means the context is updated width 'value' value
from IndexedCollection in SpComboBox or SpList |
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 tags. |
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 |
ID_VALUE_IN_CONTEXT
public static final java.lang.String ID_VALUE_IN_CONTEXT
- An ID_VALUE_IN_CONTEXT value means the context is updated width 'id' value
from IndexedCollection in SpComboBox or SpList
VALUE_VALUE_IN_CONTEXT
public static final java.lang.String VALUE_VALUE_IN_CONTEXT
- An VALUE_VALUE_IN_CONTEXT value means the context is updated width 'value' value
from IndexedCollection in SpComboBox or SpList
DataValueInContextEditor
protected DataValueInContextEditor()
- This constructor creates a DataValueInContextEditor object.
DataValueInContextEditor
protected DataValueInContextEditor(java.lang.Object source)
- This constructor creates a DataValueInContextEditor object.
- Parameters:
source
- java.lang.Object
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 tags. 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 and the use of getAsText
to identify the current 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.