Package docking.options.editor
Class StringWithChoicesEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- docking.options.editor.StringWithChoicesEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
public class StringWithChoicesEditor extends java.beans.PropertyEditorSupport
-
-
Constructor Summary
Constructors Constructor Description StringWithChoicesEditor(java.lang.String[] choices)
StringWithChoicesEditor(java.util.List<java.lang.String> choices)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAsText()
java.lang.String[]
getTags()
java.lang.Object
getValue()
void
setAsText(java.lang.String s)
void
setChoices(java.lang.String[] choices)
void
setValue(java.lang.Object o)
-
-
-
Method Detail
-
setValue
public void setValue(java.lang.Object o)
- Specified by:
setValue
in interfacejava.beans.PropertyEditor
- Overrides:
setValue
in classjava.beans.PropertyEditorSupport
-
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interfacejava.beans.PropertyEditor
- Overrides:
getValue
in classjava.beans.PropertyEditorSupport
-
getTags
public java.lang.String[] getTags()
- Specified by:
getTags
in interfacejava.beans.PropertyEditor
- Overrides:
getTags
in classjava.beans.PropertyEditorSupport
-
getAsText
public java.lang.String getAsText()
- Specified by:
getAsText
in interfacejava.beans.PropertyEditor
- Overrides:
getAsText
in classjava.beans.PropertyEditorSupport
-
setAsText
public void setAsText(java.lang.String s)
- Specified by:
setAsText
in interfacejava.beans.PropertyEditor
- Overrides:
setAsText
in classjava.beans.PropertyEditorSupport
-
setChoices
public void setChoices(java.lang.String[] choices)
-
-