public class WWEvent extends EventObject
EventObjectby adding the capability to consume the event by calling
consume(). Consuming a WWEvent prevents is from being processed in the default manner by the source that originated the event. If the event cannot be consumed, calling
consume()has no effect, though
isConsumed()returns whether or not
consume()has been called.
|Modifier and Type||Field and Description|
Denotes whether or not the event has been consumed.
|Constructor and Description|
Creates a new WWEvent with the object that originated the event.
|Modifier and Type||Method and Description|
Consumes the event so it will not be processed in the default manner by the source which originated it.
Returns whether or not the event has been consumed.
protected boolean consumed
public void consume()
public boolean isConsumed()
consume()has been called, though this has no effect.
trueif the event has been consumed, and