Interface ControlPanelStyle

All Known Implementing Classes:
DefaultControlPanelStyle

public interface ControlPanelStyle
Provides branding for the control panel dialog
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a new header instance for the dialog
    List<? extends Image>
    Returns a list of icons that can be used as dialog icons
    Returns the dialog title
    default boolean
    isPanelActive(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

      List<? extends Image> getDialogIcons()
      Returns a list of icons that can be used as dialog icons
      Returns:
      list of icons
    • isPanelActive

      default boolean isPanelActive(String panelName)
      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