Class NumberItem

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasValueChangeHandlers<Long>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.TakesValue<Long>, com.google.gwt.user.client.ui.Focusable, com.google.gwt.user.client.ui.HasEnabled, com.google.gwt.user.client.ui.HasName, com.google.gwt.user.client.ui.HasValue<Long>, Attachable, FormItem<Long>

    public class NumberItem
    extends AbstractFormItem<Long>
    • Field Detail

      • MIN_SAFE_LONG

        public static final long MIN_SAFE_LONG
        As defined by https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER
        See Also:
        Constant Field Values
      • MAX_SAFE_LONG

        public static final long MAX_SAFE_LONG
        As defined by https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
        See Also:
        Constant Field Values
    • Constructor Detail

      • NumberItem

        public NumberItem​(String name,
                          String label,
                          String unit,
                          long min,
                          long max)
    • Method Detail

      • attach

        public void attach()
        Description copied from class: AbstractFormItem
        Calls SuggestHandler.attach() in case there was one registered. If you override this method, please call super.attach() to keep this behaviour.
        Specified by:
        attach in interface Attachable
        Overrides:
        attach in class AbstractFormItem<Long>
      • isEmpty

        public boolean isEmpty()
        Returns:
        if this form item has no value.
      • supportsExpressions

        public boolean supportsExpressions()