public final class Preferences
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_TIMER
The default value to be displayed and to be considered
for
TIMER . |
Constructor and Description |
---|
Preferences() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
addEnableChangeListener(java.beans.PropertyChangeListener listener)
Adds listener to detect property changes.
|
(package private) static void |
addTimerChangeListener(java.beans.PropertyChangeListener listener)
Adds listener to detect timer property changes.
|
(package private) static int |
getTimer()
Returns the time in minutes to consider a pc in idle state.
|
(package private) static boolean |
isEnabled()
Whether change status on away is enabled.
|
(package private) static void |
saveData(boolean enabled,
java.lang.String timer)
Save data in the configuration file
|
public static final int DEFAULT_TIMER
TIMER
.static boolean isEnabled()
static int getTimer()
static void saveData(boolean enabled, java.lang.String timer)
enabled
- is enabledtimer
- the time value to savestatic void addEnableChangeListener(java.beans.PropertyChangeListener listener)
listener
- the listener to notify.static void addTimerChangeListener(java.beans.PropertyChangeListener listener)
listener
- the listener to notify.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.