Class PerspectivePane

java.lang.Object
com.iamsoft.util.ui.javafx.perspective2.PerspectivePane

public class PerspectivePane extends Object
Pane used to control layout of a bunch of child components.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    PerspectivePane(Map<javafx.scene.Node,javafx.beans.property.StringProperty> pNodeToName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    applyMultiChildWidget(Supplier<Widget> pSupplier, Collection<javafx.scene.control.TreeItem<Widget>> pTreeItems)
    Replace all siblings with new widget and let widget adopt newly orphaned widgets.
    org.controlsfx.control.action.Action
    getInjectParentAction(String pName, javafx.beans.property.Property<? extends javafx.scene.control.MultipleSelectionModel<javafx.scene.control.TreeItem<Widget>>> pSelectionModelProperty, Function<List<Widget>,Widget> pWidgetFunction)
     
    org.controlsfx.control.action.Action
    getMaybeTabPaneAction(javafx.beans.property.Property<? extends javafx.scene.control.MultipleSelectionModel<javafx.scene.control.TreeItem<Widget>>> pSelectionModelProperty)
     
    org.controlsfx.control.action.Action
    getMoveAction(javafx.beans.property.Property<? extends javafx.scene.control.MultipleSelectionModel<javafx.scene.control.TreeItem<Widget>>> pSelectionModelProperty, boolean pUp)
     
    org.controlsfx.control.action.Action
    getRemoveAction(javafx.beans.property.Property<? extends javafx.scene.control.MultipleSelectionModel<javafx.scene.control.TreeItem<Widget>>> pSelectionModelProperty)
     
    final javafx.scene.control.TreeItem<Widget>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PerspectivePane

      public PerspectivePane()
    • PerspectivePane

      public PerspectivePane(Map<javafx.scene.Node,javafx.beans.property.StringProperty> pNodeToName)
  • Method Details

    • getRoot

      public final javafx.scene.control.TreeItem<Widget> getRoot()
    • applyMultiChildWidget

      public Runnable applyMultiChildWidget(Supplier<Widget> pSupplier, Collection<javafx.scene.control.TreeItem<Widget>> pTreeItems)
      Replace all siblings with new widget and let widget adopt newly orphaned widgets. Returned runnable will throw IllegalStateException if invoked after modification count has incremented.
      Returns:
      Runnable to complete operation or null if operation is invalid.
    • getMaybeTabPaneAction

      public org.controlsfx.control.action.Action getMaybeTabPaneAction(javafx.beans.property.Property<? extends javafx.scene.control.MultipleSelectionModel<javafx.scene.control.TreeItem<Widget>>> pSelectionModelProperty)
    • getInjectParentAction

      public org.controlsfx.control.action.Action getInjectParentAction(String pName, javafx.beans.property.Property<? extends javafx.scene.control.MultipleSelectionModel<javafx.scene.control.TreeItem<Widget>>> pSelectionModelProperty, Function<List<Widget>,Widget> pWidgetFunction)
    • getMoveAction

      public org.controlsfx.control.action.Action getMoveAction(javafx.beans.property.Property<? extends javafx.scene.control.MultipleSelectionModel<javafx.scene.control.TreeItem<Widget>>> pSelectionModelProperty, boolean pUp)
    • getRemoveAction

      public org.controlsfx.control.action.Action getRemoveAction(javafx.beans.property.Property<? extends javafx.scene.control.MultipleSelectionModel<javafx.scene.control.TreeItem<Widget>>> pSelectionModelProperty)