Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.gui.main.chatroomslist.joinforms
Class JoinChatRoomWizardPage2

java.lang.Object
  extended by net.java.sip.communicator.impl.gui.main.chatroomslist.joinforms.JoinChatRoomWizardPage2
All Implemented Interfaces:
WizardPage

public class JoinChatRoomWizardPage2
extends Object
implements WizardPage

The JoinChatRoomWizardPage2 is the second page of the "Join chat room" wizard. Contains the SearchChatRoomPanel, where the user should specify the chat room to join.

Author:
Yana Stamcheva

Field Summary
static String IDENTIFIER
           
 
Fields inherited from interface net.java.sip.communicator.service.gui.WizardPage
DEFAULT_PAGE_IDENTIFIER, FINISH_PAGE_IDENTIFIER, SUMMARY_PAGE_IDENTIFIER
 
Constructor Summary
JoinChatRoomWizardPage2(WizardContainer wizard, NewChatRoom joinChatRoom)
          Creates an instance of JoinChatRoomWizardPage2.
 
Method Summary
 void commitPage()
          Invoked when user clicks on the "Next" wizard button.
 Object getBackPageIdentifier()
          Implements the WizardPanelDescriptor method to return the identifier of the previous wizard page.
 Object getIdentifier()
          Implements the WizardPanelDescriptor method to return the identifier of this page.
 Object getNextPageIdentifier()
          Implements the WizardPanelDescriptor method to return the identifier of the next wizard page.
 Object getWizardForm()
          Returns the form contained in this wizard page.
 void pageBack()
          Invoked when user clicks on the "Back" wizard button.
 void pageHiding()
          Before finishing the wizard sets the identifier entered by the user to the NewChatRoom object.
 void pageShowing()
          Invoked when this WizardPage will be shown eighter because the user has clicked "Back" on the next wizard page or "Next" on the previous one.
 void pageShown()
          Pre-configures some properties when showing the page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDENTIFIER

public static final String IDENTIFIER
See Also:
Constant Field Values
Constructor Detail

JoinChatRoomWizardPage2

public JoinChatRoomWizardPage2(WizardContainer wizard,
                               NewChatRoom joinChatRoom)
Creates an instance of JoinChatRoomWizardPage2.

Parameters:
wizard - the parent wizard container
joinChatRoom - the object that collects all information for the chat room, collected throughout the wizard
Method Detail

getNextPageIdentifier

public Object getNextPageIdentifier()
Implements the WizardPanelDescriptor method to return the identifier of the next wizard page.

Specified by:
getNextPageIdentifier in interface WizardPage
Returns:
the identifier of the next wizard page

getBackPageIdentifier

public Object getBackPageIdentifier()
Implements the WizardPanelDescriptor method to return the identifier of the previous wizard page.

Specified by:
getBackPageIdentifier in interface WizardPage
Returns:
the identifier of the previous wizard page

pageHiding

public void pageHiding()
Before finishing the wizard sets the identifier entered by the user to the NewChatRoom object.

Specified by:
pageHiding in interface WizardPage

getIdentifier

public Object getIdentifier()
Implements the WizardPanelDescriptor method to return the identifier of this page.

Specified by:
getIdentifier in interface WizardPage
Returns:
the identifier of this page

getWizardForm

public Object getWizardForm()
Returns the form contained in this wizard page. In this case it's the ChatRoomNamePanel.

Specified by:
getWizardForm in interface WizardPage
Returns:
the form contained in this wizard page

pageShown

public void pageShown()
Pre-configures some properties when showing the page.

Specified by:
pageShown in interface WizardPage

pageShowing

public void pageShowing()
Description copied from interface: WizardPage
Invoked when this WizardPage will be shown eighter because the user has clicked "Back" on the next wizard page or "Next" on the previous one. This method should be invoked from the WizardContainer implementation just before this page is shown to the user.

You should add here all operations you need to be executed when this WizardPage is about to be shown.

Specified by:
pageShowing in interface WizardPage

commitPage

public void commitPage()
Description copied from interface: WizardPage
Invoked when user clicks on the "Next" wizard button. You should add here all operations you need to be executed when user clicks "Next" on this WizardPage.

Specified by:
commitPage in interface WizardPage

pageBack

public void pageBack()
Description copied from interface: WizardPage
Invoked when user clicks on the "Back" wizard button. You should add here all operations you need to be executed when user clicks "Back" on this WizardPage.

Specified by:
pageBack in interface WizardPage

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.