|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.sparkimpl.settings.local.LocalPreferences
public class LocalPreferences
Represents the LocalPreference Model for this system.
Constructor Summary | |
---|---|
LocalPreferences()
|
|
LocalPreferences(java.util.Properties props)
|
Method Summary | |
---|---|
int |
getChatLengthDefaultTimeout()
|
java.lang.String |
getDefaultNickname()
|
java.lang.String |
getDownloadDir()
|
int |
getFileTransferTimeout()
|
java.lang.String |
getHost()
|
int |
getIdleTime()
Returns the number of minutes to set to unavailable if the computer has no activity. |
java.util.Date |
getLastCheckForUpdates()
|
java.lang.String |
getNickname()
|
java.lang.String |
getPassword()
Returns the encoded password. |
java.lang.String |
getPort()
|
java.util.Properties |
getProperties()
|
java.lang.String |
getProtocol()
|
java.lang.String |
getProxyPassword()
|
java.lang.String |
getProxyUsername()
|
java.lang.String |
getResource()
|
java.lang.String |
getServer()
Returns the last Server accessed. |
boolean |
getShowToasterPopup()
|
boolean |
getStartOnStartup()
|
int |
getTimeOut()
Return the smack timeout for requests. |
java.lang.String |
getUsername()
Returns the users username. |
boolean |
getWindowTakesFocus()
|
java.lang.String |
getXmppHost()
|
int |
getXmppPort()
Returns the XMPP Port to communicate on. |
boolean |
isAutoLogin()
Return true if Auto Login is on. |
boolean |
isChatHistoryEnabled()
|
boolean |
isChatRoomNotificationsOn()
|
boolean |
isCompressionEnabled()
|
boolean |
isEmptyGroupsShown()
|
boolean |
isHostAndPortConfigured()
|
boolean |
isIdleOn()
Return true if the IDLE feature is on. |
boolean |
isNewInstall()
Return true if this is a fresh install. |
boolean |
isProxyEnabled()
|
boolean |
isSavePassword()
Return true if the password should be encoded and persisted. |
boolean |
isSpellCheckerEnabled()
|
boolean |
isSSL()
Returns true to use SSL. |
boolean |
isStartedHidden()
|
boolean |
isTimeDisplayedInChat()
|
void |
setAutoLogin(boolean autoLogin)
Turn on or off Auto Login. |
void |
setChatHistoryEnabled(boolean hideChatHistory)
|
void |
setChatLengthDefaultTimeout(int minutes)
|
void |
setChatRoomNotifications(boolean on)
|
void |
setCompressionEnabled(boolean on)
|
void |
setDefaultNickname(java.lang.String defaultNickname)
|
void |
setDownloadDir(java.lang.String downloadDir)
|
void |
setEmptyGroupsShown(boolean shown)
|
void |
setFileTransferTimeout(int minutes)
|
void |
setHost(java.lang.String host)
|
void |
setHostAndPortConfigured(boolean configured)
|
void |
setIdleOn(boolean idleOn)
Set the IDLE feature on or off. |
void |
setIdleTime(int secondIdleTime)
Set the number of minutes to set to unavailable if the computer has no activity. |
void |
setLastCheckForUpdates(java.util.Date lastCheckForUpdates)
|
void |
setNewInstall(boolean newInstall)
Set if this is a fresh install. |
void |
setNickname(java.lang.String nickname)
|
void |
setPassword(java.lang.String password)
Sets the encoded password. |
void |
setPort(java.lang.String port)
|
void |
setProtocol(java.lang.String protocol)
|
void |
setProxyEnabled(boolean proxyEnabled)
|
void |
setProxyPassword(java.lang.String proxyPassword)
|
void |
setProxyUsername(java.lang.String proxyUsername)
|
void |
setResource(java.lang.String resource)
|
void |
setSavePassword(boolean savePassword)
Set to true to encode and save password. |
void |
setServer(java.lang.String server)
Sets the last Server accessed. |
void |
setShowToasterPopup(boolean show)
|
void |
setSpellCheckerEnabled(boolean enabled)
|
void |
setSSL(boolean ssl)
Sets if the agent should use SSL for connecting. |
void |
setStartedHidden(boolean startedHidden)
|
void |
setStartOnStartup(boolean startup)
|
void |
setTimeDisplayedInChat(boolean timeDisplayedInChat)
|
void |
setTimeOut(int timeOut)
Sets the smack timeout for requests. |
void |
setUsername(java.lang.String username)
Sets the Agents username. |
void |
setWindowTakesFocus(boolean focus)
|
void |
setXmppHost(java.lang.String xmppHost)
|
void |
setXmppPort(int xmppPort)
Sets the XMPP Port to communicate on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalPreferences(java.util.Properties props)
public LocalPreferences()
Method Detail |
---|
public java.util.Properties getProperties()
public int getXmppPort()
public void setXmppPort(int xmppPort)
xmppPort
- the XMPP Port to communicate on. Default is 5222.public int getTimeOut()
public void setTimeOut(int timeOut)
timeOut
- the smack timeout.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the encoded password.public boolean isIdleOn()
public void setIdleOn(boolean idleOn)
idleOn
- true to turn idle on.public int getIdleTime()
public void setIdleTime(int secondIdleTime)
secondIdleTime
- the number of minutes.public boolean isAutoLogin()
public void setAutoLogin(boolean autoLogin)
autoLogin
- true if Auto Login should be on.public boolean isSavePassword()
public void setSavePassword(boolean savePassword)
savePassword
- true if the password should be saved.public java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- the agents username.public java.lang.String getServer()
public void setServer(java.lang.String server)
server
- the last Server accessed.public boolean isNewInstall()
public void setNewInstall(boolean newInstall)
newInstall
- true if this is a fresh install.public boolean isSSL()
public void setSSL(boolean ssl)
ssl
- true if we should be using SSL.public java.lang.String getDownloadDir()
public void setDownloadDir(java.lang.String downloadDir)
public boolean isProxyEnabled()
public void setProxyEnabled(boolean proxyEnabled)
public java.lang.String getHost()
public void setHost(java.lang.String host)
public java.lang.String getPort()
public void setPort(java.lang.String port)
public java.lang.String getProxyUsername()
public void setProxyUsername(java.lang.String proxyUsername)
public java.lang.String getProxyPassword()
public void setProxyPassword(java.lang.String proxyPassword)
public java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
public java.lang.String getDefaultNickname()
public void setDefaultNickname(java.lang.String defaultNickname)
public java.util.Date getLastCheckForUpdates()
public void setLastCheckForUpdates(java.util.Date lastCheckForUpdates)
public java.lang.String getXmppHost()
public void setXmppHost(java.lang.String xmppHost)
public boolean isHostAndPortConfigured()
public void setHostAndPortConfigured(boolean configured)
public java.lang.String getResource()
public void setResource(java.lang.String resource)
public boolean isStartedHidden()
public void setStartedHidden(boolean startedHidden)
public boolean isTimeDisplayedInChat()
public void setTimeDisplayedInChat(boolean timeDisplayedInChat)
public boolean isSpellCheckerEnabled()
public void setSpellCheckerEnabled(boolean enabled)
public boolean isChatRoomNotificationsOn()
public void setChatRoomNotifications(boolean on)
public boolean isChatHistoryEnabled()
public void setChatHistoryEnabled(boolean hideChatHistory)
public boolean isEmptyGroupsShown()
public void setEmptyGroupsShown(boolean shown)
public int getFileTransferTimeout()
public void setFileTransferTimeout(int minutes)
public void setChatLengthDefaultTimeout(int minutes)
public int getChatLengthDefaultTimeout()
public void setNickname(java.lang.String nickname)
public java.lang.String getNickname()
public void setShowToasterPopup(boolean show)
public boolean getShowToasterPopup()
public void setWindowTakesFocus(boolean focus)
public boolean getWindowTakesFocus()
public void setStartOnStartup(boolean startup)
public boolean getStartOnStartup()
public void setCompressionEnabled(boolean on)
public boolean isCompressionEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |