Class DefaultFontStyle
java.lang.Object
org.web3d.vrml.renderer.common.nodes.AbstractNode
org.web3d.vrml.renderer.common.nodes.text.BaseFontStyle
org.web3d.vrml.renderer.common.nodes.text.DefaultFontStyle
- All Implemented Interfaces:
VRMLNode,FrameStateListener,VRMLFontStyleNodeType,VRMLNodeType
Singleton representation of the default font information.
Used by the individual renderers for when there is no fond information declared, so that it saves the text node implementation from carrying dual sets of variables.
- Version:
- $Revision: 1.2 $
- Author:
- Justin Couch
-
Field Summary
Fields inherited from class org.web3d.vrml.renderer.common.nodes.text.BaseFontStyle
FIELD_FAMILY, FIELD_HORIZONTAL, FIELD_JUSTIFY, FIELD_LANGUAGE, FIELD_LEFTTORIGHT, FIELD_SIZE, FIELD_SPACING, FIELD_STYLE, FIELD_TOPTOBOTTOM, fieldDecl, fieldMap, fontMap, justifyMap, LAST_FONTSTYLE_INDEX, NUM_FIELDS, styleMapFields 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, vrmlMinorVersionFields inherited from interface org.web3d.vrml.nodes.VRMLFontStyleNodeType
BEGIN_JUSTIFY, BOLD_STYLE, BOLDITALIC_STYLE, END_JUSTIFY, FIRST_JUSTIFY, ITALIC_STYLE, MIDDLE_JUSTIFY, PLAIN_STYLE -
Method Summary
Modifier and TypeMethodDescriptionstatic VRMLFontStyleNodeTypeFetch the globally shared instance of the default font information.Methods inherited from class org.web3d.vrml.renderer.common.nodes.text.BaseFontStyle
getFieldDeclaration, getFieldIndex, getFieldValue, getFont, getHorizontalJustification, getNodeFieldIndices, getNumFields, getPrimaryType, getSize, getSpacing, getVerticalJustification, isHorizontal, isLeftToRight, isTopToBottom, setupFinished, setValue, setValue, setValue, setValueMethods 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, sendRoute, setDEF, setErrorReporter, setFrameStateManager, setMetadataObject, setUserData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setVersion, throwInitOnlyWriteException, throwInputOnlyWriteException, throwInvalidNodeException, throwInvalidProtoException, throwOutputOnlyWriteException, updateRefCount, updateRefsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.vrml.nodes.FrameStateListener
allEventsCompleteMethods inherited from interface org.web3d.vrml.lang.VRMLNode
getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersionMethods inherited from interface org.web3d.vrml.nodes.VRMLNodeType
addNodeListener, clearRemovedLayerIds, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount
-
Method Details
-
getDefaultFontStyle
Fetch the globally shared instance of the default font information. If one does not currently exist, it is created before returning.- Returns:
- The global shared instance
-