public class ChatFocusEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
FOCUS_GAINED
Indicates that the ChatFocusEvent instance was triggered by
Chat gaining the focus.
|
static int |
FOCUS_LOST
Indicates that the ChatFocusEvent instance was triggered by
Chat losing the focus.
|
Constructor and Description |
---|
ChatFocusEvent(java.lang.Object source,
int eventID)
Creates a new ChatFocusEvent according to the
specified parameters.
|
Modifier and Type | Method and Description |
---|---|
Chat |
getChat()
Returns the Chat object that corresponds to this event.
|
int |
getEventID()
Returns an event id specifying what is the type of this event
(FOCUS_GAINED or FOCUS_LOST)
|
public static final int FOCUS_GAINED
public static final int FOCUS_LOST
public ChatFocusEvent(java.lang.Object source, int eventID)
source
- The Chat that triggers the event.eventID
- one of the FOCUS_XXX static fields indicating the
nature of the event.public int getEventID()
public Chat getChat()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.