abk.html
Class AOptionElement
java.lang.Object
abk.html.ANodeObject<T>
abk.html.AElementNode<AOptionElement>
abk.html.AOptionElement
- All Implemented Interfaces:
- IDisableable, Serializable
public class AOptionElement
- extends AElementNode<AOptionElement>
- implements IDisableable
- See Also:
- Serialized Form
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, id, INPUT, insert, isEndTagForbidden, klass, klass, LABEL, lang, lang, P, PRE, remove, removeClass, SELECT, setEndTagForbidden, SPAN, STRONG, style, style, TABLE, tagAttribute, tagAttribute, text, TEXTAREA, textContent, textContent, title, title, U, VAR, write |
iValue
private String iValue
iLabel
private String iLabel
iDisabled
private boolean iDisabled
iSelected
private boolean iSelected
AOptionElement
public AOptionElement(String tagName)
AOptionElement
public AOptionElement(String tagName,
IOptionItem item)
reset
public AOptionElement reset()
- Description copied from class:
AElementNode
- Establece el valor de los atributos className, id y title a
cadenas vacías.
- Overrides:
reset
in class AElementNode<AOptionElement>
- Returns:
- El propio objeto instanciado.
value
public AOptionElement value(String value)
value
public AOptionElement value(Enum<?> value)
value
public AOptionElement value(Serializable value)
value
public final AOptionElement value(boolean value)
value
public final AOptionElement value(int value)
value
public final AOptionElement value(long value)
value
public final AOptionElement value(short value)
value
public final AOptionElement value(byte value)
value
public final AOptionElement value(char value)
value
public final AOptionElement value(float value)
value
public final AOptionElement value(double value)
value
public String value()
doValue
protected void doValue(StringBuilder sb)
label
public AOptionElement label(String label)
label
public String label()
doLabel
protected void doLabel(StringBuilder sb)
disabled
public AOptionElement disabled(boolean disabled)
- Description copied from interface:
IDisableable
- Establece el valor del atributo disabled del objeto.
- Specified by:
disabled
in interface IDisableable
- Parameters:
disabled
- Valor a poner.
- Returns:
- El propio objeto instanciado.
disabled
public boolean disabled()
- Specified by:
disabled
in interface IDisableable
- Returns:
- El valor actual del atributo disabled.
doDisabled
protected void doDisabled(StringBuilder sb)
selected
public AOptionElement selected(boolean selected)
selected
public boolean selected()
doSelected
protected void doSelected(StringBuilder sb)
doTagStart
protected void doTagStart(StringBuilder sb)
- Description copied from class:
AElementNode
- Escribe los atributos del elemento. Este método debe ser sobrecargado por los elementos
descendientes de AElementNode para incluir sus atributos en la serialización de
la etiqueta.
- Overrides:
doTagStart
in class AElementNode<AOptionElement>
- Parameters:
sb
- Objeto utilizado para la serialización.
Copyright © 2024. All rights reserved.