|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.groiss.gui.table.TableRenderer
public class TableRenderer
Class which renders tables
Field Summary | |
---|---|
static org.jdom.Element |
BEGIN
|
protected java.util.Map<java.lang.Integer,com.groiss.gui.table.Filter> |
colfilters
|
static org.jdom.Element |
END
|
protected java.util.List<com.groiss.gui.table.Filter> |
filters
|
static java.lang.String |
HIDDEN_COLUMN
A column with this name is not shown in the table |
static org.jdom.Element |
LEFT
|
static org.jdom.Element |
RIGHT
|
Constructor Summary | |
---|---|
TableRenderer()
|
|
TableRenderer(Table table)
|
Method Summary | |
---|---|
Component |
buildTable(javax.servlet.http.HttpServletRequest req)
|
Page |
buildTablePage(javax.servlet.http.HttpServletRequest req)
|
java.lang.String |
createToolbarActions()
|
HTMLPage |
deleteFilter(javax.servlet.http.HttpServletRequest req)
|
Page |
saveFilter(javax.servlet.http.HttpServletRequest r)
save the column filter |
HTMLPage |
saveFilterMask(javax.servlet.http.HttpServletRequest req)
|
void |
showMenu(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
java.util.List |
showPagelist(int start,
int len)
show the links for paging |
Page |
showTabInFrames(javax.servlet.http.HttpServletRequest req)
show a table with toolbar and close button |
Page |
showTable(javax.servlet.http.HttpServletRequest req)
main method, called from browser |
static java.lang.String |
translateDates(java.lang.String filter)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.jdom.Element BEGIN
public static final org.jdom.Element LEFT
public static final org.jdom.Element RIGHT
public static final org.jdom.Element END
public static final java.lang.String HIDDEN_COLUMN
protected java.util.List<com.groiss.gui.table.Filter> filters
protected java.util.Map<java.lang.Integer,com.groiss.gui.table.Filter> colfilters
Constructor Detail |
---|
public TableRenderer()
public TableRenderer(Table table)
Method Detail |
---|
public Component buildTable(javax.servlet.http.HttpServletRequest req)
public Page buildTablePage(javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
java.lang.Exception
public Page showTable(javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
java.lang.Exception
public java.lang.String createToolbarActions()
public java.util.List showPagelist(int start, int len)
public static java.lang.String translateDates(java.lang.String filter)
public HTMLPage saveFilterMask(javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
java.lang.Exception
public Page saveFilter(javax.servlet.http.HttpServletRequest r) throws java.lang.Exception
java.lang.Exception
public HTMLPage deleteFilter(javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
java.lang.Exception
public void showMenu(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.lang.Exception
java.lang.Exception
public Page showTabInFrames(javax.servlet.http.HttpServletRequest req)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |