|
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.dictaccregwizz.FirstWizardPage
public class FirstWizardPage
The FirstWizardPage is the page, where user could enter the host, port and the strategy 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
|
| 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(DictAccountRegistrationWizard wizard)
Creates an instance of FirstWizardPage. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Handles the action of the button. |
void |
autoSelectStrategy()
Automatic selection of a strategy |
void |
changedUpdate(DocumentEvent e)
Handles the DocumentEvent triggered when user changes an attribute or set of attributes from the UIN field. |
void |
commitPage()
Saves the user input when the "Next" wizard buttons is clicked. |
Object |
getBackPageIdentifier()
Implements the WizardPage.getBackPageIdentifier to return
the back identifier, which is null as this is the first wizard page. |
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()
|
boolean |
isFirstAccount()
Indicates if this is the first dict account |
void |
loadAccount(ProtocolProviderService protocolProvider)
Fills the Host, Port and Strategy 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 will be shown eighter because the user has clicked "Back" on the next wizard page or "Next" on the previous one. |
void |
populateStrategies()
Start the thread which will populate the Strategies List |
void |
progressMessage(String message)
Informs the user of the current status of the search Should only be called by the thread |
void |
removeUpdate(DocumentEvent e)
Handles the DocumentEvent triggered when user deletes letters from the UIN field. |
void |
setStrategies(List<net.java.dict4j.Strategy> strategies)
|
void |
setStrategyButtonEnable(boolean e)
Enables or disable the Next Button and the Strategy Button |
void |
strategiesSearchComplete()
Informs the wizard that the search of the strategies is complete. |
void |
strategiesSearchFailure(String reason,
net.java.dict4j.DictException de)
Informs the wizard that the search of the strategies is a failure Should only be called by the thread |
| 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
| Constructor Detail |
|---|
public FirstWizardPage(DictAccountRegistrationWizard 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, which is null as 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 DocumentListenere - the DocumentEvent triggered when user types in the UIN
field.public void removeUpdate(DocumentEvent e)
removeUpdate in interface DocumentListenere - The DocumentEvent triggered when user deletes letters
from the UIN field.public void changedUpdate(DocumentEvent e)
changedUpdate in interface DocumentListenere - The DocumentEvent triggered when an attribute or set of
attributes changed from the UIN field.public void pageHiding()
pageHiding in interface WizardPagepublic void pageShown()
pageShown in interface WizardPagepublic void pageBack()
pageBack in interface WizardPagepublic void loadAccount(ProtocolProviderService protocolProvider)
protocolProvider - The ProtocolProviderService to load
the data from.public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - The event generated when the button is pressed.public void populateStrategies()
public void autoSelectStrategy()
public void setStrategies(List<net.java.dict4j.Strategy> strategies)
strategies - public void progressMessage(String message)
message - Search statuspublic void strategiesSearchComplete()
public void strategiesSearchFailure(String reason,
net.java.dict4j.DictException de)
reason - Reason messagede - Exception thrownpublic void setStrategyButtonEnable(boolean e)
e - TRUE enables - FALSE disablespublic Object getSimpleForm()
public boolean isFirstAccount()
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 | |||||||||