Interface ILongbox

    • Field Detail

      • DEFAULT

        static final ILongbox DEFAULT
        Constant for default attributes of this immutable component.
    • Method Detail

      • withValue

        ILongbox withValue​(java.lang.Long value)
        Description copied from interface: IInputElement
        Returns a copy of this immutable component with the specified value.

        Sets the value of the input component.

        Specified by:
        withValue in interface IInputElement<ILongbox,​java.lang.Long>
        Parameters:
        value - The value of the input component.

        Default: null.

        Returns:
        A modified copy of the this object
      • getWidgetClass

        default java.lang.String getWidgetClass()
        Returns the client widget class.

        Default: "zul.inp.Longbox"

        Specified by:
        getWidgetClass in interface IComponent<ILongbox>
      • of

        static ILongbox of​(java.lang.Long value)
        Returns the instance with the given value.
        Parameters:
        value - The long value
      • of

        static ILongbox of​(long value)
        Returns the instance with the given value.
        Parameters:
        value - The long value
      • ofCols

        static ILongbox ofCols​(int cols)
        Returns the instance with the given cols.
        Parameters:
        cols - The cols which determines the visible width
      • ofConstraint

        static ILongbox ofConstraint​(java.lang.String constraint)
        Returns the instance with the given constraint.
        Parameters:
        constraint - The intbox constraint
      • ofId

        static ILongbox ofId​(java.lang.String id)
        Returns the instance with the given id.
        Parameters:
        id - The id to identify this component