Class MouseEventHandler
java.lang.Object
jp.vmi.selenium.selenese.subcommand.MouseEventHandler
- All Implemented Interfaces:
ArgumentInfo,ISubCommand<Void>
public class MouseEventHandler extends Object implements ISubCommand<Void>
Mouse event handler.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMouseEventHandler.MouseEventType -
Constructor Summary
Constructors Constructor Description MouseEventHandler(MouseEventHandler.MouseEventType eventType)Constructor. -
Method Summary
Modifier and Type Method Description Voidexecute(Context context, String... args)Execute sub command.intgetArgumentCount()Get argument count.ArgumentType[]getArgumentTypes()Get arguments of this sub-command.StringgetName()Get sub-command name.
-
Constructor Details
-
MouseEventHandler
Constructor.- Parameters:
eventType- mouse event eventType.
-
-
Method Details
-
getName
Description copied from interface:ISubCommandGet sub-command name.- Specified by:
getNamein interfaceISubCommand<Void>- Returns:
- sub-command name.
-
getArgumentTypes
Description copied from interface:ISubCommandGet arguments of this sub-command.- Specified by:
getArgumentTypesin interfaceISubCommand<Void>- Returns:
- arguments of thie sub-command.
-
execute
Description copied from interface:ISubCommandExecute sub command.- Specified by:
executein interfaceISubCommand<Void>- Parameters:
context- Selenese Runner context.args- arguments.- Returns:
- sub command result.
-
getArgumentCount
public int getArgumentCount()Description copied from interface:ArgumentInfoGet argument count.- Specified by:
getArgumentCountin interfaceArgumentInfo- Returns:
- argument count.
-