|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.util.WebDoc
public class WebDoc
XHTML Document.
| Field Summary | |
|---|---|
static String |
NBSP
Non brealing Space |
| Method Summary | |
|---|---|
org.apache.ecs.xhtml.td |
addPopupCenter(boolean nowrap)
Add Popup Center |
org.apache.ecs.xhtml.td[] |
addPopupClose()
Add Popup Close Footer |
org.apache.ecs.xhtml.td |
addWindowCenter(boolean nowrap)
Add Window Center |
org.apache.ecs.xhtml.td |
addWindowFooter()
Add Window Footer |
org.apache.ecs.xhtml.td[] |
addWindowFooters()
Add Window Footer |
static WebDoc |
create(boolean plain)
Create Document |
static WebDoc |
create(boolean plain,
String title,
boolean javaClient)
Create styled Document with Title |
static WebDoc |
create(String title)
Create styled web Document with Title |
static WebDoc |
createPopup(String title)
Create styled popup Document with Title |
static WebDoc |
createWindow(String title)
Create styled window Document with Title |
org.apache.ecs.xhtml.body |
getBody()
Get Body |
org.apache.ecs.xhtml.head |
getHead()
Get Head |
org.apache.ecs.xhtml.table |
getTable()
Get Table (no class set) |
org.apache.ecs.xhtml.td |
getTopLeft()
Get Table Data Left (no class set) |
org.apache.ecs.xhtml.td |
getTopRight()
Get Table Data Right (no class set) |
org.apache.ecs.xhtml.tr |
getTopRow()
Get Table Row (no class set) |
static void |
main(String[] args)
Test Class |
void |
output(OutputStream out)
Output Document |
void |
output(PrintWriter out)
Output Document |
void |
setClasses(String tableClass,
String tdClass)
Set css Classes |
String |
toString()
String representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String NBSP
| Method Detail |
|---|
public static WebDoc create(boolean plain,
String title,
boolean javaClient)
plain - if true adds standard.css and standard.jstitle - optional header title and h1javaClient - true if Java Client - browser otherwise
public static WebDoc create(boolean plain)
plain - if true adds stylesheet and standard js
public static WebDoc createPopup(String title)
title - header title and h1
public static WebDoc createWindow(String title)
title - header title and h1
public static WebDoc create(String title)
title - optional header title and h1
public void setClasses(String tableClass,
String tdClass)
tableClass - optional class for tabletdClass - optional class for left/right tdpublic org.apache.ecs.xhtml.body getBody()
public org.apache.ecs.xhtml.head getHead()
public org.apache.ecs.xhtml.table getTable()
public org.apache.ecs.xhtml.tr getTopRow()
public org.apache.ecs.xhtml.td getTopLeft()
public org.apache.ecs.xhtml.td getTopRight()
public String toString()
toString in class Objectpublic void output(OutputStream out)
out - outpublic void output(PrintWriter out)
out - outpublic org.apache.ecs.xhtml.td addPopupCenter(boolean nowrap)
nowrap - set nowrap in td
public org.apache.ecs.xhtml.td[] addPopupClose()
public org.apache.ecs.xhtml.td addWindowCenter(boolean nowrap)
nowrap - set nowrap in td
public org.apache.ecs.xhtml.td[] addWindowFooters()
public org.apache.ecs.xhtml.td addWindowFooter()
public static void main(String[] args)
args - args
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||