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.

X3D statement tooltip: [X3D statement] Each added component statement indicates needed scene functionality above the given X3D profile.
See Also:
X3D Abstract Specification: component, X3D Tooltips: component, X3D Scene Authoring Hints
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
    String constant COMPONENT defines X3D component for the component element: Core
    static int
    Integer constant LEVEL provides default X3D Core component level for this element: 1
    static int
    SFInt32 field named level has default value 1 (Java syntax) or 1 (XML syntax).
    static String
    String constant NAME provides name of this element: component.
    static String
    Tooltip: The CADGeometry component is provided for Computer-Aided Design (CAD) nodes.
    static 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 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 String
    SFString field named name has default value equal to an empty string.
    static 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 String
    Tooltip: Nodes in the Environmental effects component support the creation of realistic environmental effects such as panoramic backgrounds and fog.
    static 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 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 String
    Tooltip: The Follower nodes (Chasers and Dampers) support dynamic creation of smooth parameter transitions at run time.
    static String
    Tooltip: The Geometry2D component defines how two-dimensional geometry is specified and what shapes are available.
    static 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 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 String
    Tooltip: The Grouping component describes how nodes are organized into groups to establish a transformation hierarchy for the X3D scene graph.
    static 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 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 String
    Tooltip: Interpolator nodes provide keyframe-based animation capability.
    static String
    Tooltip: The Key Device Sensor defines how keyboard keystrokes are inserted into an X3D world.
    static String
    Tooltip: The Layering component describes how to layer a set of subscene layers into a composite scene.
    static 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 String
    Tooltip: The Lighting component specifies how light sources are defined and positioned, as well as how lights effect the rendered image.
    static String
    Tooltip: The Navigation component specifies how a user can effectively and intuitively move through and around a 3D scene.
    static 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 String
    Tooltip: The NURBS component describes Non-uniform Rational B-Spline (NURBS) geometry and interpolation nodes.
    static 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 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 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 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 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 String
    Tooltip: The Script component describes how Script nodes are used to effect changes in X3D worlds.
    static String
    Tooltip: The programmable shaders component describes how programmable shaders are specified and how they affect the visual appearance of geometry.
    static String
    Tooltip: The Shape component defines nodes for associating geometry with their visible properties and the scene environment.
    static String
    Tooltip: The Sound component defines how sound is delivered to an X3D world as well as how sounds are accessed.
    static String
    Tooltip: The Text component defines how text strings are rendered in an X3D scene.
    static String
    Tooltip: TextureProjector nodes project textures onto geometry in a scene.
    static String
    Tooltip: The Texturing component specifies how 2D texture images are defined and then positioned on associated geometry.
    static 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 String
    Tooltip: The Time component defines how time is sensed, computed and associated with events in an X3D scene.
    static String
    Tooltip: The Volume Rendering component provides the ability to specify and render volumetric data sets.

    Fields inherited from class org.web3d.x3d.jsail.X3DConcreteElement

    validationResult
  • 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.
    findNodeByDEF​(String DEFvalue)
    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.
    Defines X3D component for the component element: Core
    int
    Provides default X3D component level for this element: 1
    Provides name of this element: component
    getFieldType​(String fieldName)
    Indicate type corresponding to given fieldName.
    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" | "TextureProjector" | "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.
    void
    Initialize all member variables to default values.
    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).
    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" | "TextureProjector" | "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