|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.beans.PropertyEditorSupport
oracle.ide.propertyeditors.DirectoryEditor
The DirectoryEditor class provides PropertyEditor support for properties that represent a directory on the file system. DirectoryEditor instances provide a custom editor for changing this directory value.
Constructor Summary | |
DirectoryEditor()
|
Method Summary | |
java.awt.Component |
getCustomEditor()
A PropertyEditor may chose to make available a full custom Component that edits its property value. |
java.lang.String |
getJavaInitializationString()
This method is intended for use when generating Java code to set the value of the property. |
java.lang.Object |
getValue()
Gets the value of the property. |
boolean |
supportsCustomEditor()
Determines whether the propertyEditor can provide a custom editor. |
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, getTags, isPaintable, paintValue, removePropertyChangeListener, setAsText, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DirectoryEditor()
Method Detail |
public java.awt.Component getCustomEditor()
The higher-level code that calls getCustomEditor may either embed the Component in some larger property sheet, or it may put it in its own individual dialog, or ...
public boolean supportsCustomEditor()
public java.lang.Object getValue()
public java.lang.String getJavaInitializationString()
Example results are "2", "new Color(127,127,34)", "Color.orange", etc.
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.