Interface Controls.ControlsBuilder

All Superinterfaces:
Control.Builder<Controls,Controls.ControlsBuilder>
Enclosing interface:
Controls

public static interface Controls.ControlsBuilder extends Control.Builder<Controls,Controls.ControlsBuilder>
A builder for Controls
  • Method Details

    • control

      Parameters:
      control - the control to add to this controls instance
      Returns:
      this Builder instance
    • control

      Controls.ControlsBuilder control(Control.Builder<?,?> controlBuilder)
      Parameters:
      controlBuilder - the control builder to add to this controls instance
      Returns:
      this Builder instance
    • controlAt

      Controls.ControlsBuilder controlAt(int index, Control control)
      Parameters:
      index - the index at which to add the control
      control - the control to add to this controls instance
      Returns:
      this Builder instance
    • controlAt

      Controls.ControlsBuilder controlAt(int index, Control.Builder<?,?> controlBuilder)
      Parameters:
      index - the index at which to add the control
      controlBuilder - the control builder to add to this controls instance
      Returns:
      this Builder instance
    • controls

      Controls.ControlsBuilder controls(Control... controls)
      Parameters:
      controls - the controls to add
      Returns:
      this Builder instance
    • controls

      Controls.ControlsBuilder controls(Collection<? extends Control> controls)
      Parameters:
      controls - the controls to add
      Returns:
      this Builder instance
    • controls

      Controls.ControlsBuilder controls(Control.Builder<?,?>... controlBuilders)
      Parameters:
      controlBuilders - the control builder to add
      Returns:
      this Builder instance
    • action

      Parameters:
      action - the Action to add to this controls instance
      Returns:
      this Builder instance
    • actionAt

      Controls.ControlsBuilder actionAt(int index, Action action)
      Parameters:
      index - the index at which to add the action
      action - the Action to add to this controls instance
      Returns:
      this Builder instance
    • actions

      Controls.ControlsBuilder actions(Action... actions)
      Parameters:
      actions - the Actions to add to this controls instance
      Returns:
      this Builder instance
    • actions

      Parameters:
      actions - the Actions to add to this controls instance
      Returns:
      this Builder instance
    • separator

      Adds a separator to the Controls
      Returns:
      this Builder instance
    • separatorAt

      Controls.ControlsBuilder separatorAt(int index)
      Adds a separator to the Controls
      Parameters:
      index - the index at which to insert the separator
      Returns:
      this Builder instance
    • remove

      Parameters:
      action - the action to remove
      Returns:
      this Builder instance
    • removeAll

      Removes all actions from this controls builder instance
      Returns:
      this Builder instance