public class ClientEvent extends BaseEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTRIBUTE_CHANGED
Dispatched when a client attribute changes.
|
static java.lang.String |
ATTRIBUTE_REMOVED
Dispatched when a client attribute is removed.
|
static java.lang.String |
SHUTDOWN
Dispatched when a client is shutdown.
|
m_eventProperties
Constructor and Description |
---|
ClientEvent(Client client)
Constructor.
|
ClientEvent(Client client,
Attribute attribute) |
Modifier and Type | Method and Description |
---|---|
Attribute |
getAttribute()
In ATTRIBUTE_CHANGED, and ATTRIBUTE_REMOVED events this returns the attribute involved in the event.
|
Client |
getClient()
For all events this returns the client involved in the event.
|
getProperty, isCanceled, preventDefault
public static final java.lang.String ATTRIBUTE_CHANGED
public static final java.lang.String ATTRIBUTE_REMOVED
public static final java.lang.String SHUTDOWN
public ClientEvent(Client client)
public Client getClient()
public Attribute getAttribute()