public class ItemConfirmEvent extends ItemEvent
| Constructor and Description |
|---|
ItemConfirmEvent(java.lang.Object source,
Item item)
Initializes a new instance of the
ItemConfirmEvent class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getConfirm()
Gets a value indicating whether the action related
to this event should be confirmed or canceled.
|
void |
setConfirm(boolean value)
Sets a value indicating whether the action related
to this event should be confirmed or canceled.
|
public ItemConfirmEvent(java.lang.Object source,
Item item)
ItemConfirmEvent class.source - The Calendar that raises this event.item - The Item instance for which the event is raised.public boolean getConfirm()
public void setConfirm(boolean value)
value - false to prevent the action or true to allow it.