All Implemented Interfaces:
TagBase, InputAttributable, Serializable, Cloneable

public class Step extends AbstractAttribute implements InputAttributable
step attribute for the element.
step attribute for input element :-
Works with the min and max attributes to limit the increments at which a numeric or date-time value can be set. It can be the string any or a positive floating point number. If this attribute is not set to any, the control accepts only values at multiples of the step value greater than the minimum.
Since:
1.0.0
See Also:
  • Field Details

    • ANY

      public static final String ANY
      The value any allows to accept any floating point numbers as value in the relevant tag.
      See Also:
  • Constructor Details

    • Step

      public Step()
      initializes attribute with initial value as 1
      Since:
      2.1.5
    • Step

      public Step(String value)
      Parameters:
      value - the value for the attribute
      Since:
      1.0.0
    • Step

      public Step(int value)
      Parameters:
      value - the value for the attribute
      Since:
      1.0.0
  • Method Details

    • setValue

      public void setValue(String value)
      sets the value for this attribute
      Parameters:
      value - the value for the attribute.
      Since:
      1.0.0
    • setValue

      public void setValue(boolean updateClient, String value)
      sets the value for this attribute
      Parameters:
      updateClient - true to update client browser page if it is available. The default value is true but it will be ignored if there is no client browser page.
      value - the value for the attribute.
      Since:
      2.1.15
    • getValue

      public String getValue()
      gets the value of this attribute
      Returns:
      the value of the attribute
      Since:
      1.0.0
    • init

      protected void init()
      invokes only once per object
      Since:
      1.0.0