All Implemented Interfaces:
DynamicPropertyProvider, LocaleListener, MutableDynamicPropertyProvider, StyleProvider, ComponentLifecycle, QualityMonitor, VisionComponent, ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
RosterManagementPanel, RosterPane, ScheduleManagementPanel, UserManagementPanel

public abstract class AbstractManagerPanel extends AbstractVisionPanel
See Also:
  • Field Details

  • Constructor Details

    • AbstractManagerPanel

      protected AbstractManagerPanel()
  • Method Details

    • paintComponent

      protected void paintComponent(Graphics g)
      This will paint the scheduleEditor by first clearing the underlying space and setting the graphics object to white for cascading to the parent paintComponent method.
      Overrides:
      paintComponent in class AbstractVisionPanel
      Parameters:
      g - the Graphics object required for painting. Must not be null
    • setTitleBackground

      public void setTitleBackground(Color color)
      Sets the TitlePanel background color. This is here for setting this components color via a property.
      Parameters:
      color - the specified color. Must not be null
    • setTitleForeground

      public void setTitleForeground(Color color)
      Sets the TitlePanel text color. This is here for setting this components color via a property.
      Parameters:
      color - the specified color. Must not be null
    • setSaveButtonForeground

      public void setSaveButtonForeground(Color color)
      Sets the text color of the save Button's text. This supports colorization via property edit.
      Parameters:
      color - the Color to set the title text to. Must not be null
    • getSaveButtonForeground

      public Color getSaveButtonForeground()
      Returns the color of the save button.
      Returns:
      the Color of the save button. Will not be null
    • getTitleForeground

      public Color getTitleForeground()
      Gets the TitlePanel text color. This is here for setting this components color via a property.
      Returns:
      the TitlePanel text color. Will not be null
    • getTitleBackground

      public Color getTitleBackground()
      Gets the TitlePanel background color. This is here for setting this components color via a property.
      Returns:
      the TitlePanel background color. Will not be null
    • setTitleSaveButtonBackground

      public void setTitleSaveButtonBackground(Color color)
      Sets the TitlePanel save button background color. This is here for setting this components color via a property.
      Parameters:
      color - the TitlePanel save buttons background color. Must not be null
    • getTitleSaveButtonBackground

      public Color getTitleSaveButtonBackground()
      Gets the TitlePanel save button background color. This is here for setting this components color via a property.
      Returns:
      the TitlePanel save button background color. Will not be null
    • isOptimizedDrawingEnabled

      public boolean isOptimizedDrawingEnabled()
      Overrides:
      isOptimizedDrawingEnabled in class JComponent
    • initPanels

      protected abstract void initPanels(SlidingPane slider)
      Initialize your panels, add at least one to the slider
    • slideToEditor

      protected void slideToEditor(JComponent editor)
    • showUIResponse

      protected void showUIResponse(UIResponse response)
      Pipes the UI response messages into the status panel
    • newTitledBorder

      public static Border newTitledBorder(String title)
      Create a new titled border that insets the contents on the left by 5 px
    • setFont

      public void setFont(Font font)
      Sets the font of the Manager Panel as well as child components.
      Overrides:
      setFont in class JComponent