|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.aviatrix3d.SceneGraphObject
public abstract class SceneGraphObject
The SceneGraphObject is a common superclass for all scene graph objects.
Internationalisation Resource Names
Field Summary | |
---|---|
protected boolean |
alive
Current live state of the object |
protected static java.lang.String |
LISTENER_SET_TIMING_ERR_PROP
Property defining the error message used for listener set timing |
protected NodeUpdateHandler |
updateHandler
The scene this node belongs to |
Constructor Summary | |
---|---|
SceneGraphObject()
|
Method Summary | |
---|---|
protected void |
checkForCyclicChild(SceneGraphObject parent)
Check to see if this node is the same reference as the passed node that is a parent of this node. |
protected void |
checkForCyclicParent(SceneGraphObject child)
Check to see if this node is the same reference as the passed node. |
void |
dataChanged(NodeUpdateListener l)
Notify the node that you have updates to the node that will not alter its bounds. |
protected java.lang.String |
getAppUpdateWriteTimingMessage()
Convenience method to fetch the data write change error message from the internationalisation manager. |
protected java.lang.String |
getBoundsWriteTimingMessage()
Convenience method to fetch the data write change error message from the internationalisation manager. |
protected java.lang.String |
getDataWriteTimingMessage()
Convenience method to fetch the data write change error message from the internationalisation manager. |
java.lang.Object |
getUserData()
Get the currently set user data object. |
boolean |
isLive()
Check to see whether this object is alive or not. |
protected void |
setLive(boolean state)
Notification that this object's liveness state has changed. |
protected void |
setUpdateHandler(NodeUpdateHandler handler)
Set the scenegraph update handler for this node. |
void |
setUserData(java.lang.Object data)
Set the user data to the new object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String LISTENER_SET_TIMING_ERR_PROP
protected NodeUpdateHandler updateHandler
protected boolean alive
Constructor Detail |
---|
public SceneGraphObject()
Method Detail |
---|
public void setUserData(java.lang.Object data)
data
- The new piece of data to setpublic java.lang.Object getUserData()
public boolean isLive()
protected void setLive(boolean state)
state
- true if this should be marked as live nowprotected void checkForCyclicParent(SceneGraphObject child) throws CyclicSceneGraphStructureException
child
- The reference to check against this class
CyclicSceneGraphStructureException
- Equal parent and childprotected void checkForCyclicChild(SceneGraphObject parent) throws CyclicSceneGraphStructureException
parent
- The reference to check against this class
CyclicSceneGraphStructureException
- Equal parent and childprotected void setUpdateHandler(NodeUpdateHandler handler)
handler
- The instance to use as a handlerpublic void dataChanged(NodeUpdateListener l) throws InvalidListenerSetTimingException
l
- The change requestor
InvalidListenerSetTimingException
- If called when the node is not live or
if called during one of the bounds/data changed callbacksprotected java.lang.String getDataWriteTimingMessage()
protected java.lang.String getBoundsWriteTimingMessage()
protected java.lang.String getAppUpdateWriteTimingMessage()
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |