Interface ControlConfig<T extends Enum<T>,C extends ControlConfig<T,C>>

Type Parameters:
T - the type used to identify the standard controls available
All Known Subinterfaces:
EntityTablePanel.PopupMenuConfig, EntityTablePanel.ToolBarConfig

public interface ControlConfig<T extends Enum<T>,C extends ControlConfig<T,C>>
Configures controls.
  • Method Summary

    Modifier and Type
    Method
    Description
    Clears all controls from this config
    control(Control control)
     
     
    Adds all remaining default controls
    defaults(T stopBefore)
    Adds all remaining default controls, stopping before stopBefore
    Adds a separator
    standard(T control)
    Adds a standard control
  • Method Details

    • separator

      C separator()
      Adds a separator
      Returns:
      this config instance
    • standard

      C standard(T control)
      Adds a standard control
      Returns:
      this config instance
    • control

      C control(Control control)
      Parameters:
      control - the control to add
      Returns:
      this config instance
    • defaults

      C defaults()
      Adds all remaining default controls
      Returns:
      this config instance
    • defaults

      C defaults(T stopBefore)
      Adds all remaining default controls, stopping before stopBefore
      Parameters:
      stopBefore - the table control to stop before
      Returns:
      this config instance
    • clear

      C clear()
      Clears all controls from this config
      Returns:
      this config instance
    • createControls

      Controls createControls()
      Returns:
      a Controls instance based on this config