org.extremecomponents.util
Class HtmlBuilder

java.lang.Object
  extended byorg.extremecomponents.util.HtmlBuilder

public class HtmlBuilder
extends java.lang.Object

Author:
Jeff Johnston

Field Summary
(package private)  java.lang.StringBuffer sb
           
 
Constructor Summary
HtmlBuilder()
           
 
Method Summary
 HtmlBuilder a()
           
 HtmlBuilder a(java.lang.String href)
           
 HtmlBuilder action(java.lang.String action)
           
 HtmlBuilder aEnd()
           
 HtmlBuilder align(java.lang.String align)
           
 HtmlBuilder ampersand()
           
 HtmlBuilder append(java.lang.Object append)
           
 HtmlBuilder bold()
           
 HtmlBuilder boldEnd()
           
 HtmlBuilder border(java.lang.String border)
           
 HtmlBuilder br()
           
 HtmlBuilder cellPadding(java.lang.String cellPadding)
           
 HtmlBuilder cellSpacing(java.lang.String cellSpacing)
           
 HtmlBuilder checked()
           
 HtmlBuilder close()
           
 HtmlBuilder cols(java.lang.String cols)
           
 HtmlBuilder colSpan(java.lang.String colspan)
           
 HtmlBuilder comment(java.lang.String comment)
           
 HtmlBuilder div()
           
 HtmlBuilder divEnd()
           
 HtmlBuilder equals()
           
 HtmlBuilder form()
           
 HtmlBuilder format(int tabs, int newlines)
           
 HtmlBuilder formEnd()
           
