|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectabk.html.ANodeObject<T>
abk.html.AElementNode<T>
abk.html.AControlElement<AInputControl>
abk.html.AInputControl
abk.html.ACheckboxInput
public class ACheckboxInput
Field Summary | |
---|---|
static String |
CHECKBOX
|
private boolean |
iChecked
|
Fields inherited from class abk.html.ANodeObject |
---|
iClass |
Constructor Summary | |
---|---|
protected |
ACheckboxInput(String tagName)
|
Method Summary | |
---|---|
ACheckboxInput |
appendTo(AElementNode<?> newParent)
Establece el elemento al que pertenece el nodo, insertandolo al final de la lista de hijos del elemento. |
ACheckboxInput |
autocomplete(String autocomplete)
|
boolean |
checked()
|
ACheckboxInput |
checked(boolean checked)
|
ACheckboxInput |
disabled(boolean disabled)
Establece el valor del atributo disabled del objeto. |
protected void |
doChecked(StringBuilder sb)
|
void |
doTagStart(StringBuilder sb)
Escribe los atributos del elemento. |
protected void |
doValue(StringBuilder sb)
|
ACheckboxInput |
id(String id)
Fija el calor del AElementNode.iId del elemento. |
ACheckboxInput |
klass(String className)
Establece la lista de palabras clasificadoras como el conjunto de tokens pasados en una cadena de texto. |
ACheckboxInput |
name(String name)
|
ACheckboxInput |
required(boolean required)
|
ACheckboxInput |
reset()
Además de la acción por defecto de AElementNode.reset(), fija como vacíos los atributos name, value, type y autocomplete, y pone a false los atributos disabled y
required. |
ACheckboxInput |
size(Integer size)
|
ACheckboxInput |
style(String style)
Establece el estilo CSS del elemento. |
ACheckboxInput |
textContent(CharSequence text)
Establece un texto como contenido del nodo, eliminando cualquier otro contenido que hubiera. |
ACheckboxInput |
title(String title)
Establece el valor del título del elemento. |
String |
trueValue()
|
ACheckboxInput |
trueValue(String value)
|
String |
type()
|
ACheckboxInput |
type(String type)
|
String |
value()
|
ACheckboxInput |
value(String value)
|
Methods inherited from class abk.html.AInputControl |
---|
doSize, size |
Methods inherited from class abk.html.AControlElement |
---|
autocomplete, disabled, doAutoComplete, doDisabled, doName, doReadOnly, doRequired, doType, model, model, msgOld, name, readonly, readonly, required, type, value, value, value, value, value, value, value, value, value, value, write |
Methods inherited from class abk.html.AElementNode |
---|
_tagAttribute, A, addClass, adoptNode, append, append, B, BR, BUTTON, CHECKBOX, children, classList, clearChildren, DIV, doClass, doId, doLang, doStyle, doTitle, EM, getTagName, HIDDEN, I, id, INPUT, insert, isEndTagForbidden, klass, LABEL, lang, lang, P, PRE, remove, removeClass, SELECT, setEndTagForbidden, SPAN, STRONG, style, TABLE, tagAttribute, tagAttribute, text, TEXTAREA, textContent, title, U, VAR |
Methods inherited from class abk.html.ANodeObject |
---|
parent, parent, self, stringify, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String CHECKBOX
private boolean iChecked
Constructor Detail |
---|
protected ACheckboxInput(String tagName)
Method Detail |
---|
public ACheckboxInput reset()
AControlElement
false
los atributos disabled y
required.
Este método es invocado por el constructor, y la propiedad iModel será nula durante su ejecución. Por tanto, en su implementación debe evitarse el uso de iModel o cualquier método que lo use, como AControlElement.msgOld(java.lang.String, java.lang.Object...).
reset
in class AInputControl
public ACheckboxInput appendTo(AElementNode<?> newParent)
ANodeObject
appendTo
in class ANodeObject<AInputControl>
newParent
- Nuevo elemento al que se incorpora el nodo, eliminándolo de su
anterior padre si lo tuviera. Puede ser null
.
public ACheckboxInput textContent(CharSequence text)
AElementNode
textContent
in class AElementNode<AInputControl>
text
- Nuevo contenido del nodo
public ACheckboxInput id(String id)
AElementNode
id
in class AElementNode<AInputControl>
id
- Nuevo valor del ID del elemento.
public ACheckboxInput title(String title)
AElementNode
title
in class AElementNode<AInputControl>
title
- Título del elemento.
public ACheckboxInput style(String style)
AElementNode
style
in class AElementNode<AInputControl>
style
- Estilo CSS del elemento.
public ACheckboxInput klass(String className)
AElementNode
klass
in class AElementNode<AInputControl>
className
- Cadena de texto para el atributo class
del elemento.
public ACheckboxInput autocomplete(String autocomplete)
autocomplete
in class AControlElement<AInputControl>
public ACheckboxInput disabled(boolean disabled)
IDisableable
disabled
in interface IDisableable
disabled
in class AControlElement<AInputControl>
disabled
- Valor a poner.
public ACheckboxInput required(boolean required)
required
in class AControlElement<AInputControl>
public ACheckboxInput name(String name)
name
in class AControlElement<AInputControl>
public ACheckboxInput size(Integer size)
size
in class AInputControl
public ACheckboxInput type(String type)
type
in class AControlElement<AInputControl>
public String type()
type
in class AControlElement<AInputControl>
public ACheckboxInput checked(boolean checked)
public boolean checked()
protected void doChecked(StringBuilder sb)
public ACheckboxInput value(String value)
value
in class AControlElement<AInputControl>
public String value()
value
in class AControlElement<AInputControl>
public ACheckboxInput trueValue(String value)
public String trueValue()
protected void doValue(StringBuilder sb)
doValue
in class AControlElement<AInputControl>
public void doTagStart(StringBuilder sb)
AElementNode
doTagStart
in class AInputControl
sb
- Objeto utilizado para la serialización.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |