oracle.bali.ewt.event
Interface Cancelable
- public interface Cancelable
Some of the EWT components use "validation" events to notify the client of
an action that is about to take place and allow the client to prevent the
action from occurring. The Cancelable interface provides a common API for
validation events.
Method Summary |
void |
cancel()
Cancels the event action. |
boolean |
isCancelled()
Tests whether the event has been cancelled. |
isCancelled
public boolean isCancelled()
- Tests whether the event has been cancelled.
- Returns:
- true if the event has been cancelled by a call to cancel(), false
otherwise.
cancel
public void cancel()
- Cancels the event action.