Interface HasMinSize

All Known Subinterfaces:
DataGrid<E>, GroupTable<E>, Table<E>, TreeDataGrid<E>, TreeTable<E>
All Known Implementing Classes:
AbstractDataGrid, AbstractTable, DataGridImpl, GroupTableImpl, TableImpl, TreeDataGridImpl, TreeTableImpl

public interface HasMinSize
Interface to be implemented by components that enable to configure min-height and min-width CSS properties.
  • Method Details

    • getMinHeight

      @Nullable Float getMinHeight()
      Returns:
      min-height CSS property value of the component or null if not set
    • getMinHeightSizeUnit

      @Nullable SizeUnit getMinHeightSizeUnit()
      Returns:
      min-height size unit
    • setMinHeight

      void setMinHeight(@Nullable String minHeight)
      Sets min-height CSS property value to the component.
      Parameters:
      minHeight - property value
    • getMinWidth

      @Nullable Float getMinWidth()
      Returns:
      min-width CSS property value of the component or null if not set
    • getMinWidthSizeUnit

      @Nullable SizeUnit getMinWidthSizeUnit()
      Returns:
      min-width size unit
    • setMinWidth

      void setMinWidth(@Nullable String minWidth)
      Sets min-width CSS property value to the component.
      Parameters:
      minWidth - property value