| Package | Description |
|---|---|
| com.github.beothorn.html.common | |
| com.github.beothorn.html.elements | |
| com.github.beothorn.html.elements.img |
| Modifier and Type | Method and Description |
|---|---|
static Attribute |
GlobalAttributes.accessKey(char keyboardShortcut)
The accesskey global attribute
provides a hint for generating a keyboard shortcut for the current element.
|
static Attribute |
GlobalAttributes.className(String className)
Is a space-separated list of the classes of the element.
|
static Attribute |
GlobalAttributes.contentEditable(boolean editable)
The contenteditable global attribute
is an enumerated attribute indicating if the element should be editable by the user.
|
static Attribute |
GlobalAttributes.contextMenu(String id)
The contextmenu global attribute is the
id of
a
The HTML <menu> element represents a group of commands that a user can perform or activate.
|
static Attribute |
GlobalAttributes.data(String name,
String value)
Forms a class of attributes, called custom data attributes, that
allow proprietary information to be exchanged between the HTML
and its DOM representation that may be used by scripts.
|
static Attribute |
GlobalAttributes.dir(GlobalAttributes.Direction dir)
The dir global attribute is an enumerated attribute indicates the directionality of the element's text.
|
static Attribute |
GlobalAttributes.hidden(boolean hidden)
The hidden
global attribute is a
Boolean attribute indicating that the element is not yet, or is no longer, relevant.
|
static Attribute |
GlobalAttributes.id(String id)
Defines a unique identifier (ID) which must be unique in the whole document.
|
static Attribute |
GlobalAttributes.lang(String lang)
The lang
global attribute participates
in defining the language of the element, the language that is non-editable elements are written in or the
language that the editable elements should be written in.
|
static Attribute |
GlobalAttributes.style(String style)
The style global attribute
contains CSS styling declarations to be applied to the element.
|
static Attribute |
GlobalAttributes.tabIndex(int tabindex)
The tabindex global attribute is an integer indicating if the element can take input focus (is focusable), if it should participate to sequential keyboard navigation, and if so, at what position.
|
static Attribute |
GlobalAttributes.title(String title)
The title global attribute contains a
text representing advisory information related to the element it belongs to.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Attribute> |
GlobalAttributes.attrs(Attribute... props) |
| Modifier and Type | Method and Description |
|---|---|
static List<Attribute> |
GlobalAttributes.attrs(Attribute... props) |
| Modifier and Type | Method and Description |
|---|---|
static DomElement |
Page.div(List<Attribute> props,
List<DomElement> childrenElements)
The HTML <div> element (or HTML Document Division
Element) is the generic container for flow content, which does not inherently represent
anything.
|
static DomElement |
Page.img(List<Attribute> props,
List<DomElement> childrenElements)
The HTML <img> element represents an image in the document.
|
static DomElement |
Page.p(List<Attribute> props,
List<DomElement> childrenElements)
The HTML <p> element (or HTML Paragraph Element)
represents a paragraph of text.
|
| Constructor and Description |
|---|
DomElement(String tag,
List<? extends Attribute> props,
List<? extends Renderable> childrenElements) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImgAttributes
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
|
Copyright © 2016. All rights reserved.