|
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.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JMenuBar
net.java.sip.communicator.util.swing.SIPCommMenuBar
net.java.sip.communicator.impl.gui.main.call.AccountSelectorBox
public class AccountSelectorBox
The AccountSelectorBox is located in the main application window under the field where the telephone number is written. It contains all accounts that support telephony operation set and is meant to be used by user to select the account, which he/she would like to use when calling. The selected account could be changed at any time. By default the most connected account is selected.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JMenuBar |
|---|
JMenuBar.AccessibleJMenuBar |
| 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 |
|---|
| 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 java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
AccountSelectorBox(MainCallPanel parentPanel)
Creates an instance of AccountSelectorBox. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Listens when an account was selected. |
void |
addAccount(ProtocolProviderService pps)
Adds an account to this account selector box. |
boolean |
containsAccount(ProtocolProviderService pps)
Returns TRUE if the account corresponding to the given protocol provider is already contained in this selector box, otherwise returns FALSE. |
int |
getAccountsNumber()
Returns the number of accounts contained in this account selector box. |
SIPCommMenu |
getMenu()
Returns the protocol menu. |
void |
removeAccount(ProtocolProviderService pps)
Removes the given account from this account selector box. |
void |
setSelected(ProtocolProviderService pps)
Sets the selected contact to the given proto contact. |
void |
setSelected(ProtocolProviderService pps,
ImageIcon icon)
|
void |
updateAccountStatus(ProtocolProviderService pps)
Updates the protocol account status. |
| Methods inherited from class javax.swing.JMenuBar |
|---|
add, addNotify, getAccessibleContext, getComponent, getComponentAtIndex, getComponentIndex, getHelpMenu, getMargin, getMenu, getMenuCount, getSelectionModel, getSubElements, getUI, getUIClassID, isBorderPainted, isSelected, menuSelectionChanged, paintBorder, paramString, processKeyBinding, processKeyEvent, processMouseEvent, removeNotify, setBorderPainted, setHelpMenu, setMargin, setSelected, setSelectionModel, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AccountSelectorBox(MainCallPanel parentPanel)
| Method Detail |
|---|
public void addAccount(ProtocolProviderService pps)
pps - the protocol provider for the added accountpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void updateAccountStatus(ProtocolProviderService pps)
pps - the protocol provider service to update
public void setSelected(ProtocolProviderService pps,
ImageIcon icon)
public void setSelected(ProtocolProviderService pps)
pps - the protocol provider to selectpublic SIPCommMenu getMenu()
public boolean containsAccount(ProtocolProviderService pps)
pps - the protocol provider service for the account
public int getAccountsNumber()
public void removeAccount(ProtocolProviderService pps)
pps - the protocol provider service corresponding to the account to
remove
|
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 | |||||||||