Top Inners Methods
java.awt

pack-priv Interface EventFilter

Known Direct Implementers
java.awt.ModalEventFilter, java.awt.SequencedEvent.SequencedEventsFilter, java.awt.EventDispatchThread.HierarchyEventFilter

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
EventFilter.FilterAction

Enumeration for possible values for acceptEvent(AWTEvent ev) method.

Method Summary

Modifier and TypeMethod and Description
public EventFilter.FilterAction

Method Detail

acceptEventback to summary
public EventFilter.FilterAction acceptEvent(AWTEvent ev)
java.awt back to summary

public final Enum EventFilter.FilterAction

extends Enum<EventFilter.FilterAction>
Class Inheritance

Enumeration for possible values for acceptEvent(AWTEvent ev) method.
See Also
EventDispatchThread#pumpEventsForFilter

Field Summary

Modifier and TypeField and Description
public static final EventFilter.FilterAction
ACCEPT

ACCEPT means that this filter do not filter the event and allows other active filters to proceed it.

public static final EventFilter.FilterAction
ACCEPT_IMMEDIATELY

ACCEPT_IMMEDIATELY means that this filter do not filter the event, no other filters are queried and to proceed it, and it is dispatched by the EventDispatchThread It is not recommended to use ACCEPT_IMMEDIATELY as there may be some active filters not queried yet that do not accept this event.

public static final EventFilter.FilterAction
REJECT

REJECT means that this filter filter the event.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static EventFilter.FilterAction
public static EventFilter.FilterAction[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ACCEPTback to summary
public static final EventFilter.FilterAction ACCEPT

ACCEPT means that this filter do not filter the event and allows other active filters to proceed it. If all the active filters accept the event, it is dispatched by the EventDispatchThread

See Also
EventDispatchThread#pumpEventsForFilter
ACCEPT_IMMEDIATELYback to summary
public static final EventFilter.FilterAction ACCEPT_IMMEDIATELY

ACCEPT_IMMEDIATELY means that this filter do not filter the event, no other filters are queried and to proceed it, and it is dispatched by the EventDispatchThread It is not recommended to use ACCEPT_IMMEDIATELY as there may be some active filters not queried yet that do not accept this event. It is primarily used by modal filters.

See Also
EventDispatchThread#pumpEventsForFilter, ModalEventFilter
REJECTback to summary
public static final EventFilter.FilterAction REJECT

REJECT means that this filter filter the event. No other filters are queried, and the event is not dispatched by the EventDispatchedThread

See Also
EventDispatchThread#pumpEventsForFilter

Constructor Detail

FilterActionback to summary
private FilterAction()

Method Detail

valueOfback to summary
public static EventFilter.FilterAction valueOf(String name)
valuesback to summary
public static EventFilter.FilterAction[] values()