Interface Control.Builder

    • Method Detail

      • caption

        Control.Builder caption​(String caption)
        Parameters:
        caption - the caption of the control
        Returns:
        this Builder instance
      • enabledState

        Control.Builder enabledState​(StateObserver enabledState)
        Parameters:
        enabledState - the state which controls the enabled state of the control
        Returns:
        this Builder instance
      • mnemonic

        Control.Builder mnemonic​(char mnemonic)
        Parameters:
        mnemonic - the control mnemonic
        Returns:
        this Builder instance
      • smallIcon

        Control.Builder smallIcon​(Icon smallIcon)
        Parameters:
        smallIcon - the small control icon
        Returns:
        this Builder instance
      • largeIcon

        Control.Builder largeIcon​(Icon largeIcon)
        Parameters:
        largeIcon - the large control icon
        Returns:
        this Builder instance
      • description

        Control.Builder description​(String description)
        Parameters:
        description - a string describing the control
        Returns:
        this Builder instance
      • keyStroke

        Control.Builder keyStroke​(KeyStroke keyStroke)
        Parameters:
        keyStroke - the keystroke to associate with the control
        Returns:
        this Builder instance