|
org.netbeans.core/2 3.32 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.beaninfo.editors.StringArrayEditor
public class StringArrayEditor
A property editor for array of Strings.
| Field Summary |
|---|
| Fields inherited from interface org.openide.explorer.propertysheet.ExPropertyEditor |
|---|
PROP_VALUE_VALID, PROPERTY_HELP_ID |
| Constructor Summary | |
|---|---|
StringArrayEditor()
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener propertyChangeListener)
|
void |
attachEnv(PropertyEnv env)
|
String |
getAsText()
|
Component |
getCustomEditor()
|
String |
getJavaInitializationString()
|
String[] |
getStringArray()
Used to acquire the current value from the PropertyEditor |
protected String |
getStrings(boolean quoted)
|
String[] |
getTags()
|
Object |
getValue()
|
boolean |
isPaintable()
|
void |
paintValue(Graphics g,
Rectangle rectangle)
|
void |
readFromXML(Node element)
Called to load property value from specified XML subtree. |
void |
removePropertyChangeListener(PropertyChangeListener propertyChangeListener)
|
void |
setAsText(String text)
|
void |
setStringArray(String[] value)
Used to modify the current value in the PropertyEditor |
void |
setValue(Object value)
|
Node |
storeToXML(Document doc)
Called to store current property value into XML subtree. |
boolean |
supportsCustomEditor()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringArrayEditor()
| Method Detail |
|---|
public Object getValue()
getValue in interface PropertyEditorpublic void setValue(Object value)
setValue in interface PropertyEditorpublic String[] getStringArray()
getStringArray in interface StringArrayCustomizablepublic void setStringArray(String[] value)
setStringArray in interface StringArrayCustomizablevalue - the new value of the propertyprotected final String getStrings(boolean quoted)
public String getAsText()
getAsText in interface PropertyEditorpublic void setAsText(String text)
setAsText in interface PropertyEditorpublic String getJavaInitializationString()
getJavaInitializationString in interface PropertyEditorpublic String[] getTags()
getTags in interface PropertyEditorpublic boolean isPaintable()
isPaintable in interface PropertyEditor
public void paintValue(Graphics g,
Rectangle rectangle)
paintValue in interface PropertyEditorpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorpublic Component getCustomEditor()
getCustomEditor in interface PropertyEditorpublic void addPropertyChangeListener(PropertyChangeListener propertyChangeListener)
addPropertyChangeListener in interface PropertyEditorpublic void removePropertyChangeListener(PropertyChangeListener propertyChangeListener)
removePropertyChangeListener in interface PropertyEditorpublic Node storeToXML(Document doc)
storeToXML in interface XMLPropertyEditordoc - The XML document to store the XML in - should be used for
creating nodes only
public void readFromXML(Node element)
throws IOException
readFromXML in interface XMLPropertyEditorelement - the XML DOM element representing a subtree of XML from
which the value should be loaded
IOException - thrown when the value cannot be restored from
the specified XML elementpublic void attachEnv(PropertyEnv env)
attachEnv in interface ExPropertyEditor
|
org.netbeans.core/2 3.32 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||