|
|||||||||
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.PropertyEditor
supportsCustomEditor
in class java.beans.PropertyEditorSupport
public boolean isPaintable()
isPaintable
in interface java.beans.PropertyEditor
isPaintable
in class java.beans.PropertyEditorSupport
public void paintValue(java.awt.Graphics graphics, java.awt.Rectangle box)
paintValue
in interface java.beans.PropertyEditor
paintValue
in class java.beans.PropertyEditorSupport
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport
public void setAsText(java.lang.String pathname)
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
public java.awt.Component getCustomEditor()
getCustomEditor
in interface java.beans.PropertyEditor
getCustomEditor
in class java.beans.PropertyEditorSupport
public void setValue(java.lang.Object value)
setValue
in interface java.beans.PropertyEditor
setValue
in class java.beans.PropertyEditorSupport
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |