Interface LayoutController

    • Method Detail

      • getParent

        LayoutController getParent()
        Retrieves the parent of this layout controller. This allows childs to query their context.
        Returns:
        the layout controller's parent to null if there is no parent.
      • isAdvanceable

        boolean isAdvanceable()
        Checks, whether the layout controller would be advanceable. If this method returns true, it is generally safe to call the 'advance()' method.
        Returns:
        true, if the layout controller is advanceable, false otherwise.
      • clone

        java.lang.Object clone()
        Creates a copy of this layout controller.
        Returns:
        a copy.
      • createPrecomputeInstance

        LayoutController createPrecomputeInstance​(FlowController fc)
        Derives a copy of this controller that is suitable to perform a precomputation. The returned layout controller must be independent from the it's anchestor controller.
        Parameters:
        fc - a new flow controller for the precomputation.
        Returns:
        a copy that is suitable for precomputation.
      • getNode

        java.lang.Object getNode()