static java.lang.String getImage(java.lang.String img, java.lang.String title)
           
 HtmlBuilder id(java.lang.String id)
           
 HtmlBuilder img(java.lang.String src)
           
 HtmlBuilder img(java.lang.String img, java.lang.String title)
           
 HtmlBuilder input(java.lang.String type)
           
 HtmlBuilder li(java.lang.String text)
           
 HtmlBuilder maxlength(java.lang.String maxlength)
           
 HtmlBuilder method(java.lang.String method)
           
 HtmlBuilder name(java.lang.String name)
           
 HtmlBuilder nbsp()
           
 HtmlBuilder newline()
           
 HtmlBuilder newlines(int newlines)
           
 HtmlBuilder onchange(java.lang.String onchange)
           
 HtmlBuilder onclick(java.lang.String onclick)
           
 HtmlBuilder onsubmit(java.lang.String onsubmit)
           
 HtmlBuilder option()
           
 HtmlBuilder optionEnd()
           
 HtmlBuilder question()
           
 HtmlBuilder quote()
           
 HtmlBuilder rows(java.lang.String rows)
           
 HtmlBuilder select()
           
 HtmlBuilder selectEnd()
           
 HtmlBuilder span()
           
 HtmlBuilder spanEnd()
           
 HtmlBuilder style(java.lang.String style)
           
 HtmlBuilder styleClass(java.lang.String styleClass)
           
 HtmlBuilder tab()
           
 HtmlBuilder table(int tabs)
           
 HtmlBuilder tableEnd(int tabs)
           
 HtmlBuilder tabs(int tabs)
           
 HtmlBuilder td(int tabs)
           
 HtmlBuilder tdEnd()
           
 HtmlBuilder textarea()
           
 HtmlBuilder textareaEnd()
           
 HtmlBuilder th(int tabs)
           
 HtmlBuilder thEnd()
           
 HtmlBuilder title(java.lang.String title)
           
 java.lang.String toString()
           
 HtmlBuilder tr(int tabs)
           
 HtmlBuilder trEnd(int tabs)
           
 HtmlBuilder ul()
           
 HtmlBuilder ulEnd()
           
 HtmlBuilder valign(java.lang.String valign)
           
 HtmlBuilder value(java.lang.String value)
           
 HtmlBuilder width(java.lang.String width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sb

java.lang.StringBuffer sb
Constructor Detail

HtmlBuilder

public HtmlBuilder()
Method Detail

format

public HtmlBuilder format(int tabs,
                          int newlines)

tabs

public HtmlBuilder tabs(int tabs)

newlines

public HtmlBuilder newlines(int newlines)

tab

public HtmlBuilder tab()

newline

public HtmlBuilder newline()

append

public HtmlBuilder append(java.lang.Object append)

close

public HtmlBuilder close()

table

public HtmlBuilder table(int tabs)

tableEnd

public HtmlBuilder tableEnd(int tabs)

tr

public HtmlBuilder tr(int tabs)

trEnd

public HtmlBuilder trEnd(int tabs)

th

public HtmlBuilder th(int tabs)

thEnd

public HtmlBuilder thEnd()

td

public HtmlBuilder td(int tabs)

tdEnd

public HtmlBuilder tdEnd()

input

public HtmlBuilder input(java.lang.String type)

select

public HtmlBuilder select()

selectEnd

public HtmlBuilder selectEnd()

option

public HtmlBuilder option()

optionEnd

public HtmlBuilder optionEnd()

form

public HtmlBuilder form()

formEnd

public HtmlBuilder formEnd()

name

public HtmlBuilder name(java.lang.String name)

value

public HtmlBuilder value(java.lang.String value)

title

public HtmlBuilder title(java.lang.String title)

action

public HtmlBuilder action(java.lang.String action)

method

public HtmlBuilder method(java.lang.String method)

onsubmit

public HtmlBuilder onsubmit(java.lang.String onsubmit)

onclick

public HtmlBuilder onclick(java.lang.String onclick)

onchange

public HtmlBuilder onchange(java.lang.String onchange)

id

public HtmlBuilder id(java.lang.String id)

styleClass

public HtmlBuilder styleClass(java.lang.String styleClass)

style

public HtmlBuilder style(java.lang.String style)

width

public HtmlBuilder width(java.lang.String width)

align

public HtmlBuilder align(java.lang.String align)

valign

public HtmlBuilder valign(java.lang.String valign)

border

public HtmlBuilder border(java.lang.String border)

cellPadding

public HtmlBuilder cellPadding(java.lang.String cellPadding)

cellSpacing

public HtmlBuilder cellSpacing(java.lang.String cellSpacing)

colSpan

public HtmlBuilder colSpan(java.lang.String colspan)

span

public HtmlBuilder span()

spanEnd

public HtmlBuilder spanEnd()

div

public HtmlBuilder div()

divEnd

public HtmlBuilder divEnd()

a

public HtmlBuilder a(java.lang.String href)

a

public HtmlBuilder a()

aEnd

public HtmlBuilder aEnd()

bold

public HtmlBuilder bold()

boldEnd

public HtmlBuilder boldEnd()

quote

public HtmlBuilder quote()

question

public HtmlBuilder question()

equals

public HtmlBuilder equals()

ampersand

public HtmlBuilder ampersand()

img

public HtmlBuilder img(java.lang.String src)

img

public HtmlBuilder img(java.lang.String img,
                       java.lang.String title)

getImage

public static java.lang.String getImage(java.lang.String img,
                                        java.lang.String title)

textarea

public HtmlBuilder textarea()

textareaEnd

public HtmlBuilder textareaEnd()

cols

public HtmlBuilder cols(java.lang.String cols)

rows

public HtmlBuilder rows(java.lang.String rows)

checked

public HtmlBuilder checked()

nbsp

public HtmlBuilder nbsp()

comment

public HtmlBuilder comment(java.lang.String comment)

ul

public HtmlBuilder ul()

ulEnd

public HtmlBuilder ulEnd()

li

public HtmlBuilder li(java.lang.String text)

br

public HtmlBuilder br()

maxlength

public HtmlBuilder maxlength(java.lang.String maxlength)

toString

public java.lang.String toString()


Copyright © 2004 sourceforge. All Rights Reserved.