org.apache.cocoon.portal.tools.copletManagement
Class LayoutActions
java.lang.Object
org.apache.cocoon.portal.tools.copletManagement.LayoutActions
public class LayoutActions
- extends Object
- Version:
- CVS $Id: LayoutActions.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Field Summary |
static int |
line
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
line
public static int line
LayoutActions
public LayoutActions(Layout layout,
LayoutFactory lf,
CopletFactory cf,
ProfileManager pm)
del
public boolean del(String id)
- Delets the Object with the id in the layout
- Parameters:
id
-
- Returns:
- true if the object could be deleted.
move
public boolean move(String id,
boolean moveUp)
- Moves the object one position up or down
- Parameters:
id
- id of the elementmoveUp
- set 'true', to move the element up ('false' to move it down)
- Returns:
- true if the object could be moved.
add
public void add(String parent,
String type)
- Adds the object to the layout
- Parameters:
parent
- Object to which the new Object should be addedtype
- Type of the Object (row, col ...)
addTab
public void addTab(String parent,
String name)
- Adds a new Tab
- Parameters:
parent
- Parent Objectname
- Name of the Tab
getSelectedCoplets
public Collection getSelectedCoplets(Repeater r,
Collection lets,
String parent)
getCopletInstanceData
public CopletInstanceData getCopletInstanceData(String id)
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.