Interface IFrozen<I extends IAnyGroup>

    • Field Detail

      • DEFAULT

        static final IFrozen<IAnyGroup> DEFAULT
        Constant for default attributes of this immutable component.
    • Method Detail

      • getWidgetClass

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

        Default: "zul.mesh.Frozen"

        Specified by:
        getWidgetClass in interface IComponent<I extends IAnyGroup>
      • getColumns

        default int getColumns()
        Returns the number of columns to freeze.

        Default: 0

      • withColumns

        IFrozen<I> withColumns​(int columns)
        Returns a copy of this immutable component with the specified columns.

        Sets the number of columns to freeze.

        Parameters:
        columns - The number of columns to freeze.

        Default: 0.

        Returns:
        A modified copy of the this object
      • getStart

        default int getStart()
        Returns the start position of the scrollbar.

        Default: 0

      • withStart

        IFrozen<I> withStart​(int start)
        Returns a copy of this immutable component with the specified start.

        Sets the start position of the scrollbar.

        Parameters:
        start - The start position of the scrollbar.

        Default: 0.

        Returns:
        A modified copy of the this object
      • getRightColumns

        default int getRightColumns()
        Returns the number of right columns to freeze. Note: only useful when using smooth Frozen and browsers that supports CSS position: sticky.

        Default: 0

      • withRightColumns

        IFrozen<I> withRightColumns​(int rightColumns)
        Returns a copy of this immutable component with the specified rightColumns.

        Sets the number of right columns to freeze.

        Parameters:
        rightColumns - The number of right columns to freeze.

        Default: 0.

        Returns:
        A modified copy of the this object
      • isSmooth

        default boolean isSmooth()
        Returns the frozen is smooth or not.

        Default: true

      • withSmooth

        IFrozen<I> withSmooth​(boolean smooth)
        Returns a copy of this immutable component with the specified smooth.

        Sets the frozen is smooth or not.

        Parameters:
        smooth - The number of right columns to freeze.

        Default: true.

        Returns:
        A modified copy of the this object
      • ofColumns

        static <I extends IAnyGroupIFrozen<I> ofColumns​(int columns)
        Return the instance with the given columns
        Parameters:
        columns - The number of columns to freeze.(from left to right)
      • ofId

        static <I extends IAnyGroupIFrozen<I> ofId​(java.lang.String id)
        Returns the instance with the given id.
        Parameters:
        id - The id to identify this component.