Class EventDriver
java.lang.Object
org.netbeans.jemmy.drivers.LightSupportiveDriver
org.netbeans.jemmy.drivers.input.EventDriver
- All Implemented Interfaces:
LightDriver
- Direct Known Subclasses:
KeyEventDriver, MouseEventDriver
Superclass for all drivers using event dispatching.
- Author:
- Alexandre Iline(alexandre.iline@sun.com)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classClass used fot execution of an event through the dispatching thread. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an EventDriver object suporting ComponentOperator.EventDriver(String[] supported) Constructs an EventDriver object. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckVisibility(Component component) Checks component visibility.voiddispatchEvent(Component comp, AWTEvent event) Dispatches an event to the component.Methods inherited from class LightSupportiveDriver
checkSupported, getSupported
-
Constructor Details
-
EventDriver
Constructs an EventDriver object.- Parameters:
supported- an array of supported class names
-
EventDriver
public EventDriver()Constructs an EventDriver object suporting ComponentOperator.
-
-
Method Details
-
dispatchEvent
-
checkVisibility
Checks component visibility.- Parameters:
component- a component.
-