|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.java.sip.communicator.service.gui.event.ChatFocusEvent
public class ChatFocusEvent
The ChatFocusEvent indicates that a Chat has gained or lost the current focus.
| Field Summary | |
|---|---|
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. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ChatFocusEvent(Object source,
int eventID)
Creates a new ChatFocusEvent according to the specified parameters. |
|
| Method Summary | |
|---|---|
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) |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int FOCUS_GAINED
public static final int FOCUS_LOST
| Constructor Detail |
|---|
public ChatFocusEvent(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.| Method Detail |
|---|
public int getEventID()
public Chat getChat()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||