|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.Displayable
ucar.visad.display.CompositeDisplayable
ucar.visad.display.SelectorDisplayable
public abstract class SelectorDisplayable
SelectorDisplayable is an abstract class that manages a list of PropertyChangeListeners. It is used by CrossSectionSelector and others to fire events.
| Field Summary | |
|---|---|
static String |
PROPERTY_POSITION
position property |
| Fields inherited from class ucar.visad.display.CompositeDisplayable |
|---|
cnt, label |
| Fields inherited from class ucar.visad.display.Displayable |
|---|
DISPLAY, parent, SCALAR_MAP_SET |
| Constructor Summary | |
|---|---|
SelectorDisplayable()
Simple constructor |
|
SelectorDisplayable(SelectorDisplayable that)
Construct a SelectorDisplayable from another instance |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener action)
Adds a listener for data changes. |
boolean |
getAutoSize()
Get whether we are autosizing the point as we zoom and pan |
boolean |
getFiringEvent()
Get whether we are in the process of firing events |
boolean |
getOkToFireEvents()
Get whether events should be fired or not |
float |
getPointSize()
Get the point size |
protected void |
notifyListenersOfMove()
Wrapper method that around the base class firePropertyChange |
void |
removePropertyChangeListener(PropertyChangeListener action)
Removes a listener for data changes. |
void |
setAutoSize(boolean yesorno)
Set whether the marker should automatically resize as the display is zoomed. |
void |
setOkToFireEvents(boolean v)
Set whether events should be fired or not |
void |
setPointSize(float size)
Set the point size of the selector |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTY_POSITION
| Constructor Detail |
|---|
public SelectorDisplayable()
throws VisADException,
RemoteException
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public SelectorDisplayable(SelectorDisplayable that)
throws VisADException,
RemoteException
that - other instance
RemoteException - Java RMI error
VisADException - problem creating VisAD object| Method Detail |
|---|
public void setAutoSize(boolean yesorno)
throws VisADException,
RemoteException
yesorno - true to automatically resize the marker.
RemoteException - Java RMI error
VisADException - problem creating VisAD objectpublic boolean getAutoSize()
public void setPointSize(float size)
throws VisADException,
RemoteException
setPointSize in class CompositeDisplayablesize - size of the selector point
RemoteException - Java RMI error
VisADException - problem creating VisAD objectpublic float getPointSize()
public boolean getFiringEvent()
public boolean getOkToFireEvents()
public void setOkToFireEvents(boolean v)
v - true if it's okay to fire eventspublic void addPropertyChangeListener(PropertyChangeListener action)
addPropertyChangeListener in class Displayableaction - The listener for changes to the underlying
data.public void removePropertyChangeListener(PropertyChangeListener action)
removePropertyChangeListener in class Displayableaction - The listener for changes to the underlying
data.protected void notifyListenersOfMove()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||