Class component


public class component extends X3DConcreteStatement
Functional summary: each added component statement indicates needed scene functionality support above the given X3D profile. This concrete class represents an X3D component statement.

component statement tooltip: Each added component statement indicates needed scene functionality above the given X3D profile.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    String constant COMPONENT defines X3D component for the component element: Core
    static final int
    Integer constant LEVEL provides default X3D Core component level for this element: 1
    static final int
    SFInt32 field named level has default value 1 (Java syntax) or 1 (XML syntax).
    static final String
    String constant NAME provides name of this element: component.
    static final String
    Tooltip: The CADGeometry component is provided for Computer-Aided Design (CAD) nodes.
    static final String
    Tooltip: The Core component supplies the base functionality for the X3D run-time system, including the abstract base node type, field types, the event model, and routing.
    static final String
    Tooltip: The Cube Map Environmental Texturing component describes how additional texturing effects are defined to produce environmental effects such as reflections from objects.
    static final String
    SFString field named name has default value equal to an empty string.
    static final String
    Tooltip: The Distributed Interactive Simulation (DIS) component provides networked interoperability with the IEEE DIS protocol for sharing state and conducting real-time platform-level simulations across multiple host computers.
    static final String
    Tooltip: Nodes in the Environmental effects component support the creation of realistic environmental effects such as panoramic backgrounds and fog.
    static final String
    Tooltip: The Environment Sensor nodes emit events indicating activity in the scene environment, usually based on interactions between the viewer and the world.
    static final String
    Tooltip: The Event Utility nodes provide the capability to filter, trigger, convert, or sequence numerous event-types for common interactive applications without the use of a Script node.
    static final String
    Tooltip: The Follower nodes (Chasers and Dampers) support dynamic creation of smooth parameter transitions at run time.
    static final String
    Tooltip: The Geometry2D component defines how two-dimensional geometry is specified and what shapes are available.
    static final String
    Tooltip: The Geometry3D component describes how three-dimensional geometry is specified and defines ElevationGrid, Extrusion, IndexedFaceSet, and most primitive geometry nodes (Box, Cone, Cylinder, Sphere).
    static final String
    Tooltip: The Geospatial component defines how to associate real-world locations in an X3D scene and specifies nodes particularly tuned for geospatial applications.
    static final String
    Tooltip: The Grouping component describes how nodes are organized into groups to establish a transformation hierarchy for the X3D scene graph.
    static final String
    Tooltip: Legacy enumeration H-Anim for X3D versions 3.0-3.3 provides backwards compatibility with Humanoid Animation (HAnim) version 1, preferred form of enumeration value is HAnim.
    static final String
    Tooltip: The Humanoid Animation (HAnim) component for X3D defines node bindings and other details for implementing ISO/IEC 19774, the HAnim International Specification.
    static final String
    Tooltip: Interpolator nodes provide keyframe-based animation capability.
    static final String
    Tooltip: The Key Device Sensor defines how keyboard keystrokes are inserted into an X3D world.
    static final String
    Tooltip: The Layering component describes how to layer a set of subscene layers into a composite scene.
    static final String
    Tooltip: The Layout component defines how to precisely position content in a scene in relation to the rendered results, especially for integrating 2D content with 3D content.
    static final String
    Tooltip: The Lighting component specifies how light sources are defined and positioned, as well as how lights effect the rendered image.
    static final String
    Tooltip: The Navigation component specifies how a user can effectively and intuitively move through and around a 3D scene.
    static final String
    Tooltip: The Networking component defines node types and other features used to access file-based and streaming resources on the World Wide Web.
    static final String
    Tooltip: The NURBS component describes Non-uniform Rational B-Spline (NURBS) geometry and interpolation nodes.
    static final String
    Tooltip: The Particle Systems component specifies how to model particles and their interactions through the application of basic physics principles to affect motion.
    static final String
    Tooltip: The Picking component provides the ability to test for arbitrary object collision and provide basic capabilities to detecting object intersections and interactions.
    static final String
    Tooltip: Pointing device sensor nodes detect pointing events from user-interface devices, defining activities such as a user selecting a piece of geometry.
    static final String
    Tooltip: The Rendering component includes fundamental rendering primitives such as TriangleSet and PointSet nodes, as well as geometric properties nodes that define how coordinate indices, colors, normals and texture coordinates are specified.
    static final String
    Tooltip: The Rigid Body Physics component describes how to model rigid bodies and their interactions through the application of basic physics principles to effect motion.
    static final String
    Tooltip: The Scripting component describes how Script nodes are used to effect changes in X3D worlds.
    static final String
    Tooltip: The Programmable Shaders component describes how programmable shaders are specified and how they affect the visual appearance of geometry.
    static final String
    Tooltip: The Shape component defines nodes for associating geometry with their visible properties and the scene environment.
    static final String
    Tooltip: The Sound component defines how sound is delivered to an X3D world as well as how sounds are accessed.
    static final String
    Tooltip: The Text component defines how text strings are rendered in an X3D scene.
    static final String
    Tooltip: TextureProjection nodes project texture images onto geometry in a scene.
    static final String
    Tooltip: The Texturing component specifies how 2D texture images are defined and then positioned on associated geometry.
    static final String
    Tooltip: The Texturing3D component specifies how 3D volumetric textures describe surface properties as data points in a volume of space, rather than a flat surface.
    static final String
    Tooltip: The Time component defines how time is sensed, computed and associated with events in an X3D scene.
    static final String
    Tooltip: The Volume Rendering component provides the ability to specify and render volumetric data sets.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for component to initialize member variables with default values.
    component(String newName, int newLevel)
    Utility constructor that assigns name and level attributes.
  • Method Summary

    Modifier and Type
    Method
    Description
    addComments(String newComment)
    Add comment as String to contained commentsList.
    addComments(String[] newComments)
    Add comments as String[] array to contained commentsList.
    addComments(CommentsBlock newCommentsBlock)
    Add CommentsBlock to contained commentsList.
    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.
    findElementByNameValue(String nameValue, 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.
    Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.
    getAccessType(String fieldName)
    Indicate accessType corresponding to given fieldName.
    final String
    Defines X3D component for the component element: Core
    final int
    Provides default X3D component level for this element: 1
    Provide String value from inputOutput SFString field named class.
    Provide String value from inputOutput SFString field named style.
    final String
    Provides name of this element: component
    getFieldType(String fieldName)
    Indicate type corresponding to given fieldName.
    Provide String value from inputOutput SFString field named id.
    int
    Provide int value within allowed range of [1,5] from inputOutput SFInt32 field named level.
    Provide String enumeration value (baseType xs:NMTOKEN) ["Core" | "CADGeometry" | "CubeMapTexturing" | "DIS" | "EnvironmentalEffects" | "EnvironmentalSensor" | "EventUtilities" | "Followers" | "Geometry2D" | "Geometry3D" | "Geospatial" | "Grouping" | "HAnim" | "H-Anim" | "Interpolation" | "KeyDeviceSensor" | "Layering" | "Layout" | "Lighting" | "Navigation" | "Networking" | "NURBS" | "ParticleSystems" | "Picking" | "PointingDeviceSensor" | "TextureProjection" | "Rendering" | "RigidBodyPhysics" | "Scripting" | "Shaders" | "Shape" | "Sound" | "Text" | "Texturing" | "Texturing3D" | "Time" | "VolumeRendering"] from inputOutput SFString field named name.
    boolean
    hasElementByNameValue(String nameValue, 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
    hasNodeByDEF(String DEFvalue)
    Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.
    final void
    Initialize all member variables to default values.
    final component
    setCssClass(String newValue)
    Accessor method to assign String value to inputOutput SFString field named class.
    Assign typed object value to SFString cssClass field, similar to setCssClass(String).
    final component
    setCssStyle(String newValue)
    Accessor method to assign String value to inputOutput SFString field named style.
    Assign typed object value to SFString cssClass field, similar to setCssStyle(String).
    final component
    setHtmlID(String newValue)
    Accessor method to assign String value to inputOutput SFString field named id.
    setHtmlID(SFString newValue)
    Assign typed object value to SFString HtmlID field, similar to setHtmlID(String).
    setLevel(int newValue)
    Accessor method to assign int value to inputOutput SFInt32 field named level.
    setLevel(SFInt32 newValue)
    Assign typed object value to SFInt32 level field, similar to setLevel(int).
    final component
    setName(String newValue)
    Accessor method to assign String enumeration value ("Core" | "CADGeometry" | "CubeMapTexturing" | "DIS" | "EnvironmentalEffects" | "EnvironmentalSensor" | "EventUtilities" | "Followers" | "Geometry2D" | "Geometry3D" | "Geospatial" | "Grouping" | "HAnim" | "H-Anim" | "Interpolation" | "KeyDeviceSensor" | "Layering" | "Layout" | "Lighting" | "Navigation" | "Networking" | "NURBS" | "ParticleSystems" | "Picking" | "PointingDeviceSensor" | "TextureProjection" | "Rendering" | "RigidBodyPhysics" | "Scripting" | "Shaders" | "Shape" | "Sound" | "Text" | "Texturing" | "Texturing3D" | "Time" | "VolumeRendering") to inputOutput SFString field named name.
    setName(SFString newValue)
    Assign typed object value to SFString name field, similar to setName(String).
    toStringClassicVRML(int indentLevel)
    Recursive method to provide ClassicVRML string serialization.
    toStringVRML97(int indentLevel)
    Recursive method to provide VRML97 string serialization.
    toStringX3D(int indentLevel)
    Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.
    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.

    Methods inherited from class org.web3d.x3d.jsail.X3DConcreteStatement

    isNode, isStatement

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait