Class NRText2D
java.lang.Object
org.web3d.vrml.renderer.common.nodes.AbstractNode
org.web3d.vrml.renderer.common.nodes.layout.BaseSurfaceChildNode
org.web3d.vrml.renderer.common.nodes.layout.BaseText2D
org.web3d.vrml.renderer.norender.nodes.layout.NRText2D
- All Implemented Interfaces:
VRMLNode
,FrameStateListener
,VRMLNodeType
,VRMLSurfaceChildNodeType
,NRVRMLNode
Common implementation of a Text2D node.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
-
Field Summary
Fields inherited from class org.web3d.vrml.renderer.common.nodes.layout.BaseText2D
ANTIALIAS, FIELD_BGCOLOR, FIELD_FIXED_SIZE, FIELD_FONTSTYLE, FIELD_STRING, FIELD_TEXTCOLOR, FIELD_TRANSPARENCY, LAST_TEXT2D_INDEX, NUM_FIELDS, pFontStyle, vfBackgroundColor, vfFixedSize, vfFontStyle, vfString, vfTextColor, vfTransparency
Fields inherited from class org.web3d.vrml.renderer.common.nodes.layout.BaseSurfaceChildNode
FIELD_BBOX_SIZE, FIELD_VISIBLE, LAST_SURFACE_CHILD_INDEX, listener, parentVisibility, screenBounds, screenLocation, vfBboxSize, vfVisible
Fields inherited from class org.web3d.vrml.renderer.common.nodes.AbstractNode
errorReporter, FIELD_METADATA, fieldLocalData, hasChanged, inSetup, isDEF, isStatic, LAST_NODE_INDEX, layerIds, nodeName, pMetadata, refCounts, removedLayerIds, stateManager, STATIC_SCENE_GRAPH, vfMetadata, vrmlMajorVersion, vrmlMinorVersion
-
Constructor Summary
ConstructorsConstructorDescriptionNRText2D()
Construct a new default Overlay objectNRText2D
(VRMLNodeType node) Construct a new instance of this node based on the details from the given node. -
Method Summary
Methods inherited from class org.web3d.vrml.renderer.common.nodes.layout.BaseText2D
getFieldDeclaration, getFieldIndex, getFieldValue, getFontStyle, getNodeFieldIndices, getNumFields, sendRoute, setFontStyle, setupFinished, setValue, setValue, setValue, setValue, setValue, updateSurface
Methods inherited from class org.web3d.vrml.renderer.common.nodes.layout.BaseSurfaceChildNode
copy, fireSizeChange, getBboxSize, getParentVisible, getPrimaryType, getRealBounds, isVisible, setBboxSize, setLayoutListener, setLocation, setParentVisible, setVisible
Methods inherited from class org.web3d.vrml.renderer.common.nodes.AbstractNode
addNodeListener, allEventsComplete, checkNodeType, checkSecondaryType, checkSecondaryType, clearRemovedLayerIds, fireFieldChanged, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, getSecondaryType, getUserData, getVRMLNodeName, hasFieldChanged, isDEF, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, setDEF, setErrorReporter, setFrameStateManager, setMetadataObject, setUserData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setVersion, throwInitOnlyWriteException, throwInputOnlyWriteException, throwInvalidNodeException, throwInvalidProtoException, throwOutputOnlyWriteException, updateRefCount, updateRefs
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener
allEventsComplete
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.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.nodes.VRMLSurfaceChildNodeType
getBboxSize, getParentVisible, getRealBounds, isVisible, setLayoutListener, setLocation, setParentVisible, setVisible
-
Constructor Details
-
NRText2D
public NRText2D()Construct a new default Overlay object -
NRText2D
Construct a new instance of this node based on the details from the given node. If the node is not the same type, an exception will be thrown.- Parameters:
node
- The node to copy- Throws:
IllegalArgumentException
- The node is not the same type
-