public class VisualOverlay extends AbstractVisualObject
VisualOverlay
class represents an
EarthDataOverlay
object as a panel with modification
components.EarthDataOverlay
VALUE_PROPERTY
Constructor and Description |
---|
VisualOverlay(EarthDataOverlay overlay)
Creates a new visual overlay object using the specified
overlay.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getComponent()
Gets the panel used to represent the overlay.
|
java.lang.Object |
getValue()
Gets the overlay value.
|
boolean |
hasChooser()
Returns true as this visual object has a chooser.
|
static void |
main(java.lang.String[] argv)
Tests this class.
|
void |
refreshComponent()
Refreshes the component display to show the contents of the
current overlay.
|
void |
showChooser()
Shows the overlay property chooser.
|
addPropertyChangeListener, firePropertyChange, firePropertyChange, setRestrictions
public VisualOverlay(EarthDataOverlay overlay)
public java.awt.Component getComponent()
public java.lang.Object getValue()
public boolean hasChooser()
hasChooser
in interface VisualObject
hasChooser
in class AbstractVisualObject
public void showChooser()
showChooser
in interface VisualObject
showChooser
in class AbstractVisualObject
public void refreshComponent()
refreshComponent
in interface ComponentProducer
refreshComponent
in class AbstractVisualObject
public static void main(java.lang.String[] argv)
argv
- the array of command line parameters.