- 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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.iamsoft.util.ui.javafx.perspective.widget.Widget
Widget.Type
-
-
Constructor Summary
Constructors Constructor Description LeafWidget(javafx.scene.Node pNode, String pName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PermutableObservableList<Widget>
getChildren()
List of child nodes.javafx.scene.Node
getNode()
JavaFX control that contains children.Widget.Type
getType()
-
Methods inherited from class com.iamsoft.util.ui.javafx.perspective.widget.AbstractWidget
nameProperty
-
-
-
-
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.
-
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 classAbstractWidget
-
-