public class Constants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
BORDER_COLOR
A color between blue and gray used to paint some borders.
|
static java.awt.Color |
CALL_HISTORY_EVEN_ROW_COLOR
Background color for even records in call history.
|
static java.awt.Color |
CHAT_ROOM_ROW_COLOR
Background color for chat room contact rows.
|
static java.awt.Color |
CONTACT_LIST_GROUP_BG_COLOR
The color used to paint the background of contact list groups.
|
static java.awt.Color |
CONTACT_LIST_GROUP_BG_GRADIENT_COLOR
The end color used to paint a gradient mouse over background of some
components.
|
static java.lang.String |
DEFAULT_STYLE_PATH
The default path, where chat window styles could be found.
|
static java.awt.Font |
FONT
The default Font object used through this ui implementation.
|
static java.awt.Color |
GRADIENT_DARK_COLOR
The start color used to paint a gradient mouse over background of some
components.
|
static java.awt.Color |
GRADIENT_LIGHT_COLOR
The end color used to paint a gradient mouse over background of some
components.
|
static java.awt.Color |
LIST_SELECTION_BORDER_COLOR
A color between blue and gray (darker than the other one), used to paint
some borders.
|
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 java.awt.Color |
SELECTED_COLOR
The start color used to paint a gradient selected background of some
components.
|
static java.awt.Color |
SELECTED_GRADIENT_COLOR
The end color used to paint a gradient selected background of some
components.
|
Constructor and Description |
---|
Constants() |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
getMessageStatusIcon(PresenceStatus status)
Returns the image corresponding to the given presence status.
|
static java.awt.image.BufferedImage |
getStatusIcon(PresenceStatus status)
Returns the image corresponding to the given presence 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(javax.swing.text.html.StyleSheet styleSheet,
java.awt.Font defaultFont)
Temporary method to load the css style used in the chat window.
|
static void |
reload()
Reloads constants.
|
public static boolean REMOVE_CONTACT_ASK
public static boolean REMOVE_GROUP_ASK
public static java.awt.Color CALL_HISTORY_EVEN_ROW_COLOR
public static java.awt.Color CHAT_ROOM_ROW_COLOR
public static java.awt.Color SELECTED_COLOR
public static java.awt.Color SELECTED_GRADIENT_COLOR
public static java.awt.Color GRADIENT_DARK_COLOR
public static java.awt.Color GRADIENT_LIGHT_COLOR
public static java.awt.Color BORDER_COLOR
public static java.awt.Color LIST_SELECTION_BORDER_COLOR
public static java.awt.Color CONTACT_LIST_GROUP_BG_COLOR
public static java.awt.Color CONTACT_LIST_GROUP_BG_GRADIENT_COLOR
public static final java.awt.Font FONT
public static final java.lang.String DEFAULT_STYLE_PATH
public static boolean isSpecialChar(int charCode)
charCode
- The char code.public static java.awt.image.BufferedImage getStatusIcon(PresenceStatus status)
status
- The presence status.public static java.awt.image.BufferedImage getMessageStatusIcon(PresenceStatus status)
status
- The presence status.public static void loadAdiumStyle()
public static void loadSimpleStyle(javax.swing.text.html.StyleSheet styleSheet, java.awt.Font defaultFont)
styleSheet
- style sheetdefaultFont
- default fontpublic static void reload()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.