Package org.praxislive.ide.pxr.editors
Class ArrayEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.praxislive.ide.properties.EditorSupport
org.praxislive.ide.pxr.editors.ArrayEditor
- All Implemented Interfaces:
PropertyEditor,org.openide.explorer.propertysheet.ExPropertyEditor,PraxisProperty.Editor,PraxisProperty.SubCommandEditor
public class ArrayEditor
extends EditorSupport
implements PraxisProperty.SubCommandEditor, org.openide.explorer.propertysheet.ExPropertyEditor
-
Field Summary
Fields inherited from interface org.openide.explorer.propertysheet.ExPropertyEditor
PROP_VALUE_VALID, PROPERTY_HELP_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachEnv(org.openide.explorer.propertysheet.PropertyEnv env) The initialization code as Pcl script.String[]The Pcl commands that this editor supports.voidvoidsetFromCommand(String command) Set from the provided snippet (command and arguments) of Pcl script.voidbooleanMethods inherited from class org.praxislive.ide.properties.EditorSupport
getAttribute, getAttributeKeys, resetMethods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.praxislive.ide.properties.PraxisProperty.Editor
getAttribute, getAttributeKeys, resetMethods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener
-
Constructor Details
-
ArrayEditor
public ArrayEditor()
-
-
Method Details
-
setValue
- Specified by:
setValuein interfacePropertyEditor- Overrides:
setValuein classPropertyEditorSupport
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classEditorSupport- Throws:
IllegalArgumentException
-
getAsText
- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport
-
getDisplayName
-
setFromCommand
Description copied from interface:PraxisProperty.SubCommandEditorSet from the provided snippet (command and arguments) of Pcl script.- Specified by:
setFromCommandin interfacePraxisProperty.SubCommandEditor- Parameters:
command- line of Pcl script- Throws:
Exception
-
getSupportedCommands
Description copied from interface:PraxisProperty.SubCommandEditorThe Pcl commands that this editor supports.- Specified by:
getSupportedCommandsin interfacePraxisProperty.SubCommandEditor- Returns:
- supported commands
-
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
-
getPraxisInitializationString
Description copied from interface:PraxisProperty.EditorThe initialization code as Pcl script.- Specified by:
getPraxisInitializationStringin interfacePraxisProperty.Editor- Overrides:
getPraxisInitializationStringin classEditorSupport- Returns:
- initialization code
-