Class LeafWidget

  • All Implemented Interfaces:
    Widget

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

      • LeafWidget

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

      • getNode

        public javafx.scene.Node getNode()
        Description copied from interface: Widget
        JavaFX control that contains children.
      • 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