I - The type of the affected item.public class QueryEvent<I> extends EventObject
source| Constructor and Description |
|---|
QueryEvent(Object source,
I item)
Constructor of the class.
|
QueryEvent(Object source,
I item,
Object itemId)
Constructor of the class.
|
| Modifier and Type | Method and Description |
|---|---|
I |
getItem() |
Object |
getItemId() |
boolean |
isCancelled()
Tells if the current QueryEvent further action is to be cancelled.
|
void |
setCancelled(boolean value)
Sets the cancelled property to true or false.
|
void |
setItem(I item) |
getSource, toStringpublic QueryEvent(Object source, I item)
source - The Source of the event.item - The affected item.public I getItem()
public void setItem(I item)
item - The affected item.public Object getItemId()
public boolean isCancelled()
public void setCancelled(boolean value)
value - The velue to be set.Copyright © 2013. All rights reserved.