charva.awt.event

Class InputEvent

Known Direct Subclasses:
KeyEvent, MouseEvent

public class InputEvent
extends AWTEvent

This is the superclass of KeyEvent and MouseEvent.

Field Summary

Fields inherited from class charva.awt.event.AWTEvent

ACTION_PERFORMED, ADJUSTMENT_EVENT, FOCUS_GAINED, FOCUS_LOST, GARBAGE_COLLECTION, INVOCATION_EVENT, ITEM_STATE_CHANGED, KEY_PRESSED, KEY_TYPED, LIST_SELECTION, MOUSE_EVENT, PAINT_EVENT, RESERVED_ID_MAX, SCROLL_EVENT, SYNC_EVENT, WINDOW_CLOSING, WINDOW_OPENED

Constructor Summary

InputEvent(Component source_, int id_)

Method Summary

void
consume()
Provides a way to flag the event as having been consumed, so that it never reaches its destination component.
boolean
isConsumed()

Methods inherited from class charva.awt.event.AWTEvent

getID

Constructor Details

InputEvent

public InputEvent(Component source_,
                  int id_)

Method Details

consume

public void consume()
Provides a way to flag the event as having been consumed, so that it never reaches its destination component.

isConsumed

public boolean isConsumed()