Interface Controls.Builder

All Superinterfaces:
Control.Builder
Enclosing interface:
Controls

public static interface Controls.Builder extends Control.Builder
A builder for Controls
See Also:
  • Method Details

    • name

      Specified by:
      name in interface Control.Builder
      Parameters:
      name - the name for this controls instance
      Returns:
      this Builder instance
    • description

      Controls.Builder description(String description)
      Specified by:
      description in interface Control.Builder
      Parameters:
      description - a description for this controls instance
      Returns:
      this Builder instance
    • mnemonic

      Controls.Builder mnemonic(char mnenomic)
      Specified by:
      mnemonic in interface Control.Builder
      Parameters:
      mnenomic - the mnemonic to assign to this controls instance
      Returns:
      this Builder instance
    • keyStroke

      Controls.Builder keyStroke(KeyStroke keyStroke)
      Specified by:
      keyStroke in interface Control.Builder
      Parameters:
      keyStroke - the keystroke to associate with this controls instance
      Returns:
      this Builder instance
    • enabled

      Controls.Builder enabled(StateObserver enabled)
      Specified by:
      enabled in interface Control.Builder
      Parameters:
      enabled - the state observer dictating the enabled state of this controls instance
      Returns:
      this Builder instance
    • smallIcon

      Controls.Builder smallIcon(Icon smallIcon)
      Specified by:
      smallIcon in interface Control.Builder
      Parameters:
      smallIcon - the icon
      Returns:
      this Builder instance
    • control

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

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

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

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

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

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

      Controls.Builder separator()
      Adds a separator to the Controls
      Returns:
      this Builder instance
    • build

      Controls build()
      Builds the Controls
      Specified by:
      build in interface Control.Builder
      Returns:
      a new Controls instance