|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject camera3d.event.VcEvent camera3d.event.SceneObjectsChangedEvent
Event fired when a change is made to list of objects present in the scene graph.
Field Summary | |
static int |
OBJECT_ADDED
Signals that the event was fired by the addition of one object to the scene. |
static int |
OBJECT_REMOVED
Signals that the event was fired by the removal of one object from the scene. |
static int |
UNKNOWN_TYPE
Signals that the action which fired the event is of unknown type. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
SceneObjectsChangedEvent(java.lang.Object source)
Creates a new SceneChangedEvent. |
|
SceneObjectsChangedEvent(java.lang.Object source,
int type)
Creates a new SceneChangeEvent and sets its type. |
Method Summary | |
int |
getType()
Returns the type of action which fired the event. |
void |
setType(int type)
Sets the type of action which fired the event. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UNKNOWN_TYPE
public static final int OBJECT_ADDED
public static final int OBJECT_REMOVED
Constructor Detail |
public SceneObjectsChangedEvent(java.lang.Object source)
source
- the object which originated the change in the scenepublic SceneObjectsChangedEvent(java.lang.Object source, int type)
source
- the object which originated the change in the scene.type
- identifies the type of action that fired the event.Method Detail |
public int getType()
public void setType(int type)
type
- Can be one of OBJECT_ADDED, OBJECT_REMOVED or UNKNOWN_TYPE.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |