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 classSelect.SelectBuilderNested classes/interfaces inherited from class io.john.amiscaray.stir.domain.elements.CacheableElement
CacheableElement.CacheStatus -
Field Summary
Fields Modifier and Type Field Description private StringlabelA label for the select elementprivate BooleanmultipleThe multiple attribute of the select elementprivate List<Option>optionsThe inner options of the select elementprivate BooleanrequiredThe required attribute of the select elementprivate IntegersizeThe size attribute of the select elementFields inherited from class io.john.amiscaray.stir.domain.elements.AbstractFormField
autoFocus, disabled, form, nameFields inherited from class io.john.amiscaray.stir.domain.elements.AbstractUIElement
cssClasses, customAttributes, hidden, id, styleFields inherited from class io.john.amiscaray.stir.domain.elements.CacheableElement
cacheDisabled, cacheStatus, propertyChangeSupport -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidaddOption(Option option)static Select.SelectBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetLabel()BooleangetMultiple()List<Option>getOptions()BooleangetRequired()IntegergetSize()inthashCode()voidsetAutoFocus(Boolean autoFocus)voidsetDisabled(Boolean disabled)voidsetForm(String form)voidsetLabel(String label)voidsetMultiple(Boolean multiple)voidsetOptions(List<Option> options)voidsetRequired(Boolean required)voidsetSize(Integer size)Methods inherited from class io.john.amiscaray.stir.domain.elements.AbstractUIElement
addClass, getCssClasses, getCustomAttributes, getId, getStyle, isHidden, setCssClasses, setCustomAttributes, setHidden, setId, setStyleMethods 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