|
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.icqaccregwizz.FirstWizardPage
public class FirstWizardPage
The FirstWizardPage is the page, where user could enter the uin and the password of the account.
| 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 | |
|---|---|
static String |
FIRST_PAGE_IDENTIFIER
|
static String |
USER_NAME_EXAMPLE
|
| 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 net.java.sip.communicator.service.gui.WizardPage |
|---|
DEFAULT_PAGE_IDENTIFIER, FINISH_PAGE_IDENTIFIER, SUMMARY_PAGE_IDENTIFIER |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
FirstWizardPage(IcqAccountRegistrationWizard wizard)
Creates an instance of FirstWizardPage. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
|
void |
changedUpdate(DocumentEvent e)
|
void |
commitPage()
Saves the user input when the "Next" wizard buttons is clicked. |
Object |
getBackPageIdentifier()
Implements the WizardPage.getBackPageIdentifier to return
the back identifier. |
Object |
getIdentifier()
Implements the WizardPage.getIdentifier to return this
page identifier. |
Object |
getNextPageIdentifier()
Implements the WizardPage.getNextPageIdentifier to return
the next page identifier - the summary page. |
Object |
getSimpleForm()
|
Object |
getWizardForm()
Implements the WizardPage.getWizardForm to return this
panel. |
void |
insertUpdate(DocumentEvent e)
Handles the DocumentEvent triggered when user types in the UIN field. |
boolean |
isCommitted()
|
void |
loadAccount(ProtocolProviderService protocolProvider)
Fills the UIN and Password fields in this panel with the data comming from the given protocolProvider. |
void |
pageBack()
Invoked when user clicks on the "Back" wizard button. |
void |
pageHiding()
Invoked when this WizardPage will be hidden eighter because the user has clicked "Back" or "Next". |
void |
pageShowing()
Before this page is displayed enables or disables the "Next" wizard button according to whether the UIN field is empty. |
void |
pageShown()
Invoked when this WizardPage is shown to the user and has become the current wizard page. |
void |
removeUpdate(DocumentEvent e)
Handles the DocumentEvent triggered when user deletes letters from the UIN 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 |
| Field Detail |
|---|
public static final String FIRST_PAGE_IDENTIFIER
public static final String USER_NAME_EXAMPLE
| Constructor Detail |
|---|
public FirstWizardPage(IcqAccountRegistrationWizard wizard)
wizard - the parent wizard| Method Detail |
|---|
public Object getIdentifier()
WizardPage.getIdentifier to return this
page identifier.
getIdentifier in interface WizardPagepublic Object getNextPageIdentifier()
WizardPage.getNextPageIdentifier to return
the next page identifier - the summary page.
getNextPageIdentifier in interface WizardPagepublic Object getBackPageIdentifier()
WizardPage.getBackPageIdentifier to return
the back identifier. In this case it's null because this is the first
wizard page.
getBackPageIdentifier in interface WizardPagepublic Object getWizardForm()
WizardPage.getWizardForm to return this
panel.
getWizardForm in interface WizardPagepublic void pageShowing()
pageShowing in interface WizardPagepublic void commitPage()
commitPage in interface WizardPagepublic void insertUpdate(DocumentEvent e)
insertUpdate in interface DocumentListenerpublic void removeUpdate(DocumentEvent e)
removeUpdate in interface DocumentListenerpublic void changedUpdate(DocumentEvent e)
changedUpdate in interface DocumentListenerpublic void pageHiding()
WizardPageYou should add here all operations you need to be executed when this WizardPage is about to be hidden.
pageHiding in interface WizardPagepublic void pageShown()
WizardPageYou should add here all operations you need to be executed when this WizardPage is shown.
pageShown in interface WizardPagepublic void pageBack()
WizardPage
pageBack in interface WizardPagepublic void loadAccount(ProtocolProviderService protocolProvider)
protocolProvider - The ProtocolProviderService to load
the data from.public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic Object getSimpleForm()
public boolean isCommitted()
|
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 | |||||||||