public class DefaultChangePasswordDialog extends AbstractChangePasswordDialog implements IChangePasswordDialog
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 String |
changePasswordText |
protected JLabel |
icon |
protected JPanel |
securityPanel |
protected JLabel |
textLabel |
protected String |
titleKey |
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 |
|---|
DefaultChangePasswordDialog(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 void |
createLayout() |
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. |
protected JPanel |
createSecurityPanel(Hashtable parameters) |
Vector |
getTextsToTranslate()
Returns all the texts in the element suitable for being translated.
|
protected void |
installListener() |
void |
setComponentLocale(Locale l) |
void |
setResourceBundle(ResourceBundle resourceBundle)
Sets the language resource bundle.
|
addTextToTranslate, createAcceptButton, createImage, getApplication, getEntityReferenceLocator, getPasswordValue, setPassword, 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, getPreferredSize, 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, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetApplication, getEntityReferenceLocator, getPasswordValue, setPassword, showChangePassword, showChangePasswordInParentLocationprotected JLabel icon
protected String changePasswordText
protected JLabel textLabel
protected String titleKey
protected JPanel securityPanel
public DefaultChangePasswordDialog(Application mainApplication, Hashtable parameters, EntityReferenceLocator locator, String user, String password)
protected void createLayout()
protected void installListener()
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.JLabelpublic void setComponentLocale(Locale l)
setComponentLocale in interface Internationalizationpublic Vector getTextsToTranslate()
InternationalizationgetTextsToTranslate in interface InternationalizationgetTextsToTranslate in class AbstractChangePasswordDialogpublic void setResourceBundle(ResourceBundle resourceBundle)
InternationalizationsetResourceBundle in interface InternationalizationsetResourceBundle in class AbstractChangePasswordDialogresourceBundle - the new language bundle.Copyright © 2016 Imatia Innovation S.L.. All rights reserved.