Class AbstractNode

java.lang.Object
org.web3d.vrml.renderer.common.nodes.AbstractNode
All Implemented Interfaces:
VRMLNode, FrameStateListener, VRMLNodeType
Direct Known Subclasses:
BaseAnnotation, BaseAnnotationTarget, BaseAppearance, BaseArc2D, BaseBindableNode, BaseBooleanFilter, BaseBooleanToggle, BaseBooleanTrigger, BaseBox, BaseCADFace, BaseClipPlane, BaseCollidableNode, BaseCollisionCollection, BaseCollisionSpace, BaseComponentGeometryNode, BaseCone, BaseContact, BaseContour2D, BaseContourPolyline2D, BaseCustomViewport, BaseCylinder, BaseDISEntityManager, BaseDISEntityTypeMapping, BaseDisk2D, BaseElevationGrid, BaseEmitter, BaseExtrusion, BaseFillProperties, BaseFixedViewport, BaseFontStyle, BaseGeoElevationGrid, BaseGeoMetadata, BaseGeometricPropertyNode, BaseGeoOrigin, BaseGeoReferenceSurfaceInfo, BaseGeoSRFParametersInfoNode, BaseGeoSRFParametersNode, BaseGeoSRFTParametersNode, BaseGroupingNode, BaseHAnimHumanoid, BaseHIDSensor, BaseInline, BaseIntegerTrigger, BaseInterpolatorNode, BaseJointNode, BaseLayer, BaseLayer2D, BaseLayerSet, BaseLightNode, BaseLineProperties, BaseLocalFog, BaseMaterial, BaseMetadataObjectNode, BaseMidiSource, BaseMultiTextureTransform, BaseNurbsCurve, BaseNurbsCurve2D, BaseNurbsPatchSurface, BaseNurbsTrimmedSurface, BaseOverlay, BaseParticleSystem, BasePhysicsModel, BasePointProperties, BasePolyline2D, BasePolypoint2D, BaseProportionalViewport, BaseRectangle2D, BaseRigidBody, BaseRigidBodyCollection, BaseScreenMarker, BaseSensorNode, BaseSequencerNode, BaseShape, BaseSolidBREP, BaseSound, BaseSphere, BaseStaticGroup, BaseSurfaceChildNode, BaseSurfaceChildNode, BaseText, BaseTextureNode, BaseTextureProperties, BaseTextureTransform, BaseTextureTransform3D, BaseTimeDependentNode, BaseTimeTrigger, BaseTriangleSet2D, BaseTwoSidedMaterial, BaseWorldInfo, BaseWorldRoot, NRNode

public abstract class AbstractNode extends Object implements VRMLNodeType
Base node for all implementations that define their own field handling.

Each node will keep its own fieldDeclarations and fieldMaps. These will be created in a static constructor so only one copy per class will be created.

Each node will maintain its own LAST_*_INDEX which tells others what the last field declared by this node.

Internationalisation Resource Names

  • vrmlMetaMsg: Error when someone attempts to set meta data objects in in a VRML97 scene.
  • badNodeCopyMsg: Attempting to copy a node that doesn't have the right type match.
  • defSetTimingMsg: Caller attempting to set the DEF name for this node after it has been realised.
  • noLayerRefMsg: In doing our layer reference counting, the caller gave us an unknown layer ID
  • invalidNodeMsg: The node given is not a node of the required type. The message is dynamically generated with the node type given as an argument to the generation method.
  • invalidProtoMsg: The proto given is not a node of the required type. The message is dynamically generated with the node type given as an argument to the generation method.
  • readOnlyWriteMsg: Attempting to write to an initializeOnly/field field after the node has been realised.
  • outputOnlyWriteMsg: Attempting to write to an outputOnly/eventOut field
  • inputOnlyWriteMsg: Attempting to write to an inputOnly/eventIn field before the node has been realised.
Version:
$Revision: 1.32 $
Author:
Justin Couch