Record Class AbstractGridLoader.ColumnDefaultValues
java.lang.Object
java.lang.Record
io.jmix.flowui.xml.layout.loader.component.AbstractGridLoader.ColumnDefaultValues
- Enclosing class:
AbstractGridLoader<T extends com.vaadin.flow.component.grid.Grid & EnhancedDataGrid & HasActions>
protected static record AbstractGridLoader.ColumnDefaultValues(boolean sortable, boolean resizable, boolean filterable)
extends Record
Contains information about resizable, sortable, filterable column default values for the column.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedColumnDefaultValues(boolean sortable, boolean resizable, boolean filterable) Creates an instance of aColumnDefaultValuesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thefilterablerecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theresizablerecord component.booleansortable()Returns the value of thesortablerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ColumnDefaultValues
protected ColumnDefaultValues(boolean sortable, boolean resizable, boolean filterable) Creates an instance of aColumnDefaultValuesrecord class.- Parameters:
sortable- the value for thesortablerecord componentresizable- the value for theresizablerecord componentfilterable- the value for thefilterablerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
sortable
public boolean sortable()Returns the value of thesortablerecord component.- Returns:
- the value of the
sortablerecord component
-
resizable
public boolean resizable()Returns the value of theresizablerecord component.- Returns:
- the value of the
resizablerecord component
-
filterable
public boolean filterable()Returns the value of thefilterablerecord component.- Returns:
- the value of the
filterablerecord component
-