public class ActionListImpl extends java.lang.Object implements ActionList
| Constructor and Description |
|---|
ActionListImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(Action action)
Add an action to the end of the list
|
void |
addAction(int index,
Action action)
Add an action to the list at the index specified
|
Action |
getAction(int index)
Get an action at a given index
|
java.util.List |
getActions()
Get list containing the actions in their current order
|
boolean |
hasActions()
Indicates whether there are any actions
|
int |
indexOfAction(Action action)
Gets the index of an action
|
void |
removeAction(Action action)
Remove an action from the list
|
void |
removeAllActions()
Remove all actions from the list
|
void |
setAction(int index,
Action action)
Replace the action at the specfied index with the passed action.
|
public boolean hasActions()
ActionListhasActions in interface ActionListActionList.hasActions()public void addAction(Action action)
ActionListaddAction in interface ActionListaction - the actionActionList.addAction(org.alfresco.service.cmr.action.Action)public void addAction(int index,
Action action)
ActionListaddAction in interface ActionListindex - the indexaction - the actionActionList.addAction(int,
org.alfresco.service.cmr.action.Action)public void setAction(int index,
Action action)
ActionListsetAction in interface ActionListindex - the indexaction - the actionActionList.setAction(int,
org.alfresco.service.cmr.action.Action)public int indexOfAction(Action action)
ActionListindexOfAction in interface ActionListaction - the actionActionList.indexOfAction(org.alfresco.service.cmr.action.Action)public java.util.List getActions()
ActionListgetActions in interface ActionListActionList.getActions()public Action getAction(int index)
ActionListgetAction in interface ActionListindex - the indexActionList.getAction(int)public void removeAction(Action action)
ActionListremoveAction in interface ActionListaction - the actionActionList.removeAction(org.alfresco.service.cmr.action.Action)public void removeAllActions()
ActionListremoveAllActions in interface ActionListActionList.removeAllActions()Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.