Package org.netbeans.jemmy.drivers.input
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
public class EventDriver extends LightSupportiveDriver
Superclass for all drivers using event dispatching.- Author:
- Alexandre Iline(alexandre.iline@sun.com)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classEventDriver.DispatcherClass used fot execution of an event through the dispatching thread.
-
Constructor Summary
Constructors Constructor Description EventDriver()Constructs an EventDriver object suporting ComponentOperator.EventDriver(java.lang.String[] supported)Constructs an EventDriver object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckVisibility(java.awt.Component component)Checks component visibility.voiddispatchEvent(java.awt.Component comp, java.awt.AWTEvent event)Dispatches an event to the component.-
Methods inherited from class org.netbeans.jemmy.drivers.LightSupportiveDriver
checkSupported, getSupported
-
-
-
-
Method Detail
-
dispatchEvent
public void dispatchEvent(java.awt.Component comp, java.awt.AWTEvent event)Dispatches an event to the component.- Parameters:
comp- Component to dispatch events to.event- an event to dispatch.
-
checkVisibility
protected void checkVisibility(java.awt.Component component)
Checks component visibility.- Parameters:
component- a component.
-
-