Class ResizeOperation

    • Constructor Detail

      • ResizeOperation

        public ResizeOperation​(IResizableContentPart<? extends javafx.scene.Node> resizablePart)
        Constructs a new ResizeOperation for the manipulation of the given Node.
        Parameters:
        resizablePart - The Node that is manipulated by this operation.
      • ResizeOperation

        public ResizeOperation​(IResizableContentPart<? extends javafx.scene.Node> resizablePart,
                               double dw,
                               double dh)
        Constructs a new ResizeOperation for the manipulation of the given Node. The given delta width and height will be applied when executing this operation.
        Parameters:
        resizablePart - The Node that is manipulated by this operation.
        dw - The delta width that is applied when executing this operation.
        dh - The delta height that is applied when executing this operation.
      • ResizeOperation

        public ResizeOperation​(java.lang.String label,
                               IResizableContentPart<? extends javafx.scene.Node> resizablePart,
                               Dimension initialSize,
                               double dw,
                               double dh)
        Constructs a new ResizeOperation from the given values. Note that the oldLocation does include the layout-bounds minimum.
        Parameters:
        label - Descriptive title for the operation.
        resizablePart - The visual that is resized/relocated.
        initialSize - The old size of the visual.
        dw - The horizontal size difference.
        dh - The vertical size difference.