| |
|
| java.lang.Object javax.media.j3d.J3dNodeTable
J3dNodeTable | class J3dNodeTable (Code) | | The J3dNodeTable object provides utilities for the save/load
methods in the Java3d nodes. Specifically, it holds an enumerated
list of the Java3D node types and their respective Class names.
It keeps these lists in a Hashtable and an array and allows
other classes to get an enumerated value associated with an Object
type or an instance of an Object associated with an enumerated value.
|
Method Summary | |
int | getNodeValue(Object object) Returns the enumerated value associated with an Object. | Object | getObject(int nodeValue) Returns new instance of an object with the Class name
associated with the given enumerated value. |
AMBIENT_LIGHT | final static int AMBIENT_LIGHT(Code) | | |
APPEARANCE | final static int APPEARANCE(Code) | | |
BACKGROUND | final static int BACKGROUND(Code) | | |
BACKGROUND_SOUND | final static int BACKGROUND_SOUND(Code) | | |
BOUNDING_BOX | final static int BOUNDING_BOX(Code) | | |
BOUNDING_POLYTOPE | final static int BOUNDING_POLYTOPE(Code) | | |
BOUNDING_SPHERE | final static int BOUNDING_SPHERE(Code) | | |
BOUNDS | final static int BOUNDS(Code) | | |
BRANCH_GROUP | final static int BRANCH_GROUP(Code) | | |
COLORING_ATTRIBUTES | final static int COLORING_ATTRIBUTES(Code) | | |
COLOR_INTERPOLATOR | final static int COLOR_INTERPOLATOR(Code) | | |
COMPRESSED_GEOMETRY | final static int COMPRESSED_GEOMETRY(Code) | | |
CONE_SOUND | final static int CONE_SOUND(Code) | | |
DIRECTIONAL_LIGHT | final static int DIRECTIONAL_LIGHT(Code) | | |
ENDAPPEARANCE | final static int ENDAPPEARANCE(Code) | | |
ENDGROUP | final static int ENDGROUP(Code) | | |
GEOMETRY | final static int GEOMETRY(Code) | | |
GEOMETRY_ARRAY | final static int GEOMETRY_ARRAY(Code) | | |
GEOMETRY_STRIP_ARRAY | final static int GEOMETRY_STRIP_ARRAY(Code) | | |
GROUP | final static int GROUP(Code) | | |
IMAGE_COMPONENT | final static int IMAGE_COMPONENT(Code) | | |
IMAGE_COMPONENT_2D | final static int IMAGE_COMPONENT_2D(Code) | | |
IMAGE_COMPONENT_3D | final static int IMAGE_COMPONENT_3D(Code) | | |
INDEXED_GEOMETRY_ARRAY | final static int INDEXED_GEOMETRY_ARRAY(Code) | | |
INDEXED_GEOMETRY_STRIP_ARRAY | final static int INDEXED_GEOMETRY_STRIP_ARRAY(Code) | | |
INDEXED_LINE_ARRAY | final static int INDEXED_LINE_ARRAY(Code) | | |
INDEXED_LINE_STRIP_ARRAY | final static int INDEXED_LINE_STRIP_ARRAY(Code) | | |
INDEXED_POINT_ARRAY | final static int INDEXED_POINT_ARRAY(Code) | | |
INDEXED_QUAD_ARRAY | final static int INDEXED_QUAD_ARRAY(Code) | | |
INDEXED_TRIANGLE_ARRAY | final static int INDEXED_TRIANGLE_ARRAY(Code) | | |
INDEXED_TRIANGLE_FAN_ARRAY | final static int INDEXED_TRIANGLE_FAN_ARRAY(Code) | | |
INDEXED_TRIANGLE_STRIP_ARRAY | final static int INDEXED_TRIANGLE_STRIP_ARRAY(Code) | | |
LIGHT | final static int LIGHT(Code) | | |
LINE_ARRAY | final static int LINE_ARRAY(Code) | | |
LINE_ATTRIBUTES | final static int LINE_ATTRIBUTES(Code) | | |
LINE_STRIP_ARRAY | final static int LINE_STRIP_ARRAY(Code) | | |
MATERIAL | final static int MATERIAL(Code) | | |
MAX_NUM_NODES | final static int MAX_NUM_NODES(Code) | | |
MEDIA_CONTAINER | final static int MEDIA_CONTAINER(Code) | | |
NOTHING | final static int NOTHING(Code) | | |
ORDERED_GROUP | final static int ORDERED_GROUP(Code) | | |
POINT_ARRAY | final static int POINT_ARRAY(Code) | | |
POINT_ATTRIBUTES | final static int POINT_ATTRIBUTES(Code) | | |
POINT_LIGHT | final static int POINT_LIGHT(Code) | | |
POINT_SOUND | final static int POINT_SOUND(Code) | | |
POLYGON_ATTRIBUTES | final static int POLYGON_ATTRIBUTES(Code) | | |
POSITIONPATH_INTERPOLATOR | final static int POSITIONPATH_INTERPOLATOR(Code) | | |
POSITION_INTERPOLATOR | final static int POSITION_INTERPOLATOR(Code) | | |
QUAD_ARRAY | final static int QUAD_ARRAY(Code) | | |
RENDERING_ATTRIBUTES | final static int RENDERING_ATTRIBUTES(Code) | | |
ROTATIONPATH_INTERPOLATOR | final static int ROTATIONPATH_INTERPOLATOR(Code) | | |
ROTATION_INTERPOLATOR | final static int ROTATION_INTERPOLATOR(Code) | | |
ROTPOSPATH_INTERPOLATOR | final static int ROTPOSPATH_INTERPOLATOR(Code) | | |
ROTPOSSCALEPATH_INTERPOLATOR | final static int ROTPOSSCALEPATH_INTERPOLATOR(Code) | | |
SCALE_INTERPOLATOR | final static int SCALE_INTERPOLATOR(Code) | | |
SHAPE3D | final static int SHAPE3D(Code) | | |
SOUND_FADER | final static int SOUND_FADER(Code) | | |
SOUND_PLAYER | final static int SOUND_PLAYER(Code) | | |
SPOT_LIGHT | final static int SPOT_LIGHT(Code) | | |
SWITCHVALUE_INTERPOLATOR | final static int SWITCHVALUE_INTERPOLATOR(Code) | | |
SWITCH_GROUP | final static int SWITCH_GROUP(Code) | | |
TEXTURE | final static int TEXTURE(Code) | | |
TEXTURE_2D | final static int TEXTURE_2D(Code) | | |
TEXTURE_3D | final static int TEXTURE_3D(Code) | | |
TEXTURE_ATTRIBUTES | final static int TEXTURE_ATTRIBUTES(Code) | | |
TEX_COORD_GENERATION | final static int TEX_COORD_GENERATION(Code) | | |
TRANSFORM3D | final static int TRANSFORM3D(Code) | | |
TRANSFORM_GROUP | final static int TRANSFORM_GROUP(Code) | | |
TRANSPARENCY_ATTRIBUTES | final static int TRANSPARENCY_ATTRIBUTES(Code) | | |
TRIANGLE_ARRAY | final static int TRIANGLE_ARRAY(Code) | | |
TRIANGLE_FAN_ARRAY | final static int TRIANGLE_FAN_ARRAY(Code) | | |
TRIANGLE_STRIP_ARRAY | final static int TRIANGLE_STRIP_ARRAY(Code) | | |
J3dNodeTable | J3dNodeTable()(Code) | | Constructs this Object, which initializes the array and Hashtable
|
getNodeValue | int getNodeValue(Object object)(Code) | | Returns the enumerated value associated with an Object. This
method retrieves the base class name (with no package name and
with no "Retained" portion (if it's part of the Object's name);
we're just looking for the base Java3d node type here.
|
getObject | Object getObject(int nodeValue)(Code) | | Returns new instance of an object with the Class name
associated with the given enumerated value.
|
|
|
|