|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.relayirc.swingui.ChatOptions
User's option settings such as nick name, font and colors
as well as favorite servers, channels and users.
Properties supported by getProperty and setProperty.
The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
Original Code: Relay IRC Chat EngineInner Class Summary | |
class |
ChatOptions.ActionList
|
class |
ChatOptions.ChannelList
|
class |
ChatOptions.ListenerList
|
class |
ChatOptions.ObjectList
Base class for internal collections. |
class |
ChatOptions.ServerList
|
class |
ChatOptions.UserList
|
Constructor Summary | |
ChatOptions()
|
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
|
ChatOptions.ServerList |
getAllServers()
Get all servers, favorites have isFavorite = true. |
Server |
getCurrentServer()
Get the current server. |
User |
getCurrentUser()
Get the current user. |
ChatOptions.ActionList |
getCustomChannelActions()
Get custom channel actions. |
ChatOptions.ListenerList |
getCustomChannelListeners()
Get custom channel listeners. |
ChatOptions.ActionList |
getCustomMenuActions()
Get custom menu actions. |
ChatOptions.ActionList |
getCustomServerActions()
Get custom server actions. |
ChatOptions.ListenerList |
getCustomServerListeners()
Get custom server listeners. |
ChatOptions.ActionList |
getCustomUserActions()
Get custom user actions. |
ChatOptions.ChannelList |
getFavoriteChannels()
Get favorite channels. |
ChatOptions.UserList |
getFavoriteUsers()
Get favorite users. |
java.lang.String |
getProperty(java.lang.String name)
Get a named string property, or empty string if propety is undefined. |
void |
initNewOptions()
Initialize options with default values. |
boolean |
isFresh()
Determine if user has edited options before. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
void |
setCurrentServer(Server s)
Set the current server. |
void |
setCurrentUser(User u)
Set the current user. |
void |
setFresh(boolean fresh)
Set to false if user has edited options. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Set a named string property, fires property change event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChatOptions()
Method Detail |
public User getCurrentUser()
public void setCurrentUser(User u)
public Server getCurrentServer()
public void setCurrentServer(Server s)
public ChatOptions.UserList getFavoriteUsers()
public ChatOptions.ChannelList getFavoriteChannels()
public ChatOptions.ServerList getAllServers()
public ChatOptions.ActionList getCustomUserActions()
public ChatOptions.ActionList getCustomChannelActions()
public ChatOptions.ActionList getCustomServerActions()
public ChatOptions.ActionList getCustomMenuActions()
public ChatOptions.ListenerList getCustomServerListeners()
public ChatOptions.ListenerList getCustomChannelListeners()
public void setProperty(java.lang.String name, java.lang.String value)
public java.lang.String getProperty(java.lang.String name)
public boolean isFresh()
public void setFresh(boolean fresh)
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public void initNewOptions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |