Package | Description |
---|---|
org.ujorm.tools.web |
Modifier and Type | Method and Description |
---|---|
Element |
Element.addAnchor(String url,
CharSequence... cssClasses)
Add an anchor element with URL and CSS classes
|
Element |
Element.addAnchoredText(String url,
Object... text)
Add an anchor element with texts
|
Element |
HtmlElement.addBody()
Returns a body element
|
Element |
Element.addBody(CharSequence... cssClasses)
Add new body element
|
Element |
Element.addBreak(CharSequence... cssClasses)
Add a line break
|
Element |
Element.addButton(CharSequence... cssClasses)
Add new body element
|
Element |
HtmlElement.addCDATA(CharSequence charData)
Deprecated.
|
Element |
Element.addCDATA(CharSequence charData) |
Element |
HtmlElement.addComment(CharSequence comment) |
Element |
Element.addComment(CharSequence comment) |
Element |
HtmlElement.addCssBody(CharSequence css)
Create a new CSS element and return it
|
Element |
HtmlElement.addCssLink(CharSequence css)
Create a new CSS element and return it
|
Element |
Element.addDiv(CharSequence... cssClasses)
Add new body element
|
Element |
HtmlElement.addElement(String name)
Create new Element
|
Element |
Element.addElement(String name)
Create new Element
|
Element |
Element.addElement(String name,
CharSequence... cssClasses)
Add a new Element with optional CSS classes
|
Element |
Element.addFieldset(String title,
CharSequence... cssClasses)
Add new fieldset element including a title
|
Element |
Element.addForm(CharSequence... cssClasses)
Add new body element
|
Element |
HtmlElement.addHead()
Returns a head element
|
Element |
Element.addHeading(CharSequence title,
CharSequence... cssClasses)
Add a top heading (level one)
|
Element |
Element.addHeading(int level,
CharSequence title,
CharSequence... cssClasses)
Add new heading with the required level where the first level is the one,
|
Element |
Element.addImage(CharSequence imageLink,
CharSequence alt,
CharSequence... cssClasses)
Add a link to an image
|
Element |
Element.addImage(InputStream imageStream,
CharSequence alt,
CharSequence... cssClasses)
Add an embeded image
|
Element |
Element.addInput(CharSequence... cssClasses)
Add new input element
|
Element |
HtmlElement.addJavascriptContents(CharSequence javascript)
Create a new Javascript element and return it
|
Element |
HtmlElement.addJavascriptLink(boolean defer,
CharSequence javascriptLink)
Create a new Javascript element and return it
|
Element |
Element.addLabel(CharSequence... cssClasses)
Add new body element
|
Element |
Element.addLink(CharSequence... cssClasses)
Add new body element
|
Element |
Element.addListItem(CharSequence... cssClasses) |
Element |
Element.addOption(CharSequence... cssClasses)
Add new body element
|
Element |
Element.addOrderedList(CharSequence... cssClasses)
Add new body element
|
Element |
Element.addParagraph(CharSequence... cssClasses)
Add new body element
|
Element |
Element.addPasswordInput(CharSequence... cssClasses)
Add new input element type of password
|
Element |
Element.addPreformatted(CharSequence... cssClasses)
Add new body element
|
Element |
HtmlElement.addRawText(Object value) |
Element |
Element.addRawText(Object data) |
Element |
Element.addScript(CharSequence... cssClasses)
Add new body element
|
Element |
Element.addSelect(CharSequence... cssClasses)
Add new select element
|
Element |
Element.addSelectOptions(Object value,
Map<?,?> options,
CharSequence... cssClasses)
Add options from map to current select element
|
Element |
Element.addSpan(CharSequence... cssClasses)
Add new body element
|
Element |
Element.addStyle(CharSequence... cssClasses)
Add new body element
|
Element |
Element.addSubmitButton(CharSequence... cssClasses)
Add a submit button
|
Element |
Element.addTable(CharSequence... cssClasses)
Add new Table
|
Element |
Element.addTable(List<Object[]> data,
CharSequence... cssClass)
Create a HTML table according to data
|
Element |
Element.addTable(Object[][] data,
CharSequence... cssClass)
Create a HTML table according to data
|
Element |
Element.addTableDetail(CharSequence... cssClasses)
Add new body element
|
Element |
Element.addTableHead(CharSequence... cssClasses)
Add new body element
|
Element |
Element.addTableNoSpaces(CharSequence... cssClasses)
Deprecated.
Use a CSS style rather.
|
Element |
Element.addTableRow(CharSequence... cssClasses)
Add new body element
|
Element |
Element.addTemplate(String template,
Object... data)
Add a template based text with parameters
|
Element |
Element.addText(Object... data)
Add many texts with no separator
|
Element |
HtmlElement.addText(Object value) |
Element |
Element.addText(Object data)
Add simple text
|
Element |
Element.addTextArea(CharSequence... cssClasses)
Add new body element
|
Element |
Element.addTextInput(CharSequence... cssClasses)
Add new input element type of text
|
Element |
Element.addTextSeparted(CharSequence separator,
Object... data)
Add many words separated by the separator
|
Element |
Element.addTitle(CharSequence... cssClasses)
Add new body element
|
Element |
Element.addUnorderedlist(CharSequence... cssClasses)
Add new body element
|
static Element |
Element.createHtmlRoot(Object title,
CharSequence... cssLinks)
Crate a root element
|
static Element |
Element.createHtmlRoot(Object title,
Charset charset,
CharSequence... cssLinks)
Crate a root element
|
Element |
HtmlElement.getBody()
Returns a body element
|
Element |
HtmlElement.getHead()
Returns a head element
|
Element |
Element.setAction(Object value)
Set an action type of from
|
Element |
Element.setAttrib(String name,
Object value)
A shortcut for the method
setAttribute(java.lang.String, java.lang.Object) . |
Element |
HtmlElement.setAttribute(String name,
Object value) |
Element |
Element.setAttribute(String name,
Object value)
Set an attribute
|
Element |
Element.setCellPadding(int value)
Deprecated.
|
Element |
Element.setCellSpacing(int value)
Deprecated.
|
Element |
Element.setClass(CharSequence... cssClasses)
Set a CSS class attribute optionally, the empty attribute is ignored.
|
Element |
Element.setCols(Object value)
Column count of a text area
|
Element |
Element.setColSpan(int value)
Column span inside the table
|
Element |
Element.setFor(CharSequence value)
Set an value of input element
|
Element |
Element.setHref(CharSequence value)
Set hyperlink reference
|
Element |
Element.setId(CharSequence value)
Set an identifier of the element
|
Element |
Element.setMethod(Object value)
Set a method of form
|
Element |
Element.setName(CharSequence value)
Set an name of input element
|
Element |
Element.setRows(int value)
Row count of a text area
|
Element |
Element.setRowSpan(int value)
Row span inside the table
|
Element |
Element.setType(Object value)
Set a type of input element
|
Element |
Element.setValue(Object value)
Set an value of input element
|
Copyright 2019-2022, Pavel Ponec