|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GUIComponentFactory
Factory for creating components for a GUI service. You can retrieve the component factory for a given guiService by calling
guiService.getComponentFactory();
Method Summary | |
---|---|
Button |
createButton(GUIElementLocator locator)
Creates a new Button component for the given locator. |
Button |
createButton(GUIElementLocator locator,
String elementName)
Creates a new Button component for the given locator, carrying the given element name. |
Checkbox |
createCheckbox(GUIElementLocator locator)
Creates a new Checkbox component for the given locator. |
Checkbox |
createCheckbox(GUIElementLocator locator,
String elementName)
Creates a new Checkbox component for the given locator, carrying the given element name. |
Dropdownbox |
createDropdownbox(GUIElementLocator locator)
Creates a new Dropdownbox component for the given locator. |
Dropdownbox |
createDropdownbox(GUIElementLocator locator,
String elementName)
Creates a new Dropdownbox component for the given locator, carrying the given element name. |
FileField |
createFileField(GUIElementLocator locator)
Creates a new FileField component for the given locator. |
FileField |
createFileField(GUIElementLocator locator,
String elementName)
Creates a new FileField component for the given locator, carrying the given element name. |
GenericElement |
createGenericElement(GUIElementLocator locator)
Creates a new generic element component for the given locator. |
GenericElement |
createGenericElement(GUIElementLocator locator,
String elementName)
Creates a new generic element component for the given locator, carrying the given element name. |
InputField |
createInputField(GUIElementLocator locator)
Creates a new InputField component for the given locator. |
InputField |
createInputField(GUIElementLocator locator,
String elementName)
Creates a new InputField component for the given locator, carrying the given element name. |
Label |
createLabel(GUIElementLocator locator)
Creates a new Label component for the given locator. |
Label |
createLabel(GUIElementLocator locator,
String elementName)
Creates a new Label component for the given locator, carrying the given element name. |
Link |
createLink(GUIElementLocator locator)
Creates a new Link component for the given locator. |
Link |
createLink(GUIElementLocator locator,
String elementName)
Creates a new Link component for the given locator, carrying the given element name. |
RadioButton |
createRadioButton(GUIElementLocator locator)
Creates a new RadioButton component for the given locator. |
RadioButton |
createRadioButton(GUIElementLocator locator,
String elementName)
Creates a new RadioButton component for the given locator, carrying the given element name. |
Window |
createWindow(TitleLocator locator)
Creates a new Window component for the given locator. |
Window |
createWindow(TitleLocator locator,
String elementName)
Creates a new Window component for the given locator, carrying the given element name. |
Method Detail |
---|
Button createButton(GUIElementLocator locator)
locator
- Locator for the new component.
Button createButton(GUIElementLocator locator, String elementName)
locator
- Locator for the new component.elementName
- Element name for the new component.
Checkbox createCheckbox(GUIElementLocator locator)
locator
- Locator for the new component.
Checkbox createCheckbox(GUIElementLocator locator, String elementName)
locator
- Locator for the new component.elementName
- Element name for the new component.
Dropdownbox createDropdownbox(GUIElementLocator locator)
locator
- Locator for the new component.
Dropdownbox createDropdownbox(GUIElementLocator locator, String elementName)
locator
- Locator for the new component.elementName
- Element name for the new component.
FileField createFileField(GUIElementLocator locator)
locator
- Locator for the new component.
FileField createFileField(GUIElementLocator locator, String elementName)
locator
- Locator for the new component.elementName
- Element name for the new component.
InputField createInputField(GUIElementLocator locator)
locator
- Locator for the new component.
InputField createInputField(GUIElementLocator locator, String elementName)
locator
- Locator for the new component.elementName
- Element name for the new component.
Label createLabel(GUIElementLocator locator)
locator
- Locator for the new component.
Label createLabel(GUIElementLocator locator, String elementName)
locator
- Locator for the new component.elementName
- Element name for the new component.
Link createLink(GUIElementLocator locator)
locator
- Locator for the new component.
Link createLink(GUIElementLocator locator, String elementName)
locator
- Locator for the new component.elementName
- Element name for the new component.
RadioButton createRadioButton(GUIElementLocator locator)
locator
- Locator for the new component.
RadioButton createRadioButton(GUIElementLocator locator, String elementName)
locator
- Locator for the new component.elementName
- Element name for the new component.
Window createWindow(TitleLocator locator)
locator
- Locator for the new component.
Window createWindow(TitleLocator locator, String elementName)
locator
- Locator for the new component.elementName
- Element name for the new component.
GenericElement createGenericElement(GUIElementLocator locator)
locator
- Locator for the new component.
GenericElement createGenericElement(GUIElementLocator locator, String elementName)
locator
- Locator for the new component.elementName
- Element name for the new component.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |