Class LayoutGroup

All Implemented Interfaces:
X3DChildNode, X3DNode, X3DBoundedObject, X3DGroupingNode, LayoutGroup

public class LayoutGroup extends X3DConcreteNode implements LayoutGroup
LayoutGroup is a Grouping node that can contain most nodes, whose children are related by a common layout within a parent layout.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. LayoutGroup node tooltip: (X3D version 3.2 or later) [X3DGroupingNode,X3DVisibleObject] LayoutGroup is a Grouping node that can contain most nodes, whose children are related by a common layout within a parent layout. The layout field contains an X3DLayoutNode node that provides the information required to locate and size the layout region of the LayoutGroup node relative to its parent’s layout region. LayoutGroup content is clipped by the specified viewport node.
  • Hint: The origin of the node is always in the center of its layout region. Thus, children (with the exception of LayoutGroup) are specified in a coordinate system whose origin is located at the center of the rectangle and can be transformed from that location.
  • Warning: a LayoutGroup can only be a child of a LayoutLayer node or another LayoutGroup node.
  • Hint: insert a Shape node before adding geometry or Appearance.
  • Hint: LayoutGroup does not directly have any pixel-dependent concepts. However, it can contain a Layout node that does have pixel-specific options.

Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also:
  • Field Details

    • NAME

      public static final String NAME
      String constant NAME provides name of this element: LayoutGroup.
      See Also:
    • COMPONENT

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the LayoutGroup element: Layout
      See Also:
    • LEVEL

      public static final int LEVEL
      Integer constant LEVEL provides default X3D Layout component level for this element: 1
      See Also:
    • BBOXCENTER_DEFAULT_VALUE

      public static final float[] BBOXCENTER_DEFAULT_VALUE
      SFVec3f field named bboxCenter has default value {0f,0f,0f} (Java syntax) or 0 0 0 (XML syntax).
    • BBOXDISPLAY_DEFAULT_VALUE

      public static final boolean BBOXDISPLAY_DEFAULT_VALUE
      SFBool field named bboxDisplay has default value false (Java syntax) or false (XML syntax).
      See Also:
    • BBOXSIZE_DEFAULT_VALUE

      public static final float[] BBOXSIZE_DEFAULT_VALUE
      SFVec3f field named bboxSize has default value {-1f,-1f,-1f} (Java syntax) or -1 -1 -1 (XML syntax).
    • IS_DEFAULT_VALUE

      public static final IS IS_DEFAULT_VALUE
      SFNode field named IS has default value null (Java syntax) or NULL (XML syntax).
    • LAYOUT_DEFAULT_VALUE

      public static final X3DLayoutNode LAYOUT_DEFAULT_VALUE
      SFNode field named layout has default value null (Java syntax) or NULL (XML syntax).
    • METADATA_DEFAULT_VALUE

      public static final X3DMetadataObject METADATA_DEFAULT_VALUE
      SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).
    • VIEWPORT_DEFAULT_VALUE

      public static final X3DViewportNode VIEWPORT_DEFAULT_VALUE
      SFNode field named viewport has default value null (Java syntax) or NULL (XML syntax).
    • VISIBLE_DEFAULT_VALUE

      public static final boolean VISIBLE_DEFAULT_VALUE
      SFBool field named visible has default value true (Java syntax) or true (XML syntax).
      See Also:
    • containerField_DEFAULT_VALUE

      public static final String containerField_DEFAULT_VALUE
      containerField describes typical field relationship of a node to its parent. Usage is not ordinarily needed when using this API, this default value is provided for informational purposes only.
      containerField_DEFAULT_VALUE = "children";
      containerField_ALLOWED_VALUES = {"children" }; type xs:NMTOKEN
      See Also:
    • toField_ADDCHILDREN

      public static final String toField_ADDCHILDREN
      toField ROUTE name for MFNode field named addChildren.
      See Also:
    • fromField_BBOXDISPLAY

      public static final String fromField_BBOXDISPLAY
      fromField ROUTE name for SFBool field named bboxDisplay.
      See Also:
    • toField_BBOXDISPLAY

      public static final String toField_BBOXDISPLAY
      toField ROUTE name for SFBool field named bboxDisplay.
      See Also:
    • fromField_CHILDREN

      public static final String fromField_CHILDREN
      fromField ROUTE name for MFNode field named children.
      See Also:
    • toField_CHILDREN

      public static final String toField_CHILDREN
      toField ROUTE name for MFNode field named children.
      See Also:
    • fromField_IS

      public static final String fromField_IS
      fromField ROUTE name for SFNode field named IS.
      See Also:
    • fromField_LAYOUT

      public static final String fromField_LAYOUT
      fromField ROUTE name for SFNode field named layout.
      See Also:
    • toField_LAYOUT

      public static final String toField_LAYOUT
      toField ROUTE name for SFNode field named layout.
      See Also:
    • fromField_METADATA

      public static final String fromField_METADATA
      fromField ROUTE name for SFNode field named metadata.
      See Also:
    • toField_METADATA

      public static final String toField_METADATA
      toField ROUTE name for SFNode field named metadata.
      See Also:
    • toField_REMOVECHILDREN

      public static final String toField_REMOVECHILDREN
      toField ROUTE name for MFNode field named removeChildren.
      See Also:
    • fromField_VIEWPORT

      public static final String fromField_VIEWPORT
      fromField ROUTE name for SFNode field named viewport.
      See Also:
    • toField_VIEWPORT

      public static final String toField_VIEWPORT
      toField ROUTE name for SFNode field named viewport.
      See Also:
    • fromField_VISIBLE

      public static final String fromField_VISIBLE
      fromField ROUTE name for SFBool field named visible.
      See Also:
    • toField_VISIBLE

      public static final String toField_VISIBLE
      toField ROUTE name for SFBool field named visible.
      See Also:
  • Constructor Details

    • LayoutGroup

      public LayoutGroup()
      Constructor for LayoutGroup to initialize member variables with default values.
    • LayoutGroup

      public LayoutGroup(String DEFlabel)
      Utility constructor that assigns DEF label after initializing member variables with default values.
      Parameters:
      DEFlabel - unique DEF name for this X3D node
  • Method Details