visad.data.netcdf
Class InputPathnameEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- visad.data.netcdf.InputPathnameEditor
-
- All Implemented Interfaces:
- java.beans.PropertyEditor
- Direct Known Subclasses:
- InputNetcdfPathnameEditor
public abstract class InputPathnameEditor extends java.beans.PropertyEditorSupportA JavaBean property editor for input pathnames.
-
-
Constructor Summary
Constructors Constructor and Description InputPathnameEditor(java.lang.String filterPattern, java.lang.String initialPathname)Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetAsText()Get the property as a text string.java.awt.ComponentgetCustomEditor()Return the custom editor.booleanisPaintable()Indicate support for painting the property value.voidpaintValue(java.awt.Graphics graphics, java.awt.Rectangle box)Paint a representation of the pathname in the given box.voidsetAsText(java.lang.String pathname)Set the property given a text string.voidsetValue(java.lang.Object value)Set the object to be edited.booleansupportsCustomEditor()Indicate support for a custom editor.
-
-
-
Constructor Detail
-
InputPathnameEditor
public InputPathnameEditor(java.lang.String filterPattern, java.lang.String initialPathname)Construct.
-
-
Method Detail
-
supportsCustomEditor
public boolean supportsCustomEditor()
Indicate support for a custom editor.- Specified by:
supportsCustomEditorin interfacejava.beans.PropertyEditor- Overrides:
supportsCustomEditorin classjava.beans.PropertyEditorSupport
-
isPaintable
public boolean isPaintable()
Indicate support for painting the property value.- Specified by:
isPaintablein interfacejava.beans.PropertyEditor- Overrides:
isPaintablein classjava.beans.PropertyEditorSupport
-
paintValue
public void paintValue(java.awt.Graphics graphics, java.awt.Rectangle box)Paint a representation of the pathname in the given box.- Specified by:
paintValuein interfacejava.beans.PropertyEditor- Overrides:
paintValuein classjava.beans.PropertyEditorSupport
-
getAsText
public java.lang.String getAsText()
Get the property as a text string.- Specified by:
getAsTextin interfacejava.beans.PropertyEditor- Overrides:
getAsTextin classjava.beans.PropertyEditorSupport
-
setAsText
public void setAsText(java.lang.String pathname)
Set the property given a text string.- Specified by:
setAsTextin interfacejava.beans.PropertyEditor- Overrides:
setAsTextin classjava.beans.PropertyEditorSupport
-
getCustomEditor
public java.awt.Component getCustomEditor()
Return the custom editor.- Specified by:
getCustomEditorin interfacejava.beans.PropertyEditor- Overrides:
getCustomEditorin classjava.beans.PropertyEditorSupport
-
setValue
public void setValue(java.lang.Object value)
Set the object to be edited.- Specified by:
setValuein interfacejava.beans.PropertyEditor- Overrides:
setValuein classjava.beans.PropertyEditorSupport
-
-
DMelt 3.0 © DataMelt by jWork.ORG