|
SIP Communicator: 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.Objectnet.java.sip.communicator.impl.gui.main.contactlist.addcontact.AddContactWizardPage1
public class AddContactWizardPage1
The AddContactWizardPage1 is the first page of the "Add Contact" wizard. Contains the SelectAccountPanel, where the user should select the account, where the new contact will be created.
| Field Summary | |
|---|---|
static String |
IDENTIFIER
The identifier of this page. |
| Fields inherited from interface net.java.sip.communicator.service.gui.WizardPage |
|---|
DEFAULT_PAGE_IDENTIFIER, FINISH_PAGE_IDENTIFIER, SUMMARY_PAGE_IDENTIFIER |
| Constructor Summary | |
|---|---|
AddContactWizardPage1(WizardContainer wizard,
NewContact newContact,
Iterator<ProtocolProviderService> providerList)
Creates an instance of AddContactWizardPage1. |
|
| Method Summary | |
|---|---|
void |
commitPage()
Commits all data from the form before going to the next page. |
Object |
getBackPageIdentifier()
Implements the WizardPage.getBackPageIdentifier to return
the back identifier. |
Object |
getIdentifier()
Returns the identifier of this wizard page. |
Object |
getNextPageIdentifier()
Implements the WizardPage.getNextPageIdentifier to return
the next identifier. |
Object |
getWizardForm()
Returns the graphical component corresponding to this wizard page. |
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 the panel is displayed checks the selections and enables the next button if a checkbox is already selected or disables it if nothing is selected. |
void |
pageShown()
Invoked when this WizardPage is shown to the user and has become the current wizard page. |
void |
setNextPageIdentifier(String identifier)
Changes the back page for the current wizard page. |
void |
valueChanged(ListSelectionEvent e)
If there's no protocol selected by default the "Next" button would start as disabled. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String IDENTIFIER
| Constructor Detail |
|---|
public AddContactWizardPage1(WizardContainer wizard,
NewContact newContact,
Iterator<ProtocolProviderService> providerList)
wizard - the parent wizardnewContact - An object that collects all user choices through the
wizard.providerList - The list of available
ProtocolProviderServices, from which the user
could select.| Method Detail |
|---|
public void pageShowing()
pageShowing in interface WizardPagepublic void valueChanged(ListSelectionEvent e)
valueChanged in interface ListSelectionListenere - the ListSelectionEvent that has just occurred.public Object getIdentifier()
getIdentifier in interface WizardPagepublic Object getNextPageIdentifier()
WizardPage.getNextPageIdentifier to return
the next identifier.
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()
getWizardForm in interface WizardPagepublic void commitPage()
commitPage in interface WizardPagepublic 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 setNextPageIdentifier(String identifier)
identifier - the new back page identifier.
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||