public class ChangePasswordDialog extends AbstractChangePasswordDialog
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ChangePasswordDialog.BackgroundPanel |
JDialog.AccessibleJDialogDialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityTypeWindow.AccessibleAWTWindow, Window.TypeContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
protected ChangePasswordDialog.BackgroundPanel |
background |
static Integer |
BACKGROUND_LAYER |
static int |
bottomMargin |
static int |
labelBottomMargin |
static int |
labelLeftMargin |
static int |
labelRightMargin |
static int |
labelTopMargin |
static int |
leftMargin |
static int |
rightMargin |
static int |
topMargin |
acceptButton, application, bundle, CHANGE_PASSWORD_DIALOG_BUTTON, CHANGE_PASSWORD_DIALOG_CURRENT_PASSWORD, CHANGE_PASSWORD_DIALOG_NEW_PASSWORD, CHANGE_PASSWORD_DIALOG_REPEAT_NEW_PASSWORD, currentPassword, locator, newPassword, oldPassword, params, repeatNewPassword, securityLabel, useraccessibleContext, rootPane, rootPaneCheckingEnabledDEFAULT_MODALITY_TYPEBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTCHANGE_PASSWORD_DIALOG_CLASS, CHANGE_PASSWORD_ICON, CHANGE_PASSWORD_TEXT, ENCRYPT, LOGIN_ICON, PASSWORD_LEVEL, SECURITY_BUTTON, SECURITY_LABEL, SECURITY_PASSWORD_PARAMETERS, WINDOW_TITLEDEBUG_LANGUAGEDISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSEABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
ChangePasswordDialog(Application mainApplication,
Hashtable parameters,
EntityReferenceLocator locator,
String user,
String password) |
| Modifier and Type | Method and Description |
|---|---|
protected PasswordDataField |
createCurrentPassword(Hashtable parameters)
Returns the
PasswordDataField which references to the
"currentPassword". |
protected PasswordDataField |
createPassword(Hashtable parameters)
Returns the
PasswordDataField which references to the
"newPassword". |
protected PasswordDataField |
createRepeatPassword(Hashtable parameters)
Returns the
PasswordDataField which references to the
"repeatNewPassword". |
protected JLabel |
createSecurityLabel(Hashtable parameters)
Return a
JLabel, where it shows messages about the password
update. |
Dimension |
getPreferredSize() |
protected void |
installListener() |
protected void |
layoutComponents(Hashtable parameters) |
protected void |
populateCentralPane(JPanel centralPanel) |
void |
setComponentLocale(Locale l) |
addTextToTranslate, createAcceptButton, createImage, getApplication, getEntityReferenceLocator, getPasswordValue, getTextsToTranslate, setPassword, setResourceBundle, showChangePassword, showChangePasswordInParentLocationaddImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBackaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static int topMargin
public static int bottomMargin
public static int leftMargin
public static int rightMargin
public static int labelTopMargin
public static int labelBottomMargin
public static int labelLeftMargin
public static int labelRightMargin
protected ChangePasswordDialog.BackgroundPanel background
public static final Integer BACKGROUND_LAYER
public ChangePasswordDialog(Application mainApplication, Hashtable parameters, EntityReferenceLocator locator, String user, String password)
public Dimension getPreferredSize()
getPreferredSize in class Containerprotected void layoutComponents(Hashtable parameters)
protected void populateCentralPane(JPanel centralPanel)
protected PasswordDataField createCurrentPassword(Hashtable parameters)
AbstractChangePasswordDialogPasswordDataField which references to the
"currentPassword".
This method check the defaultXMLParameters parameters for the tag
<Class name="ChangePasswordDialog.CurrentPassword"> and create
the PasswordDataField with them. This PasswordDataField
has as attr="currentPassword".
createCurrentPassword in class AbstractChangePasswordDialogparameters - The Hashtable with the configuration parameters of the
application. Does nothing, it is only for extension purposes,
e.g., the "encrypt" attribute in the configuration
parameters of the application.PasswordDataField which references to the
"currentPassword".protected PasswordDataField createPassword(Hashtable parameters)
AbstractChangePasswordDialogPasswordDataField which references to the
"newPassword".
This method check the defaultXMLParameters parameters for the tag
<Class name="ChangePasswordDialog.NewPassword"> and create the
PasswordDataField with them. This PasswordDataField has
as attr="newPassword".
createPassword in class AbstractChangePasswordDialogparameters - The Hashtable with the configuration parameters of the
application. Does nothing, it is only for extension purposes,
e.g., the "encrypt" attribute in the configuration
parameters of the application. It's recommended to check if in
the xml parameters of application exists parameters in:
DefaultXMLParametersManager.getParameters(IChangePasswordDialog.SECURITY_PASSWORD_PARAMETERS);, and add it to the hashtable.PasswordDataField which references to the
"newPassword".protected PasswordDataField createRepeatPassword(Hashtable parameters)
AbstractChangePasswordDialogPasswordDataField which references to the
"repeatNewPassword".
This method check the defaultXMLParameters parameters for the tag
<Class name="ChangePasswordDialog.RepeatNewPassword"> and create
the PasswordDataField with them. This PasswordDataField
has as attr="repeatNewPassword".
createRepeatPassword in class AbstractChangePasswordDialogparameters - The Hashtable with the configuration parameters of the
application. Does nothing, it is only for extension purposes,
e.g., the "encrypt" attribute in the configuration
parameters of the application.PasswordDataField which references to the
"repeatNewPassword".protected JLabel createSecurityLabel(Hashtable parameters)
AbstractChangePasswordDialogJLabel, where it shows messages about the password
update.createSecurityLabel in class AbstractChangePasswordDialogparameters - The Hashtable with the configuration parameters of the
application. Does nothing, it is only for extension purposes.JLabelprotected void installListener()
public void setComponentLocale(Locale l)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.