public class AnimationSetControl extends Control
| Constructor and Description |
|---|
AnimationSetControl(DisplayImpl d,
AnimationControl p)
construct an AnimationSetControl for the given DisplayImpl
and AnimationControl
|
| Modifier and Type | Method and Description |
|---|---|
int |
clipCurrent(int current) |
boolean |
equals(Object o)
Indicates whether or not this instance equals an Object
|
int |
getIndex(double value) |
String |
getSaveString() |
Set |
getSet() |
double |
getValue(int current) |
void |
setSaveString(String save)
reconstruct this AnimationSetControl using the specified save string
|
void |
setSet(Set s)
set Set of Animation value
|
void |
setSet(Set s,
boolean noChange)
set Set of Animation value
|
void |
syncControl(Control rmt)
copy the state of a remote control to this control
|
addControlListener, animation_string, changeControl, checkTicks, clone, getDisplay, getDisplayRenderer, getInstanceNumber, incTick, nullControl, peekTicks, removeControlListener, resetTicks, setTicks, subCheckTicks, subPeekTicks, subResetTicks, subSetTicks, toStringpublic AnimationSetControl(DisplayImpl d, AnimationControl p)
d - - DisplayImpl this AnimationSetControl is associated withp - - parent AnimationControl of this AnimationSetControlpublic Set getSet()
public int clipCurrent(int current)
throws VisADException
current - value to clipVisADException - if a VisAD error occurspublic double getValue(int current)
throws VisADException
current - index of current stepVisADException - if a VisAD error occurspublic int getIndex(double value)
throws VisADException
value - - RealType valueVisADException - if a VisAD error occurspublic void setSet(Set s) throws VisADException, RemoteException
s - - Set of RealType values for Animation stepsVisADException - if a VisAD error occursRemoteException - if an RMI error occurspublic void setSet(Set s, boolean noChange) throws VisADException, RemoteException
s - - Set of RealType values for Animation stepsnoChange - = true to not trigger changeControl (used by
ScalarMap.setRange())VisADException - if a VisAD error occursRemoteException - if an RMI error occurspublic String getSaveString()
getSaveString in class Controlpublic void setSaveString(String save) throws VisADException, RemoteException
setSaveString in class Controlsave - - String representation for reconstructionVisADException - if a VisAD error occursRemoteException - if an RMI error occurspublic void syncControl(Control rmt) throws VisADException
syncControl in class Controlrmt - remote Control whose state is copiedVisADException - if a VisAD error occursCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.