|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrabbit.proxy.HtmlPage
public class HtmlPage
This class is intended to be used as a template for metapages. It provides methods to get different part of the HTML-page so we can get a consistent interface.
Method Summary | |
---|---|
static String |
getPageHeader()
Return a simple HTMLheader. |
static String |
getPageHeader(Connection con,
StatusCode type)
Return a HTMLheader. |
static String |
getPageHeader(Connection con,
String title)
Return a HTMLheader. |
static String |
getTableHeader(int width,
int border)
Return a table header with given width (int %) and given borderwidth. |
static String |
getTableTopicRow()
Return a table topic row |
static SProperties |
setup()
Setup this class for usage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getPageHeader()
public static String getPageHeader(Connection con, StatusCode type)
con
- the Connection handling the requesttype
- the StatusCode of the request
public static String getPageHeader(Connection con, String title)
con
- the Connection creating the pagetitle
- the title of this page.
public static String getTableHeader(int width, int border)
width
- the width of the tableborder
- the width of the border in pixels
public static String getTableTopicRow()
public static SProperties setup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |