Package org.compiere.util
Class WebDoc
java.lang.Object
org.compiere.util.WebDoc
XHTML Document. Use to create html help content.
- Version:
- $Id: WebDoc.java,v 1.2 2006/07/30 00:51:05 jjanke Exp $
- Author:
- Jorg Janke
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.ecs.xhtml.tdaddPopupCenter(boolean nowrap) Add Popup Centerorg.apache.ecs.xhtml.td[]addPopupClose(Properties ctx) Deprecated.org.apache.ecs.xhtml.tdaddWindowCenter(boolean nowrap) Deprecated.org.apache.ecs.xhtml.tdDeprecated.org.apache.ecs.xhtml.td[]Deprecated.static WebDoccreate(boolean plain) Create Documentstatic WebDocCreate styled Document with Titlestatic WebDocCreate styled web Document with Titlestatic WebDoccreatePopup(String title) Deprecated.static WebDoccreateWindow(String title) Deprecated.org.apache.ecs.xhtml.bodygetBody()Get Bodyorg.apache.ecs.xhtml.headgetHead()Get Headorg.apache.ecs.xhtml.tablegetTable()Get Table (no class set)org.apache.ecs.xhtml.tdGet Table Data Left (no class set)org.apache.ecs.xhtml.tdGet Table Data Right (no class set)org.apache.ecs.xhtml.trGet Table Row (no class set)voidoutput(OutputStream out) Output Documentvoidoutput(PrintWriter out) Output DocumentvoidsetClasses(String tableClass, String tdClass) Set css ClassestoString()String representation
-
Field Details
-
NBSP
Non breaking Space- See Also:
-
-
Method Details
-
create
Create styled Document with Title- Parameters:
plain- if true adds standard.css and standard.jstitle- optional header title and h1javaClient- true if Java Client - browser otherwise- Returns:
- Document
-
create
Create Document- Parameters:
plain- if true adds stylesheet and standard js- Returns:
- Document
-
createPopup
Deprecated.Create styled popup Document with Title- Parameters:
title- header title and h1- Returns:
- Document
-
createWindow
Deprecated.Create styled window Document with Title- Parameters:
title- header title and h1- Returns:
- Document
-
create
Create styled web Document with Title- Parameters:
title- optional header title and h1- Returns:
- Document
-
setClasses
Set css Classes- Parameters:
tableClass- optional class for tabletdClass- optional class for left/right td
-
getBody
public org.apache.ecs.xhtml.body getBody()Get Body- Returns:
- Body
-
getHead
public org.apache.ecs.xhtml.head getHead()Get Head- Returns:
- Header
-
getTable
public org.apache.ecs.xhtml.table getTable()Get Table (no class set)- Returns:
- table
-
getTopRow
public org.apache.ecs.xhtml.tr getTopRow()Get Table Row (no class set)- Returns:
- table row
-
getTopLeft
public org.apache.ecs.xhtml.td getTopLeft()Get Table Data Left (no class set)- Returns:
- table data
-
getTopRight
public org.apache.ecs.xhtml.td getTopRight()Get Table Data Right (no class set)- Returns:
- table data
-
toString
String representation -
output
Output Document- Parameters:
out-
-
output
Output Document- Parameters:
out-
-
addPopupCenter
public org.apache.ecs.xhtml.td addPopupCenter(boolean nowrap) Add Popup Center- Parameters:
nowrap- set nowrap in td- Returns:
- null or center single td
-
addPopupClose
Deprecated.Add Popup Close Footer- Returns:
- null or array with left/right td
-
addWindowCenter
Deprecated.Add Window Center- Parameters:
nowrap- set no wrap in td- Returns:
- empty single center td
-