Interface IWorkflowBpmnLayoutPadBuilder

All Superinterfaces:
IWorkflowBpmnLayoutIdOptionsBuilder<IWorkflowBpmnLayoutPadBuilder>

public interface IWorkflowBpmnLayoutPadBuilder extends IWorkflowBpmnLayoutIdOptionsBuilder<IWorkflowBpmnLayoutPadBuilder>
Builder for configuring the settings when padding an alignment item.
Since:
8.4.0
  • Method Details

    • absolute

      IWorkflowBpmnLayoutPadBuilder absolute(double north, double east, double south, double west)
      Sets the padding in all four directions at once, in absolute terms.
      Parameters:
      north - The north padding.
      east - The east padding.
      south - The south padding.
      west - The west padding.
      Returns:
      This builder for chaining method calls.
    • absolute

      IWorkflowBpmnLayoutPadBuilder absolute(double padding)
      Sets the padding in all four directions at once, in absolute terms.
      Parameters:
      padding - The north, east, south and west padding.
      Returns:
      This builder for chaining method calls.
    • back

      IWorkflowBpmnLayoutPadBuilder back(double back)
      Sets the padding to apply behind the item (when looking in the flow direction).
      Parameters:
      back - The back padding.
      Returns:
      This builder for chaining method calls.
    • build

      <Item extends IWorkflowBpmnAlignmentItem<?,?>> IWorkflowBpmnAlignmentItem<String,Item> build(Item item)
      Pads the given item with the current settings.
      Type Parameters:
      Item - The type of the item to align.
      Parameters:
      item - The item to pad.
      Returns:
      The padded item.
    • crossFlow

      IWorkflowBpmnLayoutPadBuilder crossFlow(double leftAndRight)
      Sets the padding to the left and right of the flow direction.
      Parameters:
      leftAndRight - The cross flow direction padding (left and right).
      Returns:
      This builder for chaining method calls.
    • crossFlow

      IWorkflowBpmnLayoutPadBuilder crossFlow(double left, double right)
      Sets the padding to the left and right of the flow direction.
      Parameters:
      left - The left padding.
      right - The right padding.
      Returns:
      This builder for chaining method calls.
    • direction

      IWorkflowBpmnLayoutPadBuilder direction(ECardinalDirection2D direction, double amount)
      Sets the padding in the given direction.
      Parameters:
      direction - The direction where to set the padding.
      amount - The amount of padding to apply in the given direction.
      Returns:
      This builder for chaining method calls.
    • east

      IWorkflowBpmnLayoutPadBuilder east(double east)
      Sets the padding to the east.
      Parameters:
      east - The east padding.
      Returns:
      This builder for chaining method calls.
    • flow

      IWorkflowBpmnLayoutPadBuilder flow(double backAndFront)
      Sets the padding in front and behind the flow direction.
      Parameters:
      backAndFront - The flow direction padding (back and front).
      Returns:
      This builder for chaining method calls.
    • flow

      IWorkflowBpmnLayoutPadBuilder flow(double back, double front)
      Sets the padding in front and behind the flow direction.
      Parameters:
      back - The back padding.
      front - The front padding.
      Returns:
      This builder for chaining method calls.
    • front

      IWorkflowBpmnLayoutPadBuilder front(double front)
      Sets the padding to apply in front of the item (when looking in the {flow direction).
      Parameters:
      front - The front padding.
      Returns:
      This builder for chaining method calls.
    • left

      IWorkflowBpmnLayoutPadBuilder left(double left)
      Sets the padding to apply to the left of the item (when looking in the flow direction).
      Parameters:
      left - The left padding.
      Returns:
      This builder for chaining method calls.
    • north

      IWorkflowBpmnLayoutPadBuilder north(double north)
      Sets the padding to the north.
      Parameters:
      north - The north padding.
      Returns:
      This builder for chaining method calls.
    • relative

      IWorkflowBpmnLayoutPadBuilder relative(double back, double front, double left, double right)
      Sets the padding in all four directions at once, relative to the flow direction.
      Parameters:
      back - The back padding.
      front - The front padding.
      left - The left padding.
      right - The right padding.
      Returns:
      This builder for chaining method calls.
    • relative

      IWorkflowBpmnLayoutPadBuilder relative(double padding)
      Sets the padding in all four directions at once, relative to the flow direction.
      Parameters:
      padding - The back, front, left and right padding.
      Returns:
      This builder for chaining method calls.
    • right

      IWorkflowBpmnLayoutPadBuilder right(double right)
      Sets the padding to apply to the right of the item (when looking in the flow direction).
      Parameters:
      right - The right padding.
      Returns:
      This builder for chaining method calls.
    • south

      IWorkflowBpmnLayoutPadBuilder south(double south)
      Sets the padding to the south.
      Parameters:
      south - The south padding.
      Returns:
      This builder for chaining method calls.
    • west

      IWorkflowBpmnLayoutPadBuilder west(double west)
      Sets the padding to the west.
      Parameters:
      west - The west padding.
      Returns:
      This builder for chaining method calls.
    • x

      IWorkflowBpmnLayoutPadBuilder x(double westAndEast)
      Sets the padding to the west and east.
      Parameters:
      westAndEast - The west and east padding.
      Returns:
      This builder for chaining method calls.
    • x

      IWorkflowBpmnLayoutPadBuilder x(double west, double east)
      Sets the padding to the west and east.
      Parameters:
      west - The west padding.
      east - The east padding.
      Returns:
      This builder for chaining method calls.
    • y

      IWorkflowBpmnLayoutPadBuilder y(double northAndSouth)
      Sets the padding to the north and south.
      Parameters:
      northAndSouth - The north and south padding.
      Returns:
      This builder for chaining method calls.
    • y

      IWorkflowBpmnLayoutPadBuilder y(double north, double south)
      Sets the padding to the north and south.
      Parameters:
      north - The north padding.
      south - The south padding.
      Returns:
      This builder for chaining method calls.