Class SelectField
java.lang.Object
org.xhtmlrenderer.simple.extend.form.FormField
org.xhtmlrenderer.simple.extend.form.SelectField
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classRenderer for ordinary items and headings in a List.private static classHelper class that makes headings inside a list unselectableprivate static final recordProvides a simple container for name/value data, such as that used by the <option> elements in a <select> list. -
Field Summary
Fields inherited from class org.xhtmlrenderer.simple.extend.form.FormField
intrinsicHeight, intrinsicWidth -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddChildren(List<SelectField.NameValuePair> list, Element e, int indent) protected voidcreate()private List<SelectField.NameValuePair> protected String[]protected FormFieldStateprivate booleanMethods inherited from class org.xhtmlrenderer.simple.extend.form.FormField
applyComponentStyle, getAttribute, getBox, getComponent, getContext, getElement, getFont, getFormDataStrings, getIntrinsicSize, getLengthValue, getOriginalState, getParentForm, getStyle, getUserAgentCallback, hasAttribute, includeInSubmission, reset
-
Constructor Details
-
SelectField
SelectField(Element e, XhtmlForm form, LayoutContext context, BlockBox box)
-
-
Method Details
-
create
-
loadOriginalState
- Overrides:
loadOriginalStatein classFormField
-
applyOriginalState
protected void applyOriginalState()- Overrides:
applyOriginalStatein classFormField
-
getFieldValues
- Specified by:
getFieldValuesin classFormField
-
createList
-
addChildren
-
shouldRenderAsList
private boolean shouldRenderAsList()
-