public class ControlHeadDemo.StarRating extends Field
disabled, error, focus, form, help, label, labelStyle, labelStyleClass, parentStyleClassHint, parentStyleHint, readonly, required, tabindex, title, trim, validate, valueactionListener, attributes, behaviors, headElements, listener, listenerMethod, messages, name, parent, stylesCONTROL_MESSAGES| Constructor and Description |
|---|
ControlHeadDemo.StarRating(String name,
int maxStars,
int selectedValue) |
| Modifier and Type | Method and Description |
|---|---|
List<Element> |
getHeadElements()
Return the list of HEAD elements.
|
void |
render(HtmlStringBuffer buffer)
Render the HTML representation of the StarRating control.
|
bindRequestValue, getError, getErrorLabel, getFocus, getFocusJavaScript, getForm, getHelp, getId, getLabel, getLabelStyle, getLabelStyleClass, getParentStyleClassHint, getParentStyleHint, getRequestValue, getState, getTabIndex, getTextAlign, getTitle, getValidate, getValidationJavaScript, getValue, getValueObject, getWidth, isDisabled, isHidden, isReadonly, isRequired, isTrim, isValid, onProcess, removeState, renderTagBegin, restoreState, saveState, setDisabled, setError, setErrorMessage, setErrorMessage, setFocus, setForm, setHelp, setLabel, setLabelStyle, setLabelStyleClass, setListener, setParent, setParentStyleClassHint, setParentStyleHint, setReadonly, setRequired, setState, setTabIndex, setTextAlign, setTitle, setTrim, setValidate, setValue, setValueObject, setWidth, validateaddBehavior, addStyleClass, appendAttributes, dispatchActionEvent, getActionListener, getAttribute, getAttributes, getBehaviors, getContext, getControlSizeEst, getHtmlImports, getMessage, getMessage, getMessages, getName, getPage, getParent, getStyle, getStyles, getTag, hasAttribute, hasAttributes, hasBehaviors, hasStyles, isAjaxTarget, onDeploy, onDestroy, onInit, onRender, removeBehavior, removeStyleClass, renderTagEnd, setActionListener, setAttribute, setId, setName, setStyle, toStringpublic ControlHeadDemo.StarRating(String name, int maxStars, int selectedValue)
public List<Element> getHeadElements()
getHeadElements in interface ControlgetHeadElements in class AbstractControlpublic void render(HtmlStringBuffer buffer)
render in interface Controlrender in class AbstractControlbuffer - the buffer to render the output to