Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jChatBox.Chat.Event
Interface ChatroomListener

All Superinterfaces:
  java.io.Serializable

All Known Subinterfaces:
  ChatroomTimerListener

public interface ChatroomListener
extends java.io.Serializable

ChatroomListeners are notified about chatroom events through actionPerformed() method. Others methods needs to be implemented to allow jChatBox to load ChatroomListeners at runtime.

Since:
  2.6

Method Summary
`void` | `actionPerformed(ChatroomEvent event)` Chatroom event occured.
`java.lang.String` | `getDescription()` Returns Listener's Description.
`java.lang.String` | `getID()` Returns Listener's ID
`java.lang.String` | `getName()` Returns Listener's Name.
`void` | `init()` Initialize the Listener.

Method Detail

### getID

    public java.lang.String getID()

  Returns Listener's ID

  Returns:
    listener id must not be not null

### getName

    public java.lang.String getName()

  Returns Listener's Name.

  Returns:
    listener name must not be not null

### getDescription

    public java.lang.String getDescription()

  Returns Listener's Description.

### init

    public void init()

  Initialize the Listener.
  This method will be called after listener's instantiation.

### actionPerformed

    public void actionPerformed(ChatroomEvent event)

  Chatroom event occured.

  Parameters:
    `event` -

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD