|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.java.sip.communicator.util.swing.TransparentPanel
net.java.sip.communicator.plugin.sipaccregwizz.AccountPanel
public class AccountPanel
The panel containing all account related information like user name and password.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
AccountPanel(SIPAccountRegistrationForm regform)
Creates an instance of the AccountPanel. |
|
| Method Summary | |
|---|---|
void |
changedUpdate(DocumentEvent e)
|
(package private) String |
getDisplayName()
Returns the display name of the account. |
(package private) char[] |
getPassword()
Returns the password entered by the user. |
(package private) String |
getUserID()
Returns the user identifier entered by the user. |
(package private) void |
initAdvancedForm()
Initializes the advanced account panel. |
void |
insertUpdate(DocumentEvent e)
Handles the DocumentEvent triggered when user types in the UIN field. |
(package private) boolean |
isCreateAccount()
Indicates if the account information provided by this form is for new account or an existing one. |
(package private) boolean |
isRememberPassword()
Indicates if the "remember password" check box is selected. |
(package private) boolean |
isSimpleForm()
Returns true if this panel is opened in a simple form and false if it's opened in an advanced form. |
boolean |
isValidated()
Whether current inserted values into the panel are valid and enough to continue with account creation/modification. |
void |
removeUpdate(DocumentEvent e)
Handles the DocumentEvent triggered when user deletes letters from the UIN field. |
(package private) void |
setCreateButtonSelected()
Selects the create account button. |
(package private) void |
setDisplayName(String displayName)
Sets the display name of the account. |
(package private) void |
setPassword(String password)
Sets the password |
(package private) void |
setRememberPassword(boolean isRememberPassword)
Sets the password remember check box. |
(package private) void |
setSimpleForm(boolean isSimpleForm)
Sets to true if this panel is opened in a simple form and false if it's opened in an advanced form. |
(package private) void |
setUserID(String userID)
Sets the user id. |
(package private) void |
setUserIDEnabled(boolean isEnabled)
Enables/disables the user id text field. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AccountPanel(SIPAccountRegistrationForm regform)
regform - the parent registration form| Method Detail |
|---|
void initAdvancedForm()
public void insertUpdate(DocumentEvent e)
insertUpdate in interface DocumentListenere - the DocumentEvent that notified uspublic void removeUpdate(DocumentEvent e)
removeUpdate in interface DocumentListenere - the DocumentEvent that notified uspublic void changedUpdate(DocumentEvent e)
changedUpdate in interface DocumentListenerString getUserID()
char[] getPassword()
boolean isRememberPassword()
String getDisplayName()
void setDisplayName(String displayName)
displayName - the display name of the accountvoid setUserIDEnabled(boolean isEnabled)
isEnabled - true to enable the user id text field,
false - otherwisevoid setUserID(String userID)
userID - the user id to setvoid setPassword(String password)
password - the passwordvoid setRememberPassword(boolean isRememberPassword)
isRememberPassword - true to select the remember password
check box, false - otherwiseboolean isCreateAccount()
public boolean isValidated()
isValidated in interface ValidatingPanelvoid setSimpleForm(boolean isSimpleForm)
isSimpleForm - indicates if this panel is opened in a simple form or
in an advanced formboolean isSimpleForm()
void setCreateButtonSelected()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||