public abstract class SelectorDisplayable extends CompositeDisplayable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_POSITION
position property
|
cnt, label
DISPLAY, parent, SCALAR_MAP_SET
Constructor and Description |
---|
SelectorDisplayable()
Simple constructor
|
SelectorDisplayable(SelectorDisplayable that)
Construct a SelectorDisplayable from another instance
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.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(java.beans.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
|
addConstantMap, addDisplayable, addListDataListener, clearDisplayables, cloneForDisplay, debug, destroy, destroyAll, displayableCount, fireListDataContentsChanged, fireListDataIntervalAdded, fireListDataIntervalRemoved, getAnimationSet, getDisplayable, indexOf, iterator, lastDisplayable, myAddDataReferences, myRemoveDataReferences, removeDisplayable, removeDisplayable, removeListDataListener, setAdjustFlow, setColor, setColorPalette, setColorUnit, setConstantPosition, setDisplay, setDisplayable, setDisplayMaster, setDisplayUnit, setLineWidth, setManipulable, setPointMode, setSelectedRange, setUseFastRendering, setUseTimesInAnimation, setVisible, setVisible, setVisible, toFront, toString
addConstantMaps, addDataReferences, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getData, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, hasDataObject, isActive, isUnitCompatible, isVisible, logException, myAddConstantMaps, removeConstantMap, removeDataReferences, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setColorPalette, setContourInfo, setDisplayActive, setDisplayInactive, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange
public static final java.lang.String PROPERTY_POSITION
public SelectorDisplayable() throws visad.VisADException, java.rmi.RemoteException
java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic SelectorDisplayable(SelectorDisplayable that) throws visad.VisADException, java.rmi.RemoteException
that
- other instancejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic void setAutoSize(boolean yesorno) throws visad.VisADException, java.rmi.RemoteException
yesorno
- true to automatically resize the marker.java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic boolean getAutoSize()
public void setPointSize(float size) throws visad.VisADException, java.rmi.RemoteException
setPointSize
in class CompositeDisplayable
size
- size of the selector pointjava.rmi.RemoteException
- Java RMI errorvisad.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(java.beans.PropertyChangeListener action)
addPropertyChangeListener
in class Displayable
action
- The listener for changes to the underlying
data.public void removePropertyChangeListener(java.beans.PropertyChangeListener action)
removePropertyChangeListener
in class Displayable
action
- The listener for changes to the underlying
data.protected void notifyListenersOfMove()