java.lang.Object
com.iamsoft.util.ui.javafx.perspective.widget.AbstractWidget
com.iamsoft.util.ui.javafx.perspective.widget.LeafWidget
All Implemented Interfaces:
Widget

public class LeafWidget extends AbstractWidget
Leaf node that simply displays Node.
  • Constructor Details

    • LeafWidget

      public LeafWidget(javafx.scene.Node pNode, String pName)
  • Method Details

    • getNode

      public javafx.scene.Node getNode()
      Description copied from interface: Widget
      JavaFX control that contains children.
    • getType

      public Widget.Type getType()
    • getChildren

      public PermutableObservableList<Widget> getChildren()
      Description copied from class: AbstractWidget
      List of child nodes. Implementers are responsible for making sure that modifying this list mutates scene graph. Note that included nodes may be hidden due to an ancestral node being hidden. This list merely keeps track of children that are visible from the perspective of this node (i.e. the immediate parent).
      Specified by:
      getChildren in class AbstractWidget