Package org.kquiet.browser.action
Class OpenWindow
java.lang.Object
org.kquiet.browser.action.MultiPhaseAction
org.kquiet.browser.action.SinglePhaseAction
org.kquiet.browser.action.OpenWindow
- All Implemented Interfaces:
Composable,MultiPhased
OpenWindow is a subclass of SinglePhaseAction which openes a window.- Author:
- Kimberly
-
Constructor Summary
ConstructorsConstructorDescriptionOpenWindow(boolean asComposerFocusWindow) Open window with an option to set it as focus window.OpenWindow(boolean asComposerFocusWindow, String registerName) Create an action representing opening a window.OpenWindow(String registerName) Open window and register it. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidPerform single-phased browser action.toString()Methods inherited from class org.kquiet.browser.action.SinglePhaseAction
performMultiPhaseMethods inherited from class org.kquiet.browser.action.MultiPhaseAction
getActionState, getComposer, getCostTime, getErrors, hasNextPhase, isDone, isFail, noNextPhase, perform, setActionState, setComposer, switchToTopForFirefox
-
Constructor Details
-
OpenWindow
public OpenWindow(boolean asComposerFocusWindow) Open window with an option to set it as focus window.- Parameters:
asComposerFocusWindow-true: set opened window as focus window;false: don't set opened window as focus window
-
OpenWindow
Open window and register it.- Parameters:
registerName- name to register
-
OpenWindow
Create an action representing opening a window.- Parameters:
asComposerFocusWindow-true: set opened window as focus window;false: don't set opened window as focus windowregisterName- name to register
-
-
Method Details
-
performSinglePhase
protected void performSinglePhase()Description copied from class:SinglePhaseActionPerform single-phased browser action.- Specified by:
performSinglePhasein classSinglePhaseAction
-
toString
- Overrides:
toStringin classMultiPhaseAction
-