|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsyn3d.data.SceneGraphData
syn3d.data.SceneGraphFloatData
public abstract class SceneGraphFloatData
Class description ...
Nested Class Summary |
---|
Nested classes/interfaces inherited from class syn3d.data.SceneGraphData |
---|
SceneGraphData.SourceHolder |
Field Summary | |
---|---|
protected float[] |
params
|
Fields inherited from class syn3d.data.SceneGraphData |
---|
delegateListener, editable, sources |
Constructor Summary | |
---|---|
SceneGraphFloatData()
|
Method Summary | |
---|---|
void |
apply()
Apply data to the node |
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. |
float |
getValue(int index)
Get value |
void |
set(float[] values,
DataSource[] d)
|
void |
setValue(int index,
float v)
Set value |
void |
updateFrom(SceneGraphData dataCopy)
Inverse operation from clone() Update this data from the content of another one |
Methods inherited from class syn3d.data.SceneGraphData |
---|
DataSourceInfoChanged, DataSourceOrderChanged, DataSourceReplaced, DataSourceValueRangeChanged, getDataSource, getDelegateListener, init, isEditable, length, notificationEnd, removeSceneGraphData, setDataSource, setDelegateListener, setEditable |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected float[] params
Constructor Detail |
---|
public SceneGraphFloatData()
Method Detail |
---|
public float getValue(int index)
index
- = field number 0..length-1
public void setValue(int index, float v)
index
- = field number 0..length-1v
- = new value for this fieldpublic void set(float[] values, DataSource[] d)
public void apply()
SceneGraphData
apply
in class SceneGraphData
public void DataSourceIndexRangeChanged(DataSource ds, long startIndex, long lastIndex)
DataSourceListener
DataSourceIndexRangeChanged
in interface DataSourceListener
DataSourceIndexRangeChanged
in class SceneGraphData
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 SceneGraphData
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 SceneGraphData
java.lang.CloneNotSupportedException
public void updateFrom(SceneGraphData dataCopy)
SceneGraphData
updateFrom
in class SceneGraphData
public void dispose()
SceneGraphData
dispose
in class SceneGraphData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |