|
org.openide.src 1.8.31 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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 PropertyEditorgetAsText in class PropertyEditorSupportReturns 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 PropertyEditorsetAsText in class PropertyEditorSupporttext - The string to be parsed.
IllegalArgumentExceptionpublic void setValue(Object o)
setValue in interface PropertyEditorsetValue in class PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorsupportsCustomEditor in class PropertyEditorSupporttruepublic Component getCustomEditor()
getCustomEditor in interface PropertyEditorgetCustomEditor in class PropertyEditorSupportpublic void attachEnv(PropertyEnv env)
attachEnv in interface ExPropertyEditor
|
org.openide.src 1.8.31 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||