Interface ControlPanelStyle

  • All Known Implementing Classes:
    DefaultControlPanelStyle

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

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      javax.swing.JPanel createHeader()
      Returns a new header instance for the dialog
      java.util.List<? extends java.awt.Image> getDialogIcons()
      Returns a list of icons that can be used as dialog icons
      java.lang.String getDialogTitle()
      Returns the dialog title
      default boolean isPanelActive​(java.lang.String panelName)
      Returns true if the panel with the given unique name should be displayed in the control panel
    • Method Detail

      • getDialogTitle

        java.lang.String getDialogTitle()
        Returns the dialog title
        Returns:
        dialog title
      • createHeader

        javax.swing.JPanel createHeader()
        Returns a new header instance for the dialog
        Returns:
        header instance
      • getDialogIcons

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

        default boolean isPanelActive​(java.lang.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