public class FwkAuthenticationDialogPane extends FwkDialogPane implements java.awt.event.ComponentListener
,
Serialized Formjavax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_PREFIX |
static java.lang.String |
LABEL |
static java.lang.String |
PASSWORD_LABEL |
protected javax.swing.JPasswordField |
passwordField |
protected java.lang.String |
prefix |
protected int |
textfieldSize |
static java.lang.String |
USERNAME_LABEL |
protected javax.swing.JTextField |
usernameField |
static java.lang.String |
version |
fwkDialog, helpId, icon, ident, tip, title
bgImage, controller, descriptor, fwkItem, imgHeight, imgWidth, lineAppearance, newHeight, newWidth, pageFormat, readingDOM, text, textAppearance, xalign, yalign
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
BOTTOM, CENTER, LEFT, RIGHT, TOP
INFOBUS_SOURCE
AUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME
Constructor and Description |
---|
FwkAuthenticationDialogPane() |
FwkAuthenticationDialogPane(java.lang.String prefix)
The constructor with prefix.
|
FwkAuthenticationDialogPane(java.lang.String prefix,
FwkDialogPaneValueInterface value)
The constructor with prefix and value.
|
FwkAuthenticationDialogPane(java.lang.String prefix,
java.lang.String title,
FwkDialogPaneValueInterface value)
The constructor with prefix, title and value.
|
FwkAuthenticationDialogPane(java.lang.String prefix,
java.lang.String username,
java.lang.String password)
The constructor with prefix, username and password.
|
FwkAuthenticationDialogPane(java.lang.String prefix,
java.lang.String title,
java.lang.String username,
java.lang.String password)
The constructor with prefix, title, username and password.
|
Modifier and Type | Method and Description |
---|---|
void |
componentHidden(java.awt.event.ComponentEvent ev) |
void |
componentMoved(java.awt.event.ComponentEvent ev) |
void |
componentResized(java.awt.event.ComponentEvent ev) |
void |
componentShown(java.awt.event.ComponentEvent ev) |
void |
createPane(java.lang.String username,
java.lang.String password)
Create the authentication dialog.
|
FwkDialogPaneValueInterface |
getSelectedValue()
Get the selected value.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
void |
setSelectedValue(FwkDialogPaneValueInterface value)
Set the selected value.
|
addKeyListener, buttonCreated, cancelPerformed, dialogWillClose, dialogWillOpen, fireKeyEvent, getHelpID, getIcon, getIdent, getKeyListenerArray, getParams, getTip, getTitle, isAllowedToConsume, isScrollable, needsCancel, needsClose, needsHelp, needsOk, needsReset, okPerformed, removeKeyListener, setDefaults, setHelpID, setIcon, setIdent, setTip, setTitle, toString
addCommand, addCommand, addPropertyChangeListener, addPropertyChangeListener, addToGroup, addToGroup, addVetoableChangeListener, addVetoableChangeListener, clearCommands, commandsAvailable, compareTo, deleteGroup, destroyController, fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getAuthor, getBuild, getClassName, getCommand, getCommands, getCommands, getCompany, getCompanyInternetAddress, getController, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getDescriptor, getGroup, getIcon, getIconKey, getIconKey, getInstanceDescriptor, getName, getNumberOfPages, getPageFormat, getPersistentObjectNames, getPresentationString, getPresentationString, getPrintable, getPrintJobName, getProperty, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, getPropertyGroup, getSource, getSupportEMail, getTitleName, getTransferData, getTransferDataFlavors, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, groupExists, isDataFlavorSupported, isPropertyChangeEventSuspended, lostOwnership, paintComponent, print, printPanel, readConstructor, readFromDOM, readingDOM, readingDOM, refresh, release, removeCommand, removeFromGroup, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, setAuthor, setBackgroundImage, setBuild, setClassName, setCommands, setCompany, setCompanyInternetAddress, setController, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setDescriptor, setIcon, setIconKey, setIconKey, setLineAppearance, setName, setPageFormat, setProperty, setPropertyGroup, setSource, setSupportEMail, setText, setTextAlignment, setTextAppearance, setTitleName, suspendChangeManager, suspendPropertyChangeEvents, writeConstructor, writeToDOM, writeToXML
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, 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, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, 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, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, 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, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, 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, transferFocus, transferFocusBackward, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
release
add
public static final java.lang.String version
public static final java.lang.String LABEL
public static final java.lang.String USERNAME_LABEL
public static final java.lang.String PASSWORD_LABEL
public static final java.lang.String DEFAULT_PREFIX
protected javax.swing.JTextField usernameField
protected javax.swing.JPasswordField passwordField
protected int textfieldSize
protected java.lang.String prefix
public FwkAuthenticationDialogPane()
public FwkAuthenticationDialogPane(java.lang.String prefix)
prefix
- The prefix for the property names (e.g. "Fwk", "MyAppl").public FwkAuthenticationDialogPane(java.lang.String prefix, FwkDialogPaneValueInterface value)
prefix
- The prefix for the property names (e.g. "Fwk", "MyAppl").value
- The value of the pane.public FwkAuthenticationDialogPane(java.lang.String prefix, java.lang.String title, FwkDialogPaneValueInterface value)
prefix
- The prefix for the property names (e.g. "Fwk", "MyAppl").title
- The title of the pane.value
- The value of the pane.public FwkAuthenticationDialogPane(java.lang.String prefix, java.lang.String username, java.lang.String password)
prefix
- The prefix for the property names (e.g. "Fwk", "MyAppl").username
- The usernamepassword
- The passwordpublic FwkAuthenticationDialogPane(java.lang.String prefix, java.lang.String title, java.lang.String username, java.lang.String password)
prefix
- The prefix for the property names (e.g. "Fwk", "MyAppl").title
- The title of the dialog.username
- The usernamepassword
- The passwordpublic java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class FwkDialogPane
public void createPane(java.lang.String username, java.lang.String password)
username
- The default user name.password
- The default password.public FwkDialogPaneValueInterface getSelectedValue()
getSelectedValue
in interface FwkDialogPaneInterface
public void setSelectedValue(FwkDialogPaneValueInterface value)
setSelectedValue
in interface FwkDialogPaneInterface
value
- The new value.public void componentHidden(java.awt.event.ComponentEvent ev)
componentHidden
in interface java.awt.event.ComponentListener
public void componentMoved(java.awt.event.ComponentEvent ev)
componentMoved
in interface java.awt.event.ComponentListener
public void componentResized(java.awt.event.ComponentEvent ev)
componentResized
in interface java.awt.event.ComponentListener
public void componentShown(java.awt.event.ComponentEvent ev)
componentShown
in interface java.awt.event.ComponentListener