All Implemented Interfaces:
DynamicPropertyProvider, LocaleListener, MutableDynamicPropertyProvider, StyleProvider, ComponentLifecycle, EnabledEx, ExtensibleComponent, QualityMonitor, VisionComponent, ImageObserver, MenuContainer, Serializable, Accessible

public class UserManagementPanel extends AbstractManagerPanel implements EnabledEx, ExtensibleComponent, LocaleListener
See Also:
  • Field Details

  • Constructor Details

    • UserManagementPanel

      public UserManagementPanel()
  • Method Details

    • setFont

      public void setFont(Font font)
      Description copied from class: AbstractManagerPanel
      Sets the font of the Manager Panel as well as child components.
      Overrides:
      setFont in class AbstractManagerPanel
    • isComponentEnabled

      public boolean isComponentEnabled()
      Specified by:
      isComponentEnabled in interface EnabledEx
    • setComponentEnabled

      public void setComponentEnabled(boolean componentEnabled)
      Specified by:
      setComponentEnabled in interface EnabledEx
    • evaluateEnabled

      public void evaluateEnabled()
      Specified by:
      evaluateEnabled in interface EnabledEx
    • getExtensionFunctions

      public Map<String,ExtensionFunction> getExtensionFunctions()
      Specified by:
      getExtensionFunctions in interface ExtensibleComponent
    • setExtensionFunctions

      public void setExtensionFunctions(Map<String,ExtensionFunction> map)
      Specified by:
      setExtensionFunctions in interface ExtensibleComponent
    • initPanels

      protected void initPanels(SlidingPane slider)
      Description copied from class: AbstractManagerPanel
      Initialize your panels, add at least one to the slider
      Specified by:
      initPanels in class AbstractManagerPanel
    • onStartup

      protected void onStartup()
      Description copied from class: AbstractVisionPanel
      Subclasses should override this to provide startup logic.
      Overrides:
      onStartup in class AbstractVisionPanel
    • onShutdown

      protected void onShutdown()
      Description copied from class: AbstractVisionPanel
      Subclasses should override this to provide shutdown logic.
      Overrides:
      onShutdown in class AbstractVisionPanel
    • localeChanged

      public void localeChanged(Locale newLocale)
      Specified by:
      localeChanged in interface LocaleListener
      Overrides:
      localeChanged in class AbstractVisionPanel
    • getRowHeight

      public int getRowHeight()
    • setRowHeight

      public void setRowHeight(int height)
    • getUserProfile

      public String getUserProfile()
    • setUserProfile

      public void setUserProfile(String userProfile)
    • getMode

      public int getMode()
    • setMode

      public void setMode(int mode)
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • isColumnUsername

      public boolean isColumnUsername()
    • setColumnUsername

      public void setColumnUsername(boolean columnUsername)
    • isColumnName

      public boolean isColumnName()
    • setColumnName

      public void setColumnName(boolean columnName)
    • isColumnRoles

      public boolean isColumnRoles()
    • setColumnRoles

      public void setColumnRoles(boolean columnRoles)
    • isColumnContactInfo

      public boolean isColumnContactInfo()
    • setColumnContactInfo

      public void setColumnContactInfo(boolean columnContactInfo)
    • isColumnSchedule

      public boolean isColumnSchedule()
    • setColumnSchedule

      public void setColumnSchedule(boolean columnSchedule)
    • isAllowRoleManagement

      public boolean isAllowRoleManagement()
    • setAllowRoleManagement

      public void setAllowRoleManagement(boolean allowRoleManagement)
    • isAllowUsernameEditing

      public boolean isAllowUsernameEditing()
    • setAllowUsernameEditing

      public void setAllowUsernameEditing(boolean allowUsernameEditing)
    • isAllowRoleAssigning

      public boolean isAllowRoleAssigning()
    • setAllowRoleAssigning

      public void setAllowRoleAssigning(boolean allowRoleAssigning)
    • isAllowContactInfoEditing

      public boolean isAllowContactInfoEditing()
    • setAllowContactInfoEditing

      public void setAllowContactInfoEditing(boolean allowContactInfoEditing)
    • isAllowScheduleModifications

      public boolean isAllowScheduleModifications()
    • setAllowScheduleModifications

      public void setAllowScheduleModifications(boolean allowScheduleModifications)
    • getTouchscreenMode

      public int getTouchscreenMode()
    • setTouchscreenMode

      public void setTouchscreenMode(int touchscreenMode)
    • updateTables

      public void updateTables()
      Causes the user table and role tables to update their data
    • setWindowBackground

      public void setWindowBackground(Color color)
      Sets the background to the various components contained within this panel. This is here for setting this components color via a property.
      Parameters:
      color - the specified color. Must not be null
    • setWindowForeground

      public void setWindowForeground(Color color)
      Sets the text color of the various components contained within this panel. This is here for setting this components color via a property.
      Parameters:
      color - the specified color. Must not be null
    • setTableBackground

      public void setTableBackground(Color color)
      Sets the background to the various tables contained within this panel. This is here for setting this components color via a property.
      Parameters:
      color - the specified color. Must not be null
    • setTableForeground

      public void setTableForeground(Color color)
      Sets the text color to the various tables contained within this panel. This is here for setting this components color via a property.
      Parameters:
      color - the specified color. Must not be null
    • setTableHeaderBackground

      public void setTableHeaderBackground(Color color)
      Sets the header background to the various tables contained within this panel. This is here for setting this components color via a property.
      Parameters:
      color - the specified color. Must not be null
    • setTableHeaderTextColor

      public void setTableHeaderTextColor(Color color)
      Sets the header text color to the various tables contained within this panel. This is here for setting this components color via a property.
      Parameters:
      color - the specified color. Must not be null
    • setWindowHeaderBackground

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

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

      public void setWindowHeaderSaveButtonForeground(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
    • getWindowHeaderSaveButtonForeground

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

      public Color getWindowHeaderForeground()
      Gets the header text color for this panel. This is here for setting this components color via a property.
      Returns:
      the color for the header text. Will not be null
    • getWindowHeaderBackground

      public Color getWindowHeaderBackground()
      Gets the header background for this panel. This is here for setting this components color via a property.
      Returns:
      the color for the header background. Will not be null
    • setWindowHeaderSaveButtonBackground

      public void setWindowHeaderSaveButtonBackground(Color color)
      Sets the header save button background for this panel. This is here for setting this components color via a property.
      Parameters:
      color - the specified color. Must not be null
    • getWindowHeaderSaveButtonBackground

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

      public void setSchedulePreviewAvailableColor(Color color)
      Sets the schedule preview text color contained within UserManagementPanel.UserEdit. This is here for setting this components color via a property.
      Parameters:
      color - the specified color. Must not be null
    • setEventForeground

      public void setEventForeground(Color color)
      Sets the schedule preview available text color contained within the UserManagementPanel.UserEdit. This is here for setting this components color via a property.
      Parameters:
      color - the specified color. Must not be null
    • getTableHeaderTextColor

      public Color getTableHeaderTextColor()
      Gets the tables' header text color for the various tables in this panel. This is here for setting this components color via a property.
      Returns:
      the tables' header text color. Will not be null
    • getTableHeaderBackground

      public Color getTableHeaderBackground()
      Gets the tables' header background color. This is here for setting this components color via a property.
      Returns:
      the tables' header background color. Will not be null
    • getWindowBackground

      public Color getWindowBackground()
      Gets the background color for this panel This is here for setting this components color via a property.
      Returns:
      the panels background color. Will not be null
    • getWindowForeground

      public Color getWindowForeground()
      Gets the text color for this panel This is here for setting this components color via a property.
      Returns:
      the panels background color. Will not be null
    • getTableBackground

      public Color getTableBackground()
      Gets the table background color for this panel This is here for setting this components color via a property.
      Returns:
      the tables' background color. Will not be null
    • getTableForeground

      public Color getTableForeground()
      Gets the text color for the tables in this panel This is here for setting this components color via a property.
      Returns:
      the tables' text color. Will not be null
    • getSchedulePreviewAvailableColor

      public Color getSchedulePreviewAvailableColor()
      Gets the highlight color for the ScheduleView contained in this panel This is here for setting this components color via a property.
      Returns:
      the ScheduleView's available highlight color. Will not be null
    • getEventForeground

      public Color getEventForeground()
      Gets the available text color for the ScheduleView contained in this panel This is here for setting this components color via a property.
      Returns:
      the ScheduleView's available text color. Will not be null