public interface Element extends Markup, Identity
| Modifier and Type | Method and Description |
|---|---|
Element |
add(Content... contents)
Add content to this element.
|
Element |
add(Content content)
Add content to this element.
|
<T> Element |
add(Foreach<T> factory)
Add content to this element.
|
<T extends Content> |
add(List<T> content) |
Element |
add(String literal)
Add text content to this element.
|
Markup |
after(Content element) |
Element |
attr(String name,
String value)
Set the value of an attribute of this element.
|
Element |
border(String border) |
Element |
css(List<String> clazzList) |
Element |
css(String clazz) |
Element |
decorate(Decorator... decorators) |
Element |
height(String height) |
String |
id() |
Element |
id(String id)
Set the id of this element.
|
Element |
margin(String margin) |
Element |
padding(String padding) |
Element |
size(String size) |
Element |
src(String src) |
void |
style(String style) |
Element |
style(String name,
String value) |
Element |
title(String title) |
Element |
width(String width) |
Element |
wrap(String name) |
Copyright © 2013 Whizu. All Rights Reserved.