Interface Constrainted

All Known Implementing Classes:
Bandbox, Calendar, Combobox, Datebox, DateTimeFormatInputElement, Decimalbox, Doublebox, Doublespinner, FormatInputElement, InputElement, Intbox, Longbox, NumberInputElement, Spinner, Textbox, Timebox

public interface Constrainted
Decorates a component that its value is constrainted by Constraint.
Author:
tomyeh
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the constraint, or null if no constraint at all.
    void
    Sets the constraint.
  • Method Details

    • setConstraint

      void setConstraint(Constraint constr)
      Sets the constraint.

      Default: null (means no constraint all all).

    • getConstraint

      Constraint getConstraint()
      Returns the constraint, or null if no constraint at all.