|
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.Objectnet.java.sip.communicator.impl.gui.utils.Constants
public class Constants
All look and feel related constants are stored here.
| Field Summary | |
|---|---|
static String |
AIM
The AIM protocol. |
static String |
AWAY_STATUS
Indicates that the user is away. |
static Color |
BORDER_COLOR
A color between blue and gray used to paint some borders. |
static Color |
CONTACT_LIST_GROUP_BG_COLOR
The color used to paint the background of contact list groups. |
static Color |
CONTACT_LIST_GROUP_BG_GRADIENT_COLOR
The end color used to paint a gradient mouse over background of some components. |
static String |
DEFAULT_STYLE_PATH
The default path, where chat window styles could be found. |
static String |
DO_NOT_DISTURB_STATUS
Indicates that the user is connected and eager to communicate. |
static Font |
FONT
The default Font object used through this ui implementation. |
static String |
FREE_FOR_CHAT_STATUS
Indicates that the user is connected and eager to communicate. |
static String |
GIBBERISH
The Gibberish protocol. |
static Color |
GRADIENT_DARK_COLOR
The start color used to paint a gradient mouse over background of some components. |
static Color |
GRADIENT_LIGHT_COLOR
The end color used to paint a gradient mouse over background of some components. |
static Color |
HISTORY_IN_CALL_COLOR
The color used to paint the background of an incoming call history record. |
static Color |
HISTORY_OUT_CALL_COLOR
The color used to paint the background of an outgoing call history record. |
static String |
ICQ
The ICQ protocol. |
static String |
JABBER
The Jabber protocol. |
static Color |
LIST_SELECTION_BORDER_COLOR
A color between blue and gray (darker than the other one), used to paint some borders. |
static String |
MSN
The MSN protocol. |
static String |
OFFLINE_STATUS
Indicates that the user is disconnected. |
static String |
ONLINE_STATUS
Indicates that the user is connected and ready to communicate. |
static boolean |
REMOVE_CONTACT_ASK
Indicates whether to ask for confirmation when user tries to delete a contact. |
static boolean |
REMOVE_GROUP_ASK
Indicates whether to ask for confirmation when user tries to delete a contact. |
static Color |
SELECTED_COLOR
The end color used to paint a gradient selected background of some components. |
static String |
SIP
The SIP protocol. |
static String |
SKYPE
The Skype protocol. |
static String |
YAHOO
The Yahoo protocol. |
| Constructor Summary | |
|---|---|
Constants()
|
|
| Method Summary | |
|---|---|
static BufferedImage |
getStatusIcon(PresenceStatus status)
Returns the image corresponding to the given presence status. |
static BufferedImage |
getStatusIcon(String status)
Returns the image corresponding to the given status. |
static boolean |
isSpecialChar(int charCode)
Checks if the given char is in the list of application special chars. |
static void |
loadAdiumStyle()
Loads a chat window style. |
static void |
loadSimpleStyle(StyleSheet styleSheet,
Font defaultFont)
Temporary method to load the css style used in the chat window. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ONLINE_STATUS
public static final String OFFLINE_STATUS
public static final String AWAY_STATUS
public static final String FREE_FOR_CHAT_STATUS
public static final String DO_NOT_DISTURB_STATUS
public static boolean REMOVE_CONTACT_ASK
public static boolean REMOVE_GROUP_ASK
public static final Color HISTORY_IN_CALL_COLOR
public static final Color HISTORY_OUT_CALL_COLOR
public static final Color SELECTED_COLOR
public static final Color GRADIENT_DARK_COLOR
public static final Color GRADIENT_LIGHT_COLOR
public static final Color BORDER_COLOR
public static final Color LIST_SELECTION_BORDER_COLOR
public static final Color CONTACT_LIST_GROUP_BG_COLOR
public static final Color CONTACT_LIST_GROUP_BG_GRADIENT_COLOR
public static final Font FONT
public static final String ICQ
public static final String MSN
public static final String AIM
public static final String YAHOO
public static final String JABBER
public static final String SKYPE
public static final String GIBBERISH
public static final String SIP
public static final String DEFAULT_STYLE_PATH
| Constructor Detail |
|---|
public Constants()
| Method Detail |
|---|
public static boolean isSpecialChar(int charCode)
charCode - The char code.public static BufferedImage getStatusIcon(PresenceStatus status)
status - The presence status.
public static BufferedImage getStatusIcon(String status)
status - ONLINE_STATUS or OFFLINE_STATUS
public static void loadAdiumStyle()
public static void loadSimpleStyle(StyleSheet styleSheet,
Font defaultFont)
styleSheet - style sheetdefaultFont - default font
|
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 | |||||||||