|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjsynoptic.plugins.java3d.data.DataAnimator.Data
jsynoptic.plugins.java3d.data.DoubleDataAnimator.DoubleData
public static class DoubleDataAnimator.DoubleData
Field Summary | |
---|---|
protected double[] |
params
|
Fields inherited from class jsynoptic.plugins.java3d.data.DataAnimator.Data |
---|
_delegateListener, _sources |
Constructor Summary | |
---|---|
DoubleDataAnimator.DoubleData()
|
Method Summary | |
---|---|
void |
apply()
|
java.lang.Object |
clone()
|
void |
DataSourceIndexRangeChanged(DataSource ds,
long startIndex,
long lastIndex)
Called when the range of valid index changed |
void |
DataSourceValueChanged(DataSource ds,
long minIndex,
long maxIndex)
Called when at least a value changed in the data source. |
void |
dispose()
Cleanup anything that could possibly help the garbage collector. |
double |
getValue(int index)
Get value |
void |
set(double[] values,
DataSource[] d)
|
void |
setValue(int index,
double v)
Set value |
void |
updateFrom(DataAnimator.Data dataCopy)
Inverse operation from clone() Update this data from the content of another one |
Methods inherited from class jsynoptic.plugins.java3d.data.DataAnimator.Data |
---|
DataSourceInfoChanged, DataSourceOrderChanged, DataSourceReplaced, DataSourceValueRangeChanged, getDataSource, getDelegateListener, getReferences, length, notificationEnd, removeSceneGraphData, setDataSource, setDelegateListener |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected double[] params
Constructor Detail |
---|
public DoubleDataAnimator.DoubleData()
Method Detail |
---|
public double getValue(int index)
index
- = field number 0..length-1
public void setValue(int index, double v)
index
- = field number 0..length-1v
- = new value for this fieldpublic void set(double[] values, DataSource[] d)
public void apply()
public void DataSourceIndexRangeChanged(DataSource ds, long startIndex, long lastIndex)
DataSourceListener
DataSourceIndexRangeChanged
in interface DataSourceListener
DataSourceIndexRangeChanged
in class DataAnimator.Data
ds
- The data source that changedstartIndex
- The new start IndexlastIndex
- The new last indexpublic void DataSourceValueChanged(DataSource ds, long minIndex, long maxIndex)
DataSourceListener
DataSourceValueChanged
in interface DataSourceListener
DataSourceValueChanged
in class DataAnimator.Data
ds
- The data source that changedminIndex
- Lower bound of the range where values changedmaxIndex
- Higher bound of the range where values changedpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class DataAnimator.Data
java.lang.CloneNotSupportedException
public void updateFrom(DataAnimator.Data dataCopy)
DataAnimator.Data
updateFrom
in class DataAnimator.Data
public void dispose()
DataAnimator.Data
dispose
in class DataAnimator.Data
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |