|
org.netbeans.core/2 3.32 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
org.netbeans.beaninfo.editors.FileArrayEditor
public class FileArrayEditor
PropertyEditor for [java.io.File.
| Field Summary |
|---|
| Fields inherited from interface org.openide.explorer.propertysheet.ExPropertyEditor |
|---|
PROP_VALUE_VALID, PROPERTY_HELP_ID |
| Constructor Summary | |
|---|---|
FileArrayEditor()
|
|
| Method Summary | |
|---|---|
void |
attachEnv(PropertyEnv env)
This method is called by the IDE to pass the environment to the property editor. |
String |
getAsText()
Returns human readable form of the edited value. |
Component |
getCustomEditor()
Custon editor. |
String |
getJavaInitializationString()
Should create a string insertable to the newly generated source code. |
void |
propertyChange(PropertyChangeEvent e)
Property change listaner attached to the JFileChooser chooser. |
void |
setAsText(String str)
Parses the given string and should create a new instance of the edited object. |
boolean |
supportsCustomEditor()
Implements PropertyEditor method. |
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue |
| 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, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue |
| Constructor Detail |
|---|
public FileArrayEditor()
| Method Detail |
|---|
public void attachEnv(PropertyEnv env)
attachEnv in interface ExPropertyEditorenv - Environment passed by the ide.public String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupport
public void setAsText(String str)
throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportstr - string reprezentation of the file (used as a parameter for File).
IllegalArgumentException - If the given string cannot be parsedpublic Component getCustomEditor()
getCustomEditor in interface PropertyEditorgetCustomEditor in class PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorsupportsCustomEditor in class PropertyEditorSupportpublic String getJavaInitializationString()
getJavaInitializationString in interface PropertyEditorgetJavaInitializationString in class PropertyEditorSupportpublic void propertyChange(PropertyChangeEvent e)
propertyChange in interface PropertyChangeListener
|
org.netbeans.core/2 3.32 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||