Interface Suggestion

  • All Known Implementing Classes:
    AnimationTimingFunction

    public interface Suggestion
    A suggestion is intended to be used on an enum whose values are suggestions for a free-form type of field. Furthermore, the suggestion may have a shorthand name.

    For example, the animation-timing-function style property has a few "built-in" functions like "easy-in" but can also be an arbitrary function like "cubic-bezier(0.1, 0.7, 1.0, 0.1)" Using suggestion, we can provide complex values with easy-to-understand shorthand like "bounce"

    • Method Detail

      • getShorthand

        java.lang.String getShorthand()
        The shorthand to display to the user
      • getValue

        java.lang.String getValue()
        The actual value for the underlying property