|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--prupp.HTMLPage
This class is intended to be used as a temlate for metapages. It provides methods to get different part of the HTML-page so we can get a consistent interface.
Method Summary | |
static java.lang.String |
getPageHeader()
return a simple HTMLheader. |
static java.lang.String |
getPageHeader(java.lang.String title)
return a HTMLheader. |
static java.util.Properties |
getProperties()
return the properties this class uses |
static java.lang.String |
getTableHeader(int width,
int border)
return a table header with given width (int %) and given borderwidth. |
static java.lang.String |
getTableTopicRow()
return a tabletopic row |
static void |
setup()
setup this class for usage |
static void |
setup(java.util.Properties props)
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 java.lang.String getPageHeader()
public static java.lang.String getPageHeader(java.lang.String title)
title
- the title of this page.public static java.lang.String getTableHeader(int width, int border)
width
- the width of the tableborder
- the width of the border in pixelspublic static java.lang.String getTableTopicRow()
public static void setup()
public static void setup(java.util.Properties props)
props
- the properties to read frompublic static java.util.Properties getProperties()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |