|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.Control visad.AnimationSetControl
public class AnimationSetControl
AnimationSetControl is the VisAD class for sampling Animation steps.
Constructor Summary | |
---|---|
AnimationSetControl(DisplayImpl d,
AnimationControl p)
construct an AnimationSetControl for the given DisplayImpl and AnimationControl |
Method Summary | |
---|---|
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 |
Methods inherited from class visad.Control |
---|
addControlListener, animation_string, changeControl, checkTicks, clone, getDisplay, getDisplayRenderer, getInstanceNumber, incTick, nullControl, peekTicks, removeControlListener, resetTicks, setTicks, subCheckTicks, subPeekTicks, subResetTicks, subSetTicks, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnimationSetControl(DisplayImpl d, AnimationControl p)
d
- - DisplayImpl this AnimationSetControl is associated withp
- - parent AnimationControl of this AnimationSetControlMethod Detail |
---|
public Set getSet()
public int clipCurrent(int current) throws VisADException
current
- value to clip
VisADException
- if a VisAD error occurspublic double getValue(int current) throws VisADException
current
- index of current step
VisADException
- if a VisAD error occurspublic int getIndex(double value) throws VisADException
value
- - RealType value
VisADException
- if a VisAD error occurspublic void setSet(Set s) throws VisADException, RemoteException
s
- - Set of RealType values for Animation steps
VisADException
- if a VisAD error occurs
RemoteException
- 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 occurs
RemoteException
- if an RMI error occurspublic String getSaveString()
getSaveString
in class Control
public void setSaveString(String save) throws VisADException, RemoteException
setSaveString
in class Control
save
- - String representation for reconstruction
VisADException
- if a VisAD error occurs
RemoteException
- if an RMI error occurspublic void syncControl(Control rmt) throws VisADException
syncControl
in class Control
rmt
- remote Control whose state is copied
VisADException
- if a VisAD error occurspublic boolean equals(Object o)
Control
equals
in class Control
o
- - Object tested for equality with this
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |