Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai
Interface X3DProtoInstance

All Superinterfaces:
X3DNode
All Known Implementing Classes:
SAIProtoInstance

public interface X3DProtoInstance
extends X3DNode

The base representation of any node that is constructed from a PROTO declaration.

Version:
$Revision: 1.3 $
Author:
Justin Couch

Method Summary
 int[] getImplementationTypes()
          Get the listing of implementatoin types for proto nodes.
 
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
 

Method Detail

getImplementationTypes

int[] getImplementationTypes()
Get the listing of implementatoin types for proto nodes. This performs the same functionality as the getType() method in the base class. For ProtoInstances, that method is required to return a single value that says it is a proto instance and this method is used to determine the final type.

Returns:
The list of types of the implemented node

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium