|
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.Objectnet.java.sip.communicator.impl.gui.main.account.Account
public class Account
Represents an account in the account list.
| Constructor Summary | |
|---|---|
Account(AccountID accountID)
Creates an account object with the given accountName and icon. |
|
Account(ProtocolProviderService protocolProvider)
Creates an Account instance from the given protocolProvider. |
|
| Method Summary | |
|---|---|
AccountID |
getAccountID()
Returns the account identifier. |
JCheckBox |
getEnableCheckBox()
Returns the enable check box corresponding to this account. |
Icon |
getIcon()
The icon of the account. |
String |
getName()
Returns the account name. |
String |
getProtocolName()
Returns the protocol name of the account. |
ProtocolProviderService |
getProtocolProvider()
Returns the protocol provider, on which this account is based. |
Icon |
getStatusIcon()
Returns the status icon of this account. |
String |
getStatusName()
Returns the status name. |
boolean |
isEnabled()
Returns true to indicate that this account is enabled, false - otherwise. |
void |
setEnableCheckBox(JCheckBox enableCheckBox)
Sets the enable check box. |
void |
setEnabled(boolean isEnabled)
Sets the isDisabled property. |
void |
setProtocolProvider(ProtocolProviderService protocolProvider)
Sets the given protocolProvider to this account. |
String |
toString()
Returns the string representation of this account. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Account(ProtocolProviderService protocolProvider)
protocolProvider - the protocol provider on which this account is
basedpublic Account(AccountID accountID)
accountID - the identifier of the account| Method Detail |
|---|
public ProtocolProviderService getProtocolProvider()
public AccountID getAccountID()
public String getName()
public String getProtocolName()
public Icon getIcon()
public String getStatusName()
public Icon getStatusIcon()
public boolean isEnabled()
public void setProtocolProvider(ProtocolProviderService protocolProvider)
protocolProvider - the ProtocolProviderService
corresponding to this accountpublic void setEnabled(boolean isEnabled)
isEnabled - indicates if this account is currently
disabledpublic void setEnableCheckBox(JCheckBox enableCheckBox)
enableCheckBox - the enable check box corresponding to this accountpublic JCheckBox getEnableCheckBox()
public String toString()
toString in class Object
|
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 | |||||||||