|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.groiss.dms.FormTableAdapter
public class FormTableAdapter
Constructor Summary | |
---|---|
FormTableAdapter()
|
Method Summary | |
---|---|
java.util.List<DMSForm> |
getList(java.util.List<DMSForm> list)
Non null overwrites the list, should return list of forms |
void |
init(javax.servlet.http.HttpServletRequest req,
User u)
You can init your class with the request |
java.lang.String |
lineStyle(DMSForm f,
java.lang.String style)
Change the style of the line. |
void |
modifyColumns(java.util.List<ColumnDescription> colDescs)
Allows modification of the table header |
void |
modifyTableHeader(java.util.List<Pair<java.lang.String,java.lang.Object>> header)
Deprecated. |
void |
modifyTableLine(DMSForm f,
KeyedList<java.lang.String,java.lang.Object> line)
Your chance to modify the line, called for each table line. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormTableAdapter()
Method Detail |
---|
public void init(javax.servlet.http.HttpServletRequest req, User u)
FormTableHandler
init
in interface FormTableHandler
req
- the requestu
- the userpublic java.util.List<DMSForm> getList(java.util.List<DMSForm> list)
FormTableHandler
getList
in interface FormTableHandler
list
- the list of forms
@Deprecated public void modifyTableHeader(java.util.List<Pair<java.lang.String,java.lang.Object>> header)
public void modifyTableLine(DMSForm f, KeyedList<java.lang.String,java.lang.Object> line)
FormTableHandler
modifyTableLine
in interface FormTableHandler
f
- the formline
- the linepublic java.lang.String lineStyle(DMSForm f, java.lang.String style)
FormTableHandler
lineStyle
in interface FormTableHandler
f
- the formstyle
- a style classpublic void modifyColumns(java.util.List<ColumnDescription> colDescs)
FormTableHandler
modifyColumns
in interface FormTableHandler
colDescs
- list of header fields
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |