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.StringgetAsText()java.lang.String[]getTags()java.lang.ObjectgetValue()voidsetAsText(java.lang.String s)voidsetChoices(java.lang.String[] choices)voidsetValue(java.lang.Object o)
-
-
-
Method Detail
-
setValue
public void setValue(java.lang.Object o)
- Specified by:
setValuein interfacejava.beans.PropertyEditor- Overrides:
setValuein classjava.beans.PropertyEditorSupport
-
getValue
public java.lang.Object getValue()
- Specified by:
getValuein interfacejava.beans.PropertyEditor- Overrides:
getValuein classjava.beans.PropertyEditorSupport
-
getTags
public java.lang.String[] getTags()
- Specified by:
getTagsin interfacejava.beans.PropertyEditor- Overrides:
getTagsin classjava.beans.PropertyEditorSupport
-
getAsText
public java.lang.String getAsText()
- Specified by:
getAsTextin interfacejava.beans.PropertyEditor- Overrides:
getAsTextin classjava.beans.PropertyEditorSupport
-
setAsText
public void setAsText(java.lang.String s)
- Specified by:
setAsTextin interfacejava.beans.PropertyEditor- Overrides:
setAsTextin classjava.beans.PropertyEditorSupport
-
setChoices
public void setChoices(java.lang.String[] choices)
-
-