public class HTMLAttribute extends BaseHTMLAttribute
Modifier and Type | Field and Description |
---|---|
static String |
CLASS |
static String |
COL_SPAN |
static String |
COLS |
static String |
MAX_LENGTH |
static String |
READONLY |
static String |
ROWS |
static String |
SIZE |
static String |
STYLE |
static String |
TITLE |
Constructor and Description |
---|
HTMLAttribute() |
Modifier and Type | Method and Description |
---|---|
void |
addClass(String className) |
HTMLAttribute |
setCols(int cols) |
HTMLAttribute |
setColSpan(int colspan) |
HTMLAttribute |
setMaxLength(int maxlength) |
HTMLAttribute |
setReadOnly() |
HTMLAttribute |
setRows(int rows) |
HTMLAttribute |
setSize(int size) |
HTMLAttribute |
setTitle(String title) |
attributeEntries, get, getAttributeKeys, put
public static final String CLASS
public static final String COL_SPAN
public static final String COLS
public static final String MAX_LENGTH
public static final String READONLY
public static final String ROWS
public static final String SIZE
public static final String TITLE
public static final String STYLE
public final HTMLAttribute setReadOnly()
public final HTMLAttribute setMaxLength(int maxlength)
public final HTMLAttribute setSize(int size)
public final HTMLAttribute setColSpan(int colspan)
public final HTMLAttribute setTitle(String title)
public final HTMLAttribute setCols(int cols)
public final HTMLAttribute setRows(int rows)
public void addClass(String className)
Copyright © 2015. All rights reserved.