net.java.sip.communicator.service.gui.event
Class ContainerEvent
java.lang.Object
java.util.EventObject
net.java.sip.communicator.service.gui.event.ContainerEvent
- All Implemented Interfaces:
- Serializable
public class ContainerEvent
- extends EventObject
The ContainerEvent indicates that a change in a container
such a Comonent added or removed.
- See Also:
- Serialized Form
|
Field Summary |
static int |
CONTAINER_ADDED
Indicates that the ContainerEvent instance was triggered by
adding a new container to the list of supported containers. |
static int |
CONTAINER_REMOVED
Indicates that the ContainerEvent instance was triggered by the
removal of an existing container from the list of supported containers. |
|
Constructor Summary |
ContainerEvent(Object source,
int eventID)
Creates a new ContainerEvent according to the specified parameters. |
|
Method Summary |
int |
getEventID()
Returns an event id specifying whether the type of this event
(CONTAINER_ADDED or CONTAINER_REMOVED) |
CONTAINER_ADDED
public static final int CONTAINER_ADDED
- Indicates that the ContainerEvent instance was triggered by
adding a new container to the list of supported containers.
- See Also:
- Constant Field Values
CONTAINER_REMOVED
public static final int CONTAINER_REMOVED
- Indicates that the ContainerEvent instance was triggered by the
removal of an existing container from the list of supported containers.
- See Also:
- Constant Field Values
ContainerEvent
public ContainerEvent(Object source,
int eventID)
- Creates a new ContainerEvent according to the specified parameters.
- Parameters:
source - The containerID of the container that is added to supported
containers.eventID - one of the CONTAINER_XXX static fields indicating the
nature of the event.
getEventID
public int getEventID()
- Returns an event id specifying whether the type of this event
(CONTAINER_ADDED or CONTAINER_REMOVED)
- Returns:
- one of the CONTAINER_XXX int fields of this class.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.