Class Select
java.lang.Object
io.john.amiscaray.stir.domain.elements.CacheableElement
io.john.amiscaray.stir.domain.elements.AbstractUIElement
io.john.amiscaray.stir.domain.elements.AbstractFormField
io.john.amiscaray.stir.domain.elements.Select
public class Select extends AbstractFormField
A pojo representing a select element
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Select.SelectBuilder
Nested classes/interfaces inherited from class io.john.amiscaray.stir.domain.elements.CacheableElement
CacheableElement.CacheStatus
-
Field Summary
Fields Modifier and Type Field Description private String
label
A label for the select elementprivate Boolean
multiple
The multiple attribute of the select elementprivate List<Option>
options
The inner options of the select elementprivate Boolean
required
The required attribute of the select elementprivate Integer
size
The size attribute of the select elementFields inherited from class io.john.amiscaray.stir.domain.elements.AbstractFormField
autoFocus, disabled, form, name
Fields inherited from class io.john.amiscaray.stir.domain.elements.AbstractUIElement
cssClasses, customAttributes, hidden, id, style
Fields inherited from class io.john.amiscaray.stir.domain.elements.CacheableElement
cacheDisabled, cacheStatus, propertyChangeSupport
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
addOption(Option option)
static Select.SelectBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getLabel()
Boolean
getMultiple()
List<Option>
getOptions()
Boolean
getRequired()
Integer
getSize()
int
hashCode()
void
setAutoFocus(Boolean autoFocus)
void
setDisabled(Boolean disabled)
void
setForm(String form)
void
setLabel(String label)
void
setMultiple(Boolean multiple)
void
setOptions(List<Option> options)
void
setRequired(Boolean required)
void
setSize(Integer size)
Methods inherited from class io.john.amiscaray.stir.domain.elements.AbstractUIElement
addClass, getCssClasses, getCustomAttributes, getId, getStyle, isHidden, setCssClasses, setCustomAttributes, setHidden, setId, setStyle
Methods inherited from class io.john.amiscaray.stir.domain.elements.CacheableElement
addPropertyChangeListener, emptyCache, getCacheContents, getCacheStatus, isCacheDisabled, isHasChildren, setCacheContents, setCacheDisabled, setHasChildren
-
Field Details
-
multiple
The multiple attribute of the select element -
required
The required attribute of the select element -
size
The size attribute of the select element -
options
The inner options of the select element -
label
A label for the select element
-
-
Constructor Details
-
Select
-
-
Method Details