|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.imp.ClientHandlerImp com.cc.framework.ui.model.imp.ColumnDesignModelImp com.cc.framework.ui.model.imp.ColumnGroupDesignModelImp
Implementation of the Column group
Field Summary | |
private ColumnContainer |
columns
The buffer with the columns of the list control |
private static long |
serialVersionUID
Serial Version UID |
Fields inherited from class com.cc.framework.ui.model.imp.ColumnDesignModelImp |
|
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
Constructor Summary | |
ColumnGroupDesignModelImp()
Constructor |
Method Summary | |
void |
addColumn(ColumnDesignModel column)
Adds a new column definition to the ListControl |
ColumnDesignModel |
getColumn(int index)
Returns the column with the given index |
ColumnDesignModel[] |
getColumns()
Returns an array with all column definitions |
void |
removeColumn(ColumnDesignModel column)
Removes a column |
boolean |
show(Principal principal)
A collumn group is visible when the user has the permission to see the group and and at least one child column is visible |
int |
size()
Returns the number of columns |
Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
evaluate, getHandlers, setHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.cc.framework.ui.model.ClientHandler |
getHandler, getHandlers, setHandler |
Methods inherited from interface com.cc.framework.ui.model.AccessControlled |
getPermission |
Methods inherited from interface com.cc.framework.ui.model.ActionBehavior |
isAjaxEnabled |
Methods inherited from interface com.cc.framework.ui.model.AjaxSupport |
enableAjax, isAjaxEnabled |
Field Detail |
private static final long serialVersionUID
private ColumnContainer columns
Constructor Detail |
public ColumnGroupDesignModelImp()
Method Detail |
public void addColumn(ColumnDesignModel column)
ColumnContainer
addColumn
in interface ColumnContainer
column
- The column definition to addColumnContainer.addColumn(com.cc.framework.ui.model.ColumnDesignModel)
public ColumnDesignModel[] getColumns()
ColumnContainer
getColumns
in interface ColumnContainer
ColumnContainer.getColumns()
public ColumnDesignModel getColumn(int index)
ColumnContainer
getColumn
in interface ColumnContainer
index
- column index
ColumnContainer.getColumn(int)
public void removeColumn(ColumnDesignModel column)
ColumnContainer
removeColumn
in interface ColumnContainer
column
- The column to removeColumnContainer.removeColumn(com.cc.framework.ui.model.ColumnDesignModel)
public int size()
ColumnContainer
size
in interface ColumnContainer
ColumnContainer.size()
public boolean show(Principal principal)
show
in interface AccessControlled
show
in class ColumnDesignModelImp
AccessControlled.show(Principal)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |