Package noaa.coastwatch.gui.visual
Class VisualString
java.lang.Object
noaa.coastwatch.gui.visual.AbstractVisualObject
noaa.coastwatch.gui.visual.VisualString
- All Implemented Interfaces:
ComponentProducer
,VisualObject
The
VisualString
class represents a string as a text
field. When the text field is modified, the string changes value.- Since:
- 3.1.7
- Author:
- Peter Hollemans
-
Field Summary
Fields inherited from class noaa.coastwatch.gui.visual.AbstractVisualObject
VALUE_PROPERTY
-
Constructor Summary
ConstructorDescriptionVisualString
(String text) Creates a new visual string object using the specified String. -
Method Summary
Methods inherited from class noaa.coastwatch.gui.visual.AbstractVisualObject
addPropertyChangeListener, firePropertyChange, firePropertyChange, hasChooser, refreshComponent, setRestrictions, showChooser
-
Constructor Details
-
VisualString
Creates a new visual string object using the specified String.
-
-
Method Details
-
getComponent
Gets the field used to represent the string. -
getValue
Gets the string value.- Returns:
- the value that this visual object currently holds.
-
main
Tests this class.- Parameters:
argv
- the array of command line parameters.
-