ggz.ui
Class RoomChatPanel.RoomChatAction
java.lang.Object
javax.swing.AbstractAction
ggz.ui.ChatAction
ggz.ui.RoomChatPanel.RoomChatAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
- Enclosing class:
- RoomChatPanel
protected class RoomChatPanel.RoomChatAction
- extends ChatAction
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoomChatPanel.RoomChatAction
protected RoomChatPanel.RoomChatAction()
sendChat
protected boolean sendChat(ChatType chatType,
java.lang.String target,
java.lang.String message)
throws java.io.IOException
- Description copied from class:
ChatAction
- Performs the requested chat operation. If a particular chat operation is
not allowed this method should return false.
- Specified by:
sendChat
in class ChatAction
- Returns:
- true if the operation was performed, false otherwise.
- Throws:
java.io.IOException
sendAdmin
protected boolean sendAdmin(AdminType type,
java.lang.String player,
java.lang.String reason)
throws java.io.IOException
- Specified by:
sendAdmin
in class ChatAction
- Throws:
java.io.IOException
chat_display_local
protected void chat_display_local(ChatType type,
java.lang.String message)
- Specified by:
chat_display_local
in class ChatAction
getDefaultChatType
protected ChatType getDefaultChatType()
- Specified by:
getDefaultChatType
in class ChatAction