public class UserManagementPanel extends AbstractManagerPanel implements EnabledEx, ExtensibleComponent, LocaleListener
Modifier and Type | Class and Description |
---|---|
static class |
UserManagementPanel.PySaveContext
This is available to the user as the saveContext variable passed in on certain extension functions.
|
AbstractManagerPanel.GatewayInvokeWorker
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static int |
MODE_EDIT_CURRENT |
static int |
MODE_EDIT_SINGLE |
static int |
MODE_MANAGE |
protected java.lang.String |
username |
protected java.lang.String |
userProfile |
slider, status, title
antialias, context, cursorCode, dynamicProps
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
DISABLED_BY_PERMISSIONS
COMPONENT_RUNNING
RESERVED_SET_KEY
COMPONENT_LOCKED, COMPONENT_PERMISSIONS, COMPONENT_SECURITY, COMPONENT_TRANSLATIONS
Constructor and Description |
---|
UserManagementPanel() |
Modifier and Type | Method and Description |
---|---|
void |
evaluateEnabled() |
java.util.Map<java.lang.String,ExtensionFunction> |
getExtensionFunctions() |
java.awt.Font |
getFont() |
int |
getMode() |
int |
getRowHeight() |
int |
getTouchscreenMode() |
java.lang.String |
getUsername() |
java.lang.String |
getUserProfile() |
protected void |
initPanels(SlidingPane slider)
Initialize your panels, add at least one to the slider
|
boolean |
isAllowContactInfoEditing() |
boolean |
isAllowRoleAssigning() |
boolean |
isAllowRoleManagement() |
boolean |
isAllowScheduleModifications() |
boolean |
isAllowUsernameEditing() |
boolean |
isColumnContactInfo() |
boolean |
isColumnName() |
boolean |
isColumnRoles() |
boolean |
isColumnSchedule() |
boolean |
isColumnUsername() |
boolean |
isComponentEnabled() |
void |
localeChanged(java.util.Locale newLocale) |
protected void |
onShutdown()
Subclasses should override this to provide shutdown logic.
|
protected void |
onStartup()
Subclasses should override this to provide startup logic.
|
void |
setAllowContactInfoEditing(boolean allowContactInfoEditing) |
void |
setAllowRoleAssigning(boolean allowRoleAssigning) |
void |
setAllowRoleManagement(boolean allowRoleManagement) |
void |
setAllowScheduleModifications(boolean allowScheduleModifications) |
void |
setAllowUsernameEditing(boolean allowUsernameEditing) |
void |
setColumnContactInfo(boolean columnContactInfo) |
void |
setColumnName(boolean columnName) |
void |
setColumnRoles(boolean columnRoles) |
void |
setColumnSchedule(boolean columnSchedule) |
void |
setColumnUsername(boolean columnUsername) |
void |
setComponentEnabled(boolean componentEnabled) |
void |
setExtensionFunctions(java.util.Map<java.lang.String,ExtensionFunction> map) |
void |
setFont(java.awt.Font font)
Sets the font of the Manager Panel as well as child components.
|
void |
setMode(int mode) |
void |
setRowHeight(int height) |
void |
setTouchscreenMode(int touchscreenMode) |
void |
setUsername(java.lang.String username) |
void |
setUserProfile(java.lang.String userProfile) |
void |
updateTables()
Causes the user table and role tables to update their data
|
isOptimizedDrawingEnabled, newTitledBorder, showUIResponse, slideToEditor
getAppContext, getCursorCode, getDataQuality, getDynamicProps, getProperties, getPropertyValue, getStyles, getToolTipText, initStyleListener, isAntialias, isComponentRunning, isPropertyDefined, paintChildren, paintComponent, paintOverlayOverChildren, setAntialias, setCursorCode, setDataQuality, setDynamicProps, setName, setPropertyValue, setStyles, setToolTipText, setVisible, shutdownComponent, startupComponent, translate, updateQuality
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAppContext, shutdownComponent, startupComponent
public static final int MODE_MANAGE
public static final int MODE_EDIT_CURRENT
public static final int MODE_EDIT_SINGLE
protected java.lang.String userProfile
protected java.lang.String username
public java.awt.Font getFont()
getFont
in interface java.awt.MenuContainer
getFont
in class java.awt.Component
public void setFont(java.awt.Font font)
AbstractManagerPanel
setFont
in class AbstractManagerPanel
public boolean isComponentEnabled()
isComponentEnabled
in interface EnabledEx
public void setComponentEnabled(boolean componentEnabled)
setComponentEnabled
in interface EnabledEx
public void evaluateEnabled()
evaluateEnabled
in interface EnabledEx
public java.util.Map<java.lang.String,ExtensionFunction> getExtensionFunctions()
getExtensionFunctions
in interface ExtensibleComponent
public void setExtensionFunctions(java.util.Map<java.lang.String,ExtensionFunction> map)
setExtensionFunctions
in interface ExtensibleComponent
protected void initPanels(SlidingPane slider)
AbstractManagerPanel
initPanels
in class AbstractManagerPanel
protected void onStartup()
AbstractVisionPanel
onStartup
in class AbstractVisionPanel
protected void onShutdown()
AbstractVisionPanel
onShutdown
in class AbstractVisionPanel
public void localeChanged(java.util.Locale newLocale)
localeChanged
in interface LocaleListener
localeChanged
in class AbstractVisionPanel
public int getRowHeight()
public void setRowHeight(int height)
public java.lang.String getUserProfile()
public void setUserProfile(java.lang.String userProfile)
public int getMode()
public void setMode(int mode)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public boolean isColumnUsername()
public void setColumnUsername(boolean columnUsername)
public boolean isColumnName()
public void setColumnName(boolean columnName)
public boolean isColumnRoles()
public void setColumnRoles(boolean columnRoles)
public boolean isColumnContactInfo()
public void setColumnContactInfo(boolean columnContactInfo)
public boolean isColumnSchedule()
public void setColumnSchedule(boolean columnSchedule)
public boolean isAllowRoleManagement()
public void setAllowRoleManagement(boolean allowRoleManagement)
public boolean isAllowUsernameEditing()
public void setAllowUsernameEditing(boolean allowUsernameEditing)
public boolean isAllowRoleAssigning()
public void setAllowRoleAssigning(boolean allowRoleAssigning)
public boolean isAllowContactInfoEditing()
public void setAllowContactInfoEditing(boolean allowContactInfoEditing)
public boolean isAllowScheduleModifications()
public void setAllowScheduleModifications(boolean allowScheduleModifications)
public int getTouchscreenMode()
public void setTouchscreenMode(int touchscreenMode)
public void updateTables()