|
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.service.protocol.jabberconstants.JabberStatusEnum
public class JabberStatusEnum
The JabberStatusEnum gives access to presence states for the Sip protocol. All status icons corresponding to presence states are located with the help of the imagePath parameter
| Field Summary | |
|---|---|
static String |
AVAILABLE
The Online status. |
static String |
AWAY
The Away status. |
static String |
DO_NOT_DISTURB
The DND status. |
static String |
EXTENDED_AWAY
The Free For Chat status. |
static String |
FREE_FOR_CHAT
The Free For Chat status. |
static String |
OFFLINE
Indicates an Offline status or status with 0 connectivity. |
static String |
ON_THE_PHONE
On The Phone Chat status. |
List<PresenceStatus> |
supportedStatusSet
The supported status set stores all statuses supported by this protocol implementation. |
static String |
UNKNOWN
The Unknown status. |
| Method Summary | |
|---|---|
static JabberStatusEnum |
getJabberStatusEnum(String iconPath)
Returns an instance of JabberStatusEnum for the specified iconPath or creates a new one if it doesn't already exist. |
net.java.sip.communicator.service.protocol.jabberconstants.JabberStatusEnum.JabberPresenceStatus |
getStatus(String statusName)
Returns the offline Jabber status. |
static String[] |
getStatusNames()
Get all status name as array. |
Iterator<PresenceStatus> |
getSupportedStatusSet()
Returns an iterator over all status instances supported by the sip provider. |
static byte[] |
loadIcon(String imagePath)
Loads an image from a given image path. |
static byte[] |
loadIcon(String imagePath,
Class<?> clazz)
Loads the icon. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String AVAILABLE
public static final String AWAY
public static final String DO_NOT_DISTURB
public static final String FREE_FOR_CHAT
public static final String ON_THE_PHONE
public static final String EXTENDED_AWAY
public static final String OFFLINE
public static final String UNKNOWN
public final List<PresenceStatus> supportedStatusSet
| Method Detail |
|---|
public static JabberStatusEnum getJabberStatusEnum(String iconPath)
iconPath - the location containing the status icons that should
be used by this enumeration.
public net.java.sip.communicator.service.protocol.jabberconstants.JabberStatusEnum.JabberPresenceStatus getStatus(String statusName)
statusName - the name of the status.
public Iterator<PresenceStatus> getSupportedStatusSet()
public static String[] getStatusNames()
public static byte[] loadIcon(String imagePath)
imagePath - The path to the image resource.
public static byte[] loadIcon(String imagePath,
Class<?> clazz)
imagePath - path of the imageclazz - class name
|
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 | |||||||||