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
  • Constructor Details

    • NumberEditor

      public NumberEditor(org.praxislive.ide.properties.PraxisProperty<?> property, org.praxislive.core.ArgumentInfo info)
  • Method Details

    • getAttribute

      public Object getAttribute(String key)
      Specified by:
      getAttribute in interface org.praxislive.ide.properties.PraxisProperty.Editor
      Overrides:
      getAttribute in class org.praxislive.ide.properties.EditorSupport
    • getAttributeKeys

      public String[] getAttributeKeys()
      Specified by:
      getAttributeKeys in interface org.praxislive.ide.properties.PraxisProperty.Editor
      Overrides:
      getAttributeKeys in class org.praxislive.ide.properties.EditorSupport
    • setAsText

      public void setAsText(String text) throws IllegalArgumentException
      Specified by:
      setAsText in interface PropertyEditor
      Overrides:
      setAsText in class org.praxislive.ide.properties.EditorSupport
      Throws:
      IllegalArgumentException
    • getPraxisInitializationString

      public String getPraxisInitializationString()
      Specified by:
      getPraxisInitializationString in interface org.praxislive.ide.properties.PraxisProperty.Editor
      Overrides:
      getPraxisInitializationString in class org.praxislive.ide.properties.EditorSupport
    • getDisplayName

      public String getDisplayName()
    • supportsCustomEditor

      public boolean supportsCustomEditor()
      Specified by:
      supportsCustomEditor in interface PropertyEditor
      Overrides:
      supportsCustomEditor in class PropertyEditorSupport
    • getCustomEditor

      public Component getCustomEditor()
      Specified by:
      getCustomEditor in interface PropertyEditor
      Overrides:
      getCustomEditor in class PropertyEditorSupport
    • isPaintable

      public boolean isPaintable()
      Specified by:
      isPaintable in interface PropertyEditor
      Overrides:
      isPaintable in class PropertyEditorSupport
    • paintValue

      public void paintValue(Graphics g, Rectangle box)
      Specified by:
      paintValue in interface PropertyEditor
      Overrides:
      paintValue in class PropertyEditorSupport
    • attachEnv

      public void attachEnv(org.openide.explorer.propertysheet.PropertyEnv env)
      Specified by:
      attachEnv in interface org.openide.explorer.propertysheet.ExPropertyEditor
    • getInplaceEditor

      public org.openide.explorer.propertysheet.InplaceEditor getInplaceEditor()
      Specified by:
      getInplaceEditor in interface org.openide.explorer.propertysheet.InplaceEditor.Factory
    • getTags

      public String[] getTags()
      Specified by:
      getTags in interface PropertyEditor
      Overrides:
      getTags in class PropertyEditorSupport