Package org.praxislive.ide.pxr.editors
Class StringEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.praxislive.ide.properties.EditorSupport
org.praxislive.ide.pxr.editors.StringEditor
- All Implemented Interfaces:
PropertyEditor,org.openide.explorer.propertysheet.ExPropertyEditor,PraxisProperty.Editor
- Direct Known Subclasses:
ArgumentEditor
public class StringEditor
extends EditorSupport
implements org.openide.explorer.propertysheet.ExPropertyEditor
-
Field Summary
Fields inherited from interface org.openide.explorer.propertysheet.ExPropertyEditor
PROP_VALUE_VALID, PROPERTY_HELP_ID -
Constructor Summary
ConstructorsConstructorDescriptionStringEditor(PraxisProperty<?> property, org.praxislive.core.ArgumentInfo info) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachEnv(org.openide.explorer.propertysheet.PropertyEnv env) getAttribute(String key) Get attribute for the given key.String[]Array of attribute keys.String[]getTags()booleanvoidpaintValue(Graphics g, Rectangle r) voidbooleanMethods inherited from class org.praxislive.ide.properties.EditorSupport
getPraxisInitializationString, resetMethods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getValue, removePropertyChangeListener, setSource, setValueMethods 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, getJavaInitializationString, getValue, removePropertyChangeListener, setValue
-
Constructor Details
-
StringEditor
-
-
Method Details
-
getAttribute
Description copied from interface:PraxisProperty.EditorGet attribute for the given key.- Specified by:
getAttributein interfacePraxisProperty.Editor- Overrides:
getAttributein classEditorSupport- Parameters:
key- attribute key- Returns:
- attribute or null
-
getAttributeKeys
Description copied from interface:PraxisProperty.EditorArray of attribute keys.- Specified by:
getAttributeKeysin interfacePraxisProperty.Editor- Overrides:
getAttributeKeysin classEditorSupport- Returns:
- attribute keys
-
isPaintable
public boolean isPaintable()- Specified by:
isPaintablein interfacePropertyEditor- Overrides:
isPaintablein classPropertyEditorSupport
-
paintValue
- Specified by:
paintValuein interfacePropertyEditor- Overrides:
paintValuein classPropertyEditorSupport
-
getDisplayName
-
attachEnv
public void attachEnv(org.openide.explorer.propertysheet.PropertyEnv env) - Specified by:
attachEnvin interfaceorg.openide.explorer.propertysheet.ExPropertyEditor
-
supportsCustomEditor
public boolean supportsCustomEditor()- Specified by:
supportsCustomEditorin interfacePropertyEditor- Overrides:
supportsCustomEditorin classPropertyEditorSupport
-
getCustomEditor
- Specified by:
getCustomEditorin interfacePropertyEditor- Overrides:
getCustomEditorin classPropertyEditorSupport
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classEditorSupport- Throws:
IllegalArgumentException
-
getTags
- Specified by:
getTagsin interfacePropertyEditor- Overrides:
getTagsin classPropertyEditorSupport
-