Interface ControlPanelStyle
- All Known Implementing Classes:
DefaultControlPanelStyle
public interface ControlPanelStyle
Provides branding for the control panel dialog
-
Method Summary
Modifier and TypeMethodDescriptionReturns a new header instance for the dialogReturns a list of icons that can be used as dialog iconsReturns the dialog titledefault booleanisPanelActive(String panelName) Returns true if the panel with the given unique name should be displayed in the control panel
-
Method Details
-
getDialogTitle
String getDialogTitle()Returns the dialog title- Returns:
- dialog title
-
createHeader
JPanel createHeader()Returns a new header instance for the dialog- Returns:
- header instance
-
getDialogIcons
Returns a list of icons that can be used as dialog icons- Returns:
- list of icons
-
isPanelActive
Returns true if the panel with the given unique name should be displayed in the control panel- Parameters:
panelName- the unique panel name- Returns:
- true if the panel should be displayed
-