Package org.praxislive.ide.properties
Class EditorSupport
java.lang.Object
java.beans.PropertyEditorSupport
org.praxislive.ide.properties.EditorSupport
- All Implemented Interfaces:
PropertyEditor,PraxisProperty.Editor
Editor support with base implementations of
PraxisProperty.Editor
methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String key) Get attribute for the given key.String[]Array of attribute keys.The initialization code as Pcl script.voidreset()Reset the editor.voidMethods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getAsText, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor
-
Constructor Details
-
EditorSupport
public EditorSupport()
-
-
Method Details
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-
getPraxisInitializationString
Description copied from interface:PraxisProperty.EditorThe initialization code as Pcl script.- Specified by:
getPraxisInitializationStringin interfacePraxisProperty.Editor- Returns:
- initialization code
-
getAttribute
Description copied from interface:PraxisProperty.EditorGet attribute for the given key.- Specified by:
getAttributein interfacePraxisProperty.Editor- Parameters:
key- attribute key- Returns:
- attribute or null
-
getAttributeKeys
Description copied from interface:PraxisProperty.EditorArray of attribute keys.- Specified by:
getAttributeKeysin interfacePraxisProperty.Editor- Returns:
- attribute keys
-
reset
public void reset()Description copied from interface:PraxisProperty.EditorReset the editor.- Specified by:
resetin interfacePraxisProperty.Editor
-