Package org.kquiet.browser
Interface DynamicActionSequence
- All Known Subinterfaces:
ActionComposer
- All Known Implementing Classes:
AbstractActionComposer
,BasicActionComposer
,IfThenElse
public interface DynamicActionSequence
An
DynamicActionSequence
is a sequence of actions which supports add operations.- Author:
- Kimberly
-
Method Summary
Modifier and TypeMethodDescriptiondefault DynamicActionSequence
add
(Composable action) Add action to the tail of the action sequence.addToHead
(Composable action) Add action to the head of the action sequence.addToPosition
(Composable action, int position) Add action to the specified position of the action sequence.addToTail
(Composable action) Add action to the tail of the action sequence.
-
Method Details
-
addToHead
Add action to the head of the action sequence.- Parameters:
action
- action to add- Returns:
- self reference
-
addToTail
Add action to the tail of the action sequence.- Parameters:
action
- action to add- Returns:
- self reference
-
addToPosition
Add action to the specified position of the action sequence.- Parameters:
action
- action to addposition
- the position(zero-based) to add given action- Returns:
- self reference
-
add
Add action to the tail of the action sequence. This method is a short cut ofaddToTail(org.kquiet.browser.action.Composable)
.- Parameters:
action
- action to add- Returns:
- self reference
-