Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
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 Details
-
separator
C separator()Adds a separator- Returns:
- this config instance
-
standard
Adds a standard control- Returns:
- this config instance
-
control
- Parameters:
control
- the control to add- Returns:
- this config instance
-
defaults
C defaults()Adds all remaining default controls- Returns:
- this config instance
-
defaults
Adds all remaining default controls, stopping beforestopBefore
- 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
-