|
org.openide.src 1.8.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.PropertyEditorSupport org.openide.explorer.propertysheet.editors.MethodParameterArrayEditor
public class MethodParameterArrayEditor
Property editor for array of org.openide.src.MethodParameter classes
Field Summary |
---|
Fields inherited from interface org.openide.explorer.propertysheet.ExPropertyEditor |
---|
PROP_VALUE_VALID, PROPERTY_HELP_ID |
Constructor Summary | |
---|---|
MethodParameterArrayEditor()
|
Method Summary | |
---|---|
void |
attachEnv(PropertyEnv env)
This method is called by the IDE to pass the environment to the property editor. |
String |
getAsText()
|
Component |
getCustomEditor()
Create new panel for this property editor. |
void |
setAsText(String text)
Set the property value by parsing a given String. |
void |
setValue(Object o)
Sets the value |
boolean |
supportsCustomEditor()
|
Methods inherited from class java.beans.PropertyEditorSupport |
---|
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.beans.PropertyEditor |
---|
addPropertyChangeListener, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener |
Constructor Detail |
---|
public MethodParameterArrayEditor()
Method Detail |
---|
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
Returns null if the value can't be expressed as an editable string.
If a non-null value is returned, then the PropertyEditor should be prepared to parse that string back in setAsText().
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
text
- The string to be parsed.
IllegalArgumentException
public void setValue(Object o)
setValue
in interface PropertyEditor
setValue
in class PropertyEditorSupport
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport
true
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
getCustomEditor
in class PropertyEditorSupport
public void attachEnv(PropertyEnv env)
attachEnv
in interface ExPropertyEditor
|
org.openide.src 1.8.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |