abk.html
Class AOptionItem
java.lang.Object
abk.html.AOptionItem
- All Implemented Interfaces:
- IOptionItem
public class AOptionItem
- extends Object
- implements IOptionItem
Implementación abstracta de IOptionItem.
Field Summary |
private String |
iLabel
Texto para el contenido del nodo OPTION . |
private String |
iValue
Valor del atributo value del OPTION . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iValue
private String iValue
- Valor del atributo value del
OPTION
.
iLabel
private String iLabel
- Texto para el contenido del nodo
OPTION
.
AOptionItem
public AOptionItem(String value,
String label)
- Constructor con todos los campos del objeto.
- Parameters:
value
- Valor del atributo value del OPTION
.label
- Texto para el contenido del nodo OPTION
.
getValue
public String getValue()
- Specified by:
getValue
in interface IOptionItem
- Returns:
- Valor que toma el elemento SELECT cuando se seleccione este elemento.
setValue
public void setValue(String value)
getLabel
public String getLabel()
- Specified by:
getLabel
in interface IOptionItem
- Returns:
- Texto que se mostrará en el desplegable.
setLabel
public void setLabel(String label)
Copyright © 2024. All rights reserved.