public class JoinChatRoomWizardPage1 extends java.lang.Object implements WizardPage, javax.swing.event.ListSelectionListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IDENTIFIER
The identifier of this wizard page.
|
DEFAULT_PAGE_IDENTIFIER, FINISH_PAGE_IDENTIFIER, SUMMARY_PAGE_IDENTIFIER
Constructor and Description |
---|
JoinChatRoomWizardPage1(WizardContainer wizard,
NewChatRoom joinChatRoom,
java.util.Iterator<ChatRoomProviderWrapper> chatRoomProviders)
Creates an instance of JoinChatRoomWizardPage1.
|
Modifier and Type | Method and Description |
---|---|
void |
commitPage()
Saves the selected account before going to the next page.
|
java.lang.Object |
getBackPageIdentifier()
Returns the identifier of the back wizard page.
|
java.lang.Object |
getIdentifier()
Returns the identifier of this wizard page.
|
java.lang.Object |
getNextPageIdentifier()
Returns the identifier of the next wizard page.
|
java.lang.Object |
getWizardForm()
Returns the form contained in 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 check box 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 |
valueChanged(javax.swing.event.ListSelectionEvent e)
Listens for selection evens so that we would only enable the next button
if an account has actually been chosen.
|
public static final java.lang.String IDENTIFIER
public JoinChatRoomWizardPage1(WizardContainer wizard, NewChatRoom joinChatRoom, java.util.Iterator<ChatRoomProviderWrapper> chatRoomProviders)
wizard
- the parent wizard containerjoinChatRoom
- the object that will collect the information through
the wizardchatRoomProviders
- The list of available installed
ChatRoomProviderWrapper, from which the user could select.public void pageShowing()
pageShowing
in interface WizardPage
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in interface javax.swing.event.ListSelectionListener
e
- the ListSelectionEvent that has just occurred.public java.lang.Object getIdentifier()
getIdentifier
in interface WizardPage
public java.lang.Object getNextPageIdentifier()
getNextPageIdentifier
in interface WizardPage
public java.lang.Object getBackPageIdentifier()
getBackPageIdentifier
in interface WizardPage
public java.lang.Object getWizardForm()
getWizardForm
in interface WizardPage
public void pageHiding()
WizardPage
You should add here all operations you need to be executed when this WizardPage is about to be hidden.
pageHiding
in interface WizardPage
public void pageShown()
WizardPage
You should add here all operations you need to be executed when this WizardPage is shown.
pageShown
in interface WizardPage
public void commitPage()
commitPage
in interface WizardPage
public void pageBack()
WizardPage
pageBack
in interface WizardPage
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.