|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
visad.data.netcdf.InputPathnameEditor
public abstract class InputPathnameEditor
A JavaBean property editor for input pathnames.
| Constructor Summary | |
|---|---|
InputPathnameEditor(java.lang.String filterPattern,
java.lang.String initialPathname)
Construct. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAsText()
Get the property as a text string. |
java.awt.Component |
getCustomEditor()
Return the custom editor. |
boolean |
isPaintable()
Indicate support for painting the property value. |
void |
paintValue(java.awt.Graphics graphics,
java.awt.Rectangle box)
Paint a representation of the pathname in the given box. |
void |
setAsText(java.lang.String pathname)
Set the property given a text string. |
void |
setValue(java.lang.Object value)
Set the object to be edited. |
boolean |
supportsCustomEditor()
Indicate support for a custom editor. |
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, getValue, removePropertyChangeListener, setSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputPathnameEditor(java.lang.String filterPattern,
java.lang.String initialPathname)
| Method Detail |
|---|
public boolean supportsCustomEditor()
supportsCustomEditor in interface java.beans.PropertyEditorsupportsCustomEditor in class java.beans.PropertyEditorSupportpublic boolean isPaintable()
isPaintable in interface java.beans.PropertyEditorisPaintable in class java.beans.PropertyEditorSupport
public void paintValue(java.awt.Graphics graphics,
java.awt.Rectangle box)
paintValue in interface java.beans.PropertyEditorpaintValue in class java.beans.PropertyEditorSupportpublic java.lang.String getAsText()
getAsText in interface java.beans.PropertyEditorgetAsText in class java.beans.PropertyEditorSupportpublic void setAsText(java.lang.String pathname)
setAsText in interface java.beans.PropertyEditorsetAsText in class java.beans.PropertyEditorSupportpublic java.awt.Component getCustomEditor()
getCustomEditor in interface java.beans.PropertyEditorgetCustomEditor in class java.beans.PropertyEditorSupportpublic void setValue(java.lang.Object value)
setValue in interface java.beans.PropertyEditorsetValue in class java.beans.PropertyEditorSupport
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||