public class DefaultValues
extends java.lang.Object
implements java.lang.Iterable<com.technia.tvc.struts.util.LabelValueBean>, com.technia.tvc.core.util.json.JSONWriteable
| Constructor and Description |
|---|
DefaultValues() |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(java.lang.String value) |
void |
addValue(java.lang.String value,
java.lang.String displayValue) |
java.lang.String |
getSelectedValue() |
int |
getValueCount() |
java.util.List<com.technia.tvc.struts.util.LabelValueBean> |
getValues() |
boolean |
hasValue() |
java.util.Iterator<com.technia.tvc.struts.util.LabelValueBean> |
iterator() |
void |
setSelectedValue(java.lang.String selectedValue) |
void |
toJSON(com.technia.tvc.core.util.json.JSONWriter writer) |
public java.lang.String getSelectedValue()
public void setSelectedValue(java.lang.String selectedValue)
public boolean hasValue()
public int getValueCount()
public java.util.List<com.technia.tvc.struts.util.LabelValueBean> getValues()
public java.util.Iterator<com.technia.tvc.struts.util.LabelValueBean> iterator()
iterator in interface java.lang.Iterable<com.technia.tvc.struts.util.LabelValueBean>public void addValue(java.lang.String value)
public void addValue(java.lang.String value,
java.lang.String displayValue)
public void toJSON(com.technia.tvc.core.util.json.JSONWriter writer)
toJSON in interface com.technia.tvc.core.util.json.JSONWriteable