|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface that acts as a proxy for a BIFS node in the scene graph. Only nodes in the scene that have been instanced with DEF may have a Node proxy.
Method Summary | |
void |
addEventOutListener(int outID,
EventOutListener l)
Install a listener for an eventOut or exposedField in this node of the scene graph. |
FieldValue |
getEventOut(int outID)
Reads the current value of an eventOut or exposedField in this node of the scene graph. |
int |
getNodeType()
Obtain the node type of the node. |
void |
removeEventOutListener(int outID,
EventOutListener l)
Remove a listener previously added for an eventOut or exposedField in this node of the scene graph. |
void |
sendEventIn(int inID,
FieldValue newValue)
Updates the value of an eventIn or exposedField in this node of the scene graph. |
Method Detail |
public void sendEventIn(int inID, FieldValue newValue) throws BadParameterException, InvalidNodeException
inID
- The inID of the field to be updated.newValue
- The desired new value for the field.EventIn
public FieldValue getEventOut(int outID) throws BadParameterException, InvalidNodeException
outID
- The outID of the field to be read.EventOut
public void addEventOutListener(int outID, EventOutListener l) throws BadParameterException, InvalidNodeException
outID
- The outID of the field to be monitored.listener
- The listener to notify of changes.EventOut
,
EventOutListener
public void removeEventOutListener(int outID, EventOutListener l) throws BadParameterException, InvalidNodeException
outID
- The outID of the field no longer to be monitored.listener
- The listener that is to be removed.EventOut
,
EventOutListener
public int getNodeType() throws InvalidNodeException
NodeType
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |