Package org.praxislive.ide.pxr.editors
Class NumberEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.praxislive.ide.properties.EditorSupport
org.praxislive.ide.pxr.editors.NumberEditor
- All Implemented Interfaces:
PropertyEditor,org.openide.explorer.propertysheet.ExPropertyEditor,org.openide.explorer.propertysheet.InplaceEditor.Factory,org.praxislive.ide.properties.PraxisProperty.Editor
public class NumberEditor
extends org.praxislive.ide.properties.EditorSupport
implements org.openide.explorer.propertysheet.ExPropertyEditor, org.openide.explorer.propertysheet.InplaceEditor.Factory
-
Field Summary
Fields inherited from interface org.openide.explorer.propertysheet.ExPropertyEditor
PROP_VALUE_VALID, PROPERTY_HELP_ID -
Constructor Summary
ConstructorsConstructorDescriptionNumberEditor(org.praxislive.ide.properties.PraxisProperty<?> property, org.praxislive.core.ArgumentInfo info) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachEnv(org.openide.explorer.propertysheet.PropertyEnv env) getAttribute(String key) String[]org.openide.explorer.propertysheet.InplaceEditorString[]getTags()booleanvoidpaintValue(Graphics g, Rectangle box) voidbooleanMethods inherited from class org.praxislive.ide.properties.EditorSupport
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
-
NumberEditor
public NumberEditor(org.praxislive.ide.properties.PraxisProperty<?> property, org.praxislive.core.ArgumentInfo info)
-
-
Method Details
-
getAttribute
- Specified by:
getAttributein interfaceorg.praxislive.ide.properties.PraxisProperty.Editor- Overrides:
getAttributein classorg.praxislive.ide.properties.EditorSupport
-
getAttributeKeys
- Specified by:
getAttributeKeysin interfaceorg.praxislive.ide.properties.PraxisProperty.Editor- Overrides:
getAttributeKeysin classorg.praxislive.ide.properties.EditorSupport
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classorg.praxislive.ide.properties.EditorSupport- Throws:
IllegalArgumentException
-
getPraxisInitializationString
- Specified by:
getPraxisInitializationStringin interfaceorg.praxislive.ide.properties.PraxisProperty.Editor- Overrides:
getPraxisInitializationStringin classorg.praxislive.ide.properties.EditorSupport
-
getDisplayName
-
supportsCustomEditor
public boolean supportsCustomEditor()- Specified by:
supportsCustomEditorin interfacePropertyEditor- Overrides:
supportsCustomEditorin classPropertyEditorSupport
-
getCustomEditor
- Specified by:
getCustomEditorin interfacePropertyEditor- Overrides:
getCustomEditorin classPropertyEditorSupport
-
isPaintable
public boolean isPaintable()- Specified by:
isPaintablein interfacePropertyEditor- Overrides:
isPaintablein classPropertyEditorSupport
-
paintValue
- Specified by:
paintValuein interfacePropertyEditor- Overrides:
paintValuein classPropertyEditorSupport
-
attachEnv
public void attachEnv(org.openide.explorer.propertysheet.PropertyEnv env) - Specified by:
attachEnvin interfaceorg.openide.explorer.propertysheet.ExPropertyEditor
-
getInplaceEditor
public org.openide.explorer.propertysheet.InplaceEditor getInplaceEditor()- Specified by:
getInplaceEditorin interfaceorg.openide.explorer.propertysheet.InplaceEditor.Factory
-
getTags
- Specified by:
getTagsin interfacePropertyEditor- Overrides:
getTagsin classPropertyEditorSupport
-