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
All Methods Instance Methods Concrete Methods 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 Detail
-
MouseEventHandler
public MouseEventHandler(MouseEventHandler.MouseEventType eventType)
Constructor.- Parameters:
eventType- mouse event eventType.
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ISubCommandGet sub-command name.- Specified by:
getNamein interfaceISubCommand<Void>- Returns:
- sub-command name.
-
getArgumentTypes
public ArgumentType[] getArgumentTypes()
Description copied from interface:ISubCommandGet arguments of this sub-command.- Specified by:
getArgumentTypesin interfaceISubCommand<Void>- Returns:
- arguments of thie sub-command.
-
execute
public Void execute(Context context, String... args)
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.
-
-