public class AppearanceObject extends X3DConcreteNode implements Appearance
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT
String constant COMPONENT defines X3D component for the Appearance element: Shape
|
static java.lang.String |
containerField_DEFAULT_VALUE
containerField describes typical field relationship of a node to its parent.
|
static java.lang.String |
fromField_FILLPROPERTIES
fromField ROUTE name for SFNode field named fillProperties.
|
static java.lang.String |
fromField_LINEPROPERTIES
fromField ROUTE name for SFNode field named lineProperties.
|
static java.lang.String |
fromField_MATERIAL
fromField ROUTE name for SFNode field named material.
|
static java.lang.String |
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
fromField_SHADERS
fromField ROUTE name for MFNode field named shaders.
|
static java.lang.String |
fromField_TEXTURE
fromField ROUTE name for SFNode field named texture.
|
static java.lang.String |
fromField_TEXTURETRANSFORM
fromField ROUTE name for SFNode field named textureTransform.
|
static int |
LEVEL
Integer constant LEVEL provides default X3D Shape component level for this element: 1
|
static java.lang.String |
NAME
String constant NAME provides name of this element: Appearance.
|
static java.lang.String |
toField_FILLPROPERTIES
toField ROUTE name for SFNode field named fillProperties.
|
static java.lang.String |
toField_LINEPROPERTIES
toField ROUTE name for SFNode field named lineProperties.
|
static java.lang.String |
toField_MATERIAL
toField ROUTE name for SFNode field named material.
|
static java.lang.String |
toField_METADATA
toField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
toField_SHADERS
toField ROUTE name for MFNode field named shaders.
|
static java.lang.String |
toField_TEXTURE
toField ROUTE name for SFNode field named texture.
|
static java.lang.String |
toField_TEXTURETRANSFORM
toField ROUTE name for SFNode field named textureTransform.
|
CLASS_DEFAULT_VALUE, containerField_ALTERNATE_VALUES, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUEvalidationResult| Constructor and Description |
|---|
AppearanceObject()
Constructor for AppearanceObject to initialize member variables with default values.
|
AppearanceObject(java.lang.String DEFlabel)
Utility constructor that assigns DEF label after initializing member variables with default values.
|
| Modifier and Type | Method and Description |
|---|---|
AppearanceObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
AppearanceObject |
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
AppearanceObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
AppearanceObject |
addShaders(X3DNode newValue)
Add single child node to existing array of shaders nodes (if any).
|
void |
addShaders(X3DNode[] newValue)
Add array of child shaders nodes to array of existing nodes (if any).
|
AppearanceObject |
clearFillProperties()
Utility method to clear SFNode value of fillProperties field.
|
AppearanceObject |
clearLineProperties()
Utility method to clear SFNode value of lineProperties field.
|
AppearanceObject |
clearMaterial()
Utility method to clear SFNode value of material field.
|
AppearanceObject |
clearMetadata()
Utility method to clear SFNode value of metadata field.
|
AppearanceObject |
clearShaders()
Utility method to clear MFNode value of shaders field.
|
AppearanceObject |
clearTexture()
Utility method to clear SFNode value of texture field.
|
AppearanceObject |
clearTextureTransform()
Utility method to clear SFNode value of textureTransform field.
|
X3DConcreteElement |
findElementByNameValue(java.lang.String nameValue)
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.
|
X3DConcreteElement |
findElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.
|
X3DConcreteNode |
findNodeByDEF(java.lang.String DEFvalue)
Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.
|
java.lang.String |
getAccessType(java.lang.String fieldName)
Indicate accessType corresponding to given fieldName.
|
java.lang.String |
getComponent()
Defines X3D component for the Appearance element: Shape
|
int |
getComponentLevel()
Provides default X3D component level for this element: 1
|
java.lang.String |
getContainerFieldDefault()
containerField describes typical field relationship of a node to its parent.
|
java.lang.String |
getElementName()
Provides name of this element: Appearance
|
java.lang.String |
getFieldType(java.lang.String fieldName)
Indicate type corresponding to given fieldName.
|
FillProperties |
getFillProperties()
Provide FillProperties instance (using a properly typed node) from inputOutput SFNode field fillProperties.
|
ISObject |
getIS()
Provide field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
LineProperties |
getLineProperties()
Provide LineProperties instance (using a properly typed node) from inputOutput SFNode field lineProperties.
|
X3DMaterialNode |
getMaterial()
Provide X3DMaterialNode instance (using a properly typed node) from inputOutput SFNode field material.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
X3DNode[] |
getShaders()
Provide array of X3DShaderNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from inputOutput MFNode field shaders.
|
java.util.ArrayList<X3DNode> |
getShadersList()
Utility method to get ArrayList value of MFNode shaders field, similar to
getShaders(). |
X3DTextureNode |
getTexture()
Provide X3DTextureNode instance (using a properly typed node) from inputOutput SFNode field texture.
|
X3DTextureTransformNode |
getTextureTransform()
Provide X3DTextureTransformNode instance (using a properly typed node) from inputOutput SFNode field textureTransform.
|
boolean |
hasElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
Recursive method to determine whether node or statement with given name attribute is found, meaning both objects are attached to same scene graph.
|
boolean |
hasFillProperties()
Indicate whether an object is available for inputOutput SFNode field fillProperties.
|
boolean |
hasLineProperties()
Indicate whether an object is available for inputOutput SFNode field lineProperties.
|
boolean |
hasMaterial()
Indicate whether an object is available for inputOutput SFNode field material.
|
boolean |
hasMetadata()
Indicate whether an object is available for inputOutput SFNode field metadata.
|
boolean |
hasNodeByDEF(java.lang.String DEFvalue)
Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.
|
boolean |
hasShaders()
Indicate whether an object is available for inputOutput MFNode field shaders.
|
boolean |
hasTexture()
Indicate whether an object is available for inputOutput SFNode field texture.
|
boolean |
hasTextureTransform()
Indicate whether an object is available for inputOutput SFNode field textureTransform.
|
void |
initialize()
Initialize all member variables to default values.
|
AppearanceObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
AppearanceObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
AppearanceObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
AppearanceObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
AppearanceObject |
setFillProperties(FillProperties newValue)
Assign FillProperties instance (using a properly typed node) to inputOutput SFNode field fillProperties.
|
AppearanceObject |
setFillProperties(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field fillProperties.
|
AppearanceObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
AppearanceObject |
setLineProperties(LineProperties newValue)
Assign LineProperties instance (using a properly typed node) to inputOutput SFNode field lineProperties.
|
AppearanceObject |
setLineProperties(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field lineProperties.
|
AppearanceObject |
setMaterial(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field material.
|
AppearanceObject |
setMaterial(X3DMaterialNode newValue)
Assign X3DMaterialNode instance (using a properly typed node) to inputOutput SFNode field material.
|
AppearanceObject |
setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
AppearanceObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
AppearanceObject |
setShaders(java.util.ArrayList<X3DShaderNode> newValue)
Assign ArrayList value of MFNode shaders field, similar to
setShaders(X3DNode[]). |
AppearanceObject |
setShaders(X3DConcreteNode newValue)
Utility method to set single SFNode as AppearanceObject shaders.
|
void |
setShaders(X3DNode newValue)
Set single child shaders node, replacing prior array of existing nodes (if any).
|
AppearanceObject |
setShaders(X3DNode[] newValue)
Assign X3DShaderNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to inputOutput MFNode field shaders.
|
AppearanceObject |
setTexture(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field texture.
|
AppearanceObject |
setTexture(X3DTextureNode newValue)
Assign X3DTextureNode instance (using a properly typed node) to inputOutput SFNode field texture.
|
AppearanceObject |
setTextureTransform(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field textureTransform.
|
AppearanceObject |
setTextureTransform(X3DTextureTransformNode newValue)
Assign X3DTextureTransformNode instance (using a properly typed node) to inputOutput SFNode field textureTransform.
|
AppearanceObject |
setUSE(AppearanceObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
AppearanceObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
AppearanceObject |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
java.lang.String |
toStringClassicVRML(int indentLevel)
Recursive method to provide ClassicVRML string serialization.
|
java.lang.String |
toStringVRML97(int indentLevel)
Recursive method to provide VRML97 string serialization.
|
java.lang.String |
toStringX3D(int indentLevel)
Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.
|
java.lang.String |
validate()
Recursive method to validate this element plus all contained nodes and statements,
using both datatype-specification value checks and regular expression (regex) checking of corresponding string values.
|
getContainerFieldAlternateValues, getContainerFieldOverride, getCssClass, getDEF, getUSE, isNode, isStatement, isUSE, resetContainerFieldOverride, setConcreteCssClass, setConcreteDEF, setConcreteUSE, setContainerFieldOverrideclearParentObject, findAncestorElementByName, findAncestorProtoBody, findAncestorSceneObject, findAncestorX3DObject, getPackageName, getParentObject, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorSceneObject, hasAncestorX3DObject, setParentObject, toStringClassicVRML, toStringVRML97, toStringX3Dpublic static final java.lang.String NAME
public static final java.lang.String COMPONENT
public static final int LEVEL
public static final java.lang.String containerField_DEFAULT_VALUE
public static final java.lang.String fromField_FILLPROPERTIES
public static final java.lang.String toField_FILLPROPERTIES
public static final java.lang.String fromField_LINEPROPERTIES
public static final java.lang.String toField_LINEPROPERTIES
public static final java.lang.String fromField_MATERIAL
public static final java.lang.String toField_MATERIAL
public static final java.lang.String fromField_METADATA
public static final java.lang.String toField_METADATA
public static final java.lang.String fromField_SHADERS
public static final java.lang.String toField_SHADERS
public static final java.lang.String fromField_TEXTURE
public static final java.lang.String toField_TEXTURE
public static final java.lang.String fromField_TEXTURETRANSFORM
public static final java.lang.String toField_TEXTURETRANSFORM
public AppearanceObject()
public AppearanceObject(java.lang.String DEFlabel)
DEFlabel - unique DEF name for this X3D nodepublic final java.lang.String getElementName()
getElementName in class X3DConcreteElementpublic final java.lang.String getComponent()
getComponent in class X3DConcreteElementpublic final int getComponentLevel()
getComponentLevel in class X3DConcreteElementpublic java.lang.String getFieldType(java.lang.String fieldName)
getFieldType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPEpublic java.lang.String getAccessType(java.lang.String fieldName)
getAccessType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPEpublic final java.lang.String getContainerFieldDefault()
getContainerFieldDefault in class X3DConcreteNodepublic final void initialize()
initialize in class X3DConcreteNodepublic FillProperties getFillProperties()
getFillProperties in interface Appearance
Tooltip: [FillProperties] Single contained FillProperties node that specifies additional visual attributes applied to polygonal areas of corresponding geometry, on top of whatever other appearance is already defined. *
public AppearanceObject setFillProperties(FillProperties newValue)
setFillProperties in interface AppearancenewValue - is new value for the fillProperties field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
Tooltip: [FillProperties] Single contained FillProperties node that specifies additional visual attributes applied to polygonal areas of corresponding geometry, on top of whatever other appearance is already defined.public AppearanceObject clearFillProperties()
AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AppearanceObject setFillProperties(ProtoInstanceObject newValue)
newValue - is new value for the fillProperties field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setFillProperties(FillProperties)public boolean hasFillProperties()
getFillProperties(),
getFillPropertiesProtoInstance()public LineProperties getLineProperties()
getLineProperties in interface Appearance
Tooltip: [LineProperties] Single contained LineProperties node that specifies additional visual attributes applied to corresponding line geometry. *
public AppearanceObject setLineProperties(LineProperties newValue)
setLineProperties in interface AppearancenewValue - is new value for the lineProperties field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
Tooltip: [LineProperties] Single contained LineProperties node that specifies additional visual attributes applied to corresponding line geometry.public AppearanceObject clearLineProperties()
AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AppearanceObject setLineProperties(ProtoInstanceObject newValue)
newValue - is new value for the lineProperties field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setLineProperties(LineProperties)public boolean hasLineProperties()
getLineProperties(),
getLinePropertiesProtoInstance()public X3DMaterialNode getMaterial()
getMaterial in interface Appearance
Tooltip: [X3DMaterialNode] Single contained Material node that specifies visual attributes for lighting response (color types, transparency, etc.) applied to corresponding geometry.
- Warning: if material is NULL or unspecified, lighting is off (all lights ignored) for this Shape and unlit object color is (1, 1, 1).
public AppearanceObject setMaterial(X3DMaterialNode newValue)
setMaterial in interface AppearancenewValue - is new value for the material field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
Tooltip: [X3DMaterialNode] Single contained Material node that specifies visual attributes for lighting response (color types, transparency, etc.) applied to corresponding geometry. Warning: if material is NULL or unspecified, lighting is off (all lights ignored) for this Shape and unlit object color is (1, 1, 1).public AppearanceObject clearMaterial()
AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AppearanceObject setMaterial(ProtoInstanceObject newValue)
newValue - is new value for the material field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMaterial(X3DMaterialNode)public boolean hasMaterial()
getMaterial(),
getMaterialProtoInstance()public X3DMetadataObject getMetadata()
getMetadata in interface X3DNodegetMetadata in interface AppearancegetMetadata in interface X3DAppearanceNodegetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic AppearanceObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DNodesetMetadata in interface AppearancesetMetadata in interface X3DAppearanceNodesetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMetadata(ProtoInstanceObject),
X3D Scene Authoring Hints: Metadata Nodespublic AppearanceObject clearMetadata()
AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AppearanceObject setMetadata(ProtoInstanceObject newValue)
setMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMetadata(X3DMetadataObject)public boolean hasMetadata()
getMetadata(),
getMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic X3DNode[] getShaders()
getShaders in interface AppearanceX3DShaderNodepublic java.util.ArrayList<X3DNode> getShadersList()
getShaders().public AppearanceObject setShaders(X3DNode[] newValue)
setShaders in interface AppearancenewValue - is new value for the shaders field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AppearanceObject setShaders(java.util.ArrayList<X3DShaderNode> newValue)
setShaders(X3DNode[]).newValue - is new value for the shaders field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AppearanceObject addShaders(X3DNode newValue)
newValue - is new value to be appended the shaders field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public void addShaders(X3DNode[] newValue)
addShaders in interface AppearancenewValue - is new value array to be appended the shaders field.public void setShaders(X3DNode newValue)
setShaders in interface AppearancenewValue - is new node for the shaders field (restricted to X3DShaderNode)public AppearanceObject setShaders(X3DConcreteNode newValue)
newValue - AppearanceObject node to setAppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AppearanceObject clearShaders()
AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public boolean hasShaders()
getShaders()public X3DTextureNode getTexture()
getTexture in interface Appearance
Tooltip: [X3DTextureNode] Single contained texture node (ImageTexture, MovieTexture, PixelTexture, MultiTexture) that maps image(s) to surface geometry.
- Hint: if texture node is NULL or unspecified, corresponding Shape geometry for this Appearance is not textured.
- Hint: X3D Scene Authoring Hints, Images
http://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Images
- Hint: X3D Architecture 18 Texturing component
http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texturing.html
- Hint: X3D Architecture 33 Texturing3D component
http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texture3D.html
public AppearanceObject setTexture(X3DTextureNode newValue)
setTexture in interface AppearancenewValue - is new value for the texture field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
Tooltip: [X3DTextureNode] Single contained texture node (ImageTexture, MovieTexture, PixelTexture, MultiTexture) that maps image(s) to surface geometry. Hint: if texture node is NULL or unspecified, corresponding Shape geometry for this Appearance is not textured. Hint: X3D Scene Authoring Hints, Images http://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Images Hint: X3D Architecture 18 Texturing component http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texturing.html Hint: X3D Architecture 33 Texturing3D component http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texture3D.htmlpublic AppearanceObject clearTexture()
AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AppearanceObject setTexture(ProtoInstanceObject newValue)
newValue - is new value for the texture field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setTexture(X3DTextureNode)public boolean hasTexture()
getTexture(),
getTextureProtoInstance()public X3DTextureTransformNode getTextureTransform()
getTextureTransform in interface Appearance
Tooltip: [X3DTextureTransformNode] Single contained TextureTransform node that defines 2D transformation applied to texture coordinates.
- Hint: if textureTransform is NULL or unspecified, this field has no effect.
public AppearanceObject setTextureTransform(X3DTextureTransformNode newValue)
setTextureTransform in interface AppearancenewValue - is new value for the textureTransform field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
Tooltip: [X3DTextureTransformNode] Single contained TextureTransform node that defines 2D transformation applied to texture coordinates. Hint: if textureTransform is NULL or unspecified, this field has no effect.public AppearanceObject clearTextureTransform()
AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AppearanceObject setTextureTransform(ProtoInstanceObject newValue)
newValue - is new value for the textureTransform field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setTextureTransform(X3DTextureTransformNode)public boolean hasTextureTransform()
getTextureTransform(),
getTextureTransformProtoInstance()public final AppearanceObject setDEF(java.lang.String newValue)
setDEF in interface X3DNodesetDEF in interface AppearancesetDEF in interface X3DAppearanceNodesetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AppearanceObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final AppearanceObject setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DNodesetUSE in interface AppearancesetUSE in interface X3DAppearanceNodesetUSE in class X3DConcreteNodenewValue - is new value for the USE field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AppearanceObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final AppearanceObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DNodesetCssClass in interface AppearancesetCssClass in interface X3DAppearanceNodesetCssClass in class X3DConcreteNodenewValue - is new value for the class field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AppearanceObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AppearanceObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.AppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ISObject getIS()
getIS in class X3DConcreteNodepublic AppearanceObject setUSE(AppearanceObject DEFnode)
setUSE(String).
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.
DEFnode - must have a DEF value definedAppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public AppearanceObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueAppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AppearanceObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsAppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AppearanceObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addAppearanceObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public java.lang.String toStringX3D(int indentLevel)
toStringX3D in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_X3D,
X3DObject.FILE_EXTENSION_XML,
X3DObject.toStringXML(),
X3DObject.toFileXML(String),
X3DObject.toFileX3D(String),
X3D XML Encoding,
X3D Compressed Binary Encoding: X3D Canonical Formpublic java.lang.String toStringClassicVRML(int indentLevel)
toStringClassicVRML in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_CLASSICVRML,
X3D Resources: Virtual Reality Modeling Language (VRML) 97,
Extensible 3D (X3D) encodings Part 2: Classic VRML encoding,
Extensible 3D (X3D) encodings Part 2: Classic VRML encoding, Annex A: Grammarpublic java.lang.String toStringVRML97(int indentLevel)
toStringVRML97 in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_VRML97,
X3D Resources: Virtual Reality Modeling Language (VRML) 97,
Virtual Reality Modeling Language (VRML) 97 specification,
VRML 97 v2.1 Amendmentpublic X3DConcreteElement findElementByNameValue(java.lang.String nameValue)
findElementByNameValue in class X3DConcreteElementnameValue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public X3DConcreteElement findElementByNameValue(java.lang.String nameValue, java.lang.String elementName)
findElementByNameValue in class X3DConcreteElementnameValue - is value of the name field being searched for in this element and child elements(if any)elementName - identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)findNodeByDEF(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public boolean hasElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
nameValue - is value of the name field being searched for in this element and child elements(if any)elementName - identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)findElementByNameValue(String, String)public X3DConcreteNode findNodeByDEF(java.lang.String DEFvalue)
findNodeByDEF in class X3DConcreteElementDEFvalue - is value of the name field being searched for in this element and child elements(if any)findElementByNameValue(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public boolean hasNodeByDEF(java.lang.String DEFvalue)
DEFvalue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String)public java.lang.String validate()
validate in class X3DConcreteElementCopyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.