Interface StarsTagDeclaration
-
- All Superinterfaces:
HasAccessKey
,HasAutoSpacing
,HasBinding
,HasConverter
,HasConverterMessage
,HasDecorationPosition
,HasHelp
,HasId
,HasIdBindingAndRendered
,HasLabel
,HasLabelLayout
,HasRequiredMessage
,HasTabIndex
,HasTip
,HasValidator
,HasValidatorMessage
,HasValue
,HasValueChangeListener
,IsDisabled
,IsFocus
,IsReadonly
,IsRendered
,IsRequired
,IsVisual
public interface StarsTagDeclaration extends HasIdBindingAndRendered, HasConverter, HasConverterMessage, IsDisabled, IsFocus, HasTabIndex, HasLabel, HasLabelLayout, IsReadonly, IsRequired, HasRequiredMessage, HasTip, HasValidator, HasValidatorMessage, HasValue, HasValueChangeListener, IsVisual, HasAccessKey, HasHelp, HasAutoSpacing, HasDecorationPosition
Renders a star rating component.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setMax(String max)
The maximum value must be > '0'.void
setPlaceholder(String placeholder)
The placeholder value is displayed if no star is set by the user.void
setValue(String value)
The current value of this component.-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasAccessKey
setAccessKey
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasAutoSpacing
setAutoSpacing
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding
setBinding
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasConverter
setConverter
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasConverterMessage
setConverterMessage
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasDecorationPosition
setHelpPosition, setMessagePosition
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasHelp
setHelp
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasLabel
setLabel
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasLabelLayout
setLabelLayout
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasRequiredMessage
setRequiredMessage
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasTabIndex
setTabIndex
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasTip
setTip
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasValidator
setValidator
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasValidatorMessage
setValidatorMessage
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasValueChangeListener
setValueChangeListener
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsDisabled
setDisabled
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsFocus
setFocus
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsReadonly
setReadonly
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRendered
setRendered
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRequired
setRequired
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsVisual
setCustomClass, setMarkup
-
-
-
-
Method Detail
-
setValue
void setValue(String value)
The current value of this component. May be a java.lang.Number or a javax.swing.BoundedRangeModel
-
setMax
void setMax(String max)
The maximum value must be > '0'. Default is '5'. To split stars, set a higher maximum value. E.g. set '10' for half stars, set '20' for quarter stars.
-
setPlaceholder
void setPlaceholder(String placeholder)
The placeholder value is displayed if no star is set by the user. Value must be between '0' and '5'. The placeholder can show values which are not selectable by the user. E.g. if only full stars are available for the user, the placeholder can show a 4.6 star rating.
-
-