|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VRMLPickableNodeType
Marker interface to indicate nodes of the X3DPickableObject type.
The X3DPickableObject is an Xj3D extension node, and it's defined in the specification at http://www.xj3d.org/extensions/picking.html
| Method Summary | |
|---|---|
void |
getObjectType(java.lang.String[] val)
Fetch the number of object type values in use currently. |
boolean |
getPickable()
Get the current pickable state of the object. |
int |
numObjectType()
Get the current number of valid object type strings. |
void |
setObjectType(java.lang.String[] types,
int numValid)
Set the list of picking targets that this object corresponds to. |
void |
setPickable(boolean state)
Set the pickable state of this object. |
| Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType |
|---|
addNodeListener, clearRemovedLayerIds, getFieldValue, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount |
| Methods inherited from interface org.web3d.vrml.lang.VRMLNode |
|---|
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion |
| Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener |
|---|
allEventsComplete |
| Method Detail |
|---|
void setObjectType(java.lang.String[] types,
int numValid)
types - The list of object type strings to usenumValid - The number of valid values to read from the arrayint numObjectType()
void getObjectType(java.lang.String[] val)
val - An array to copy the values tovoid setPickable(boolean state)
state - true to enable picking, false otherwiseboolean getPickable()
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||