Package org.netbeans.jemmy.drivers
Class LightSupportiveDriver
java.lang.Object
org.netbeans.jemmy.drivers.LightSupportiveDriver
- All Implemented Interfaces:
LightDriver
- Direct Known Subclasses:
AbstractScrollDriver,APIFocusDriver,ButtonMouseDriver,ChoiceDriver,DefaultFrameDriver,DefaultInternalFrameDriver,DefaultJMenuDriver,DefaultWindowDriver,EventDriver,JComboMouseDriver,JListMouseDriver,JSpinnerDriver,JSplitPaneDriver,JTabAPIDriver,JTableHeaderDriver,JTableMouseDriver,JTabMouseDriver,JTreeAPIDriver,JTreeMouseDriver,ListAPIDriver,MouseFocusDriver,QueueJMenuDriver,RobotDriver,TextAPIDriver,TextKeyboardDriver
Allows to declare supported operator classes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThrowsUnsupportedOperatorExceptionexception if parameter's class is not in list of supported classes.String[]Returns array of operator classes which are supported by this driver.
-
Constructor Details
-
LightSupportiveDriver
Creates an instance.- Parameters:
supported- Array of operator classes which are supported by this driver.
-
-
Method Details
-
checkSupported
ThrowsUnsupportedOperatorExceptionexception if parameter's class is not in list of supported classes.- Parameters:
oper- Operator whose class should be checked.- Throws:
UnsupportedOperatorException
-
getSupported
Returns array of operator classes which are supported by this driver.- Specified by:
getSupportedin interfaceLightDriver- Returns:
- an array of supported operator classes' names.
-