public class Img extends Object implements Renderable
| Constructor and Description |
|---|
Img(List<ImgProp> props,
List<Renderable> childrenElements) |
Img(Renderable[] childrenElements) |
| Modifier and Type | Method and Description |
|---|---|
static ImgProp |
data(String name,
String value) |
static ImgProp |
height(int height) |
static List<ImgProp> |
props(ImgProp... props) |
String |
render() |
static ImgProp |
src(String src) |
static ImgProp |
width(int width) |
public Img(Renderable[] childrenElements)
public Img(List<ImgProp> props, List<Renderable> childrenElements)
public static ImgProp height(int height)
public static ImgProp width(int width)
public String render()
render in interface RenderableCopyright © 2016. All rights reserved.