public abstract class InputPathnameEditor extends PropertyEditorSupport
Constructor and Description |
---|
InputPathnameEditor(String filterPattern,
String initialPathname)
Construct.
|
Modifier and Type | Method and Description |
---|---|
String |
getAsText()
Get the property as a text string.
|
Component |
getCustomEditor()
Return the custom editor.
|
boolean |
isPaintable()
Indicate support for painting the property value.
|
void |
paintValue(Graphics graphics,
Rectangle box)
Paint a representation of the pathname in the given box.
|
void |
setAsText(String pathname)
Set the property given a text string.
|
void |
setValue(Object value)
Set the object to be edited.
|
boolean |
supportsCustomEditor()
Indicate support for a custom editor.
|
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, getValue, removePropertyChangeListener, setSource
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport
public boolean isPaintable()
isPaintable
in interface PropertyEditor
isPaintable
in class PropertyEditorSupport
public void paintValue(Graphics graphics, Rectangle box)
paintValue
in interface PropertyEditor
paintValue
in class PropertyEditorSupport
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public void setAsText(String pathname)
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
getCustomEditor
in class PropertyEditorSupport
public void setValue(Object value)
setValue
in interface PropertyEditor
setValue
in class PropertyEditorSupport
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.