|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjsynoptic.plugins.java3d.data.DataAnimator.Data
public static class DataAnimator.Data
Field Summary | |
---|---|
protected EndNotificationListener |
_delegateListener
|
protected DataAnimator.SourceHolder[] |
_sources
|
Constructor Summary | |
---|---|
DataAnimator.Data()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
DataSourceIndexRangeChanged(DataSource ds,
long startIndex,
long lastIndex)
Called when the range of valid index changed |
void |
DataSourceInfoChanged(DataSource ds,
DataInfo newInfo)
Called when the information about the data source changed |
void |
DataSourceOrderChanged(DataSource ds,
int newOrder)
If defined, called when the order of the source changed. |
void |
DataSourceReplaced(DataSource oldData,
DataSource newData)
Called when a data source is replaced by another one |
void |
DataSourceValueChanged(DataSource ds,
long minIndex,
long maxIndex)
Called when at least a value changed in the data source. |
void |
DataSourceValueRangeChanged(DataSource ds)
Called when the range of possible values changed, if defined. |
void |
dispose()
Cleanup anything that could possibly help the garbage collector. |
DataSource |
getDataSource(int index)
Get data source |
EndNotificationListener |
getDelegateListener()
|
java.util.ArrayList<GraphObjectReference> |
getReferences()
|
int |
length()
Get number of fields for this data |
void |
notificationEnd(java.lang.Object referer)
This callback is called after all notifications were processed. |
void |
removeSceneGraphData()
|
void |
setDataSource(int index,
DataSource d)
Set data source |
void |
setDelegateListener(EndNotificationListener delegateListener)
Setting a delegate end notification listener is quite important to avoid duplicate events. |
void |
updateFrom(DataAnimator.Data dataCopy)
Inverse operation from clone() Update this data from the content of another one |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient DataAnimator.SourceHolder[] _sources
protected transient EndNotificationListener _delegateListener
setDelegateListener
Constructor Detail |
---|
public DataAnimator.Data()
Method Detail |
---|
public java.util.ArrayList<GraphObjectReference> getReferences()
public EndNotificationListener getDelegateListener()
public void setDelegateListener(EndNotificationListener delegateListener)
delegateListener
- The delegateListener to set.public void removeSceneGraphData()
public int length()
public DataSource getDataSource(int index)
index
- = field number 0..length-1public void setDataSource(int index, DataSource d)
index
- = field number 0..length-1d
- new value for the DataSourcepublic void DataSourceIndexRangeChanged(DataSource ds, long startIndex, long lastIndex)
DataSourceListener
DataSourceIndexRangeChanged
in interface DataSourceListener
ds
- The data source that changedstartIndex
- The new start IndexlastIndex
- The new last indexpublic void DataSourceReplaced(DataSource oldData, DataSource newData)
DataSourceListener
DataSourceReplaced
in interface DataSourceListener
public void DataSourceInfoChanged(DataSource ds, DataInfo newInfo)
DataSourceListener
DataSourceInfoChanged
in interface DataSourceListener
ds
- The data source that changedpublic void DataSourceOrderChanged(DataSource ds, int newOrder)
DataSourceListener
DataSourceOrderChanged
in interface DataSourceListener
ds
- The data source that changedpublic void DataSourceValueChanged(DataSource ds, long minIndex, long maxIndex)
DataSourceListener
DataSourceValueChanged
in interface DataSourceListener
ds
- The data source that changedminIndex
- Lower bound of the range where values changedmaxIndex
- Higher bound of the range where values changedpublic void DataSourceValueRangeChanged(DataSource ds)
DataSourceListener
DataSourceValueRangeChanged
in interface DataSourceListener
ds
- The data source that changedpublic void notificationEnd(java.lang.Object referer)
EndNotificationListener
notificationEnd
in interface EndNotificationListener
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void updateFrom(DataAnimator.Data dataCopy)
public void dispose()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |