Interface StarsTagDeclaration

    • Method Detail

      • setValue

        void setValue​(String value)
        The current value of this component. May be a java.lang.Number or a javax.swing.BoundedRangeModel
        Specified by:
        setValue in interface HasValue
      • 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.