Class AbstractSubCommand<T>
- java.lang.Object
-
- jp.vmi.selenium.selenese.subcommand.AbstractSubCommand<T>
-
- Type Parameters:
T- the result type of sub-command.
- All Implemented Interfaces:
ArgumentInfo,ISubCommand<T>
- Direct Known Subclasses:
GetAlert,GetAllButtons,GetAllFields,GetAllLinks,GetAllWindowNames,GetAllWindowTitles,GetAttribute,GetAttributeFromAllWindows,GetBodyText,GetConfirmation,GetCookie,GetCookieByName,GetCssCount,GetCursorPosition,GetElementHeight,GetElementIndex,GetElementPositionLeft,GetElementPositionTop,GetElementWidth,GetEval,GetExpression,GetHtmlSource,GetLocation,GetNativeAlert,GetPrompt,GetSelected,GetSelectOptions,GetSpeed,GetTable,GetText,GetTitle,GetValue,GetWindowHandle,GetXpathCount,IsAlertPresent,IsChecked,IsConfirmationPresent,IsCookiePresent,IsEditable,IsElementPresent,IsNativeAlertPresent,IsOrdered,IsPromptPresent,IsSomethingSelected,IsTextPresent,IsVisible,NoOp
public abstract class AbstractSubCommand<T> extends Object implements ISubCommand<T>
Base implementation of sub-command.
-
-
Constructor Summary
Constructors Constructor Description AbstractSubCommand(ArgumentType... argTypes)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArgumentType[]getArgumentTypes()Get arguments of this sub-command.StringgetName()Get sub-command name.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jp.vmi.selenium.selenese.ArgumentInfo
getArgumentCount
-
Methods inherited from interface jp.vmi.selenium.selenese.subcommand.ISubCommand
execute
-
-
-
-
Constructor Detail
-
AbstractSubCommand
public AbstractSubCommand(ArgumentType... argTypes)
Constructor.- Parameters:
argTypes- argument types of this sub-command.
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ISubCommandGet sub-command name.- Specified by:
getNamein interfaceISubCommand<T>- Returns:
- sub-command name.
-
getArgumentTypes
public ArgumentType[] getArgumentTypes()
Description copied from interface:ISubCommandGet arguments of this sub-command.- Specified by:
getArgumentTypesin interfaceISubCommand<T>- Returns:
- arguments of thie sub-command.
-
-