public enum ColumnResizeCompensationMode extends Enum<ColumnResizeCompensationMode>
Enum Constant and Description |
---|
NONE
When column resize compensation mode is set to NONE,
Grid's width or columns are not adjusted upon column resize.
|
RESIZE_COLUMN
When column resize compensation mode is set to RESIZE_COLUMN,
Grid's last column is adjusted occupy the remaining space
available (if there is any).
|
RESIZE_GRID
When column resize compensation mode is set to RESIZE_GRID,
Grid's width is adjusted according to widths of the column.
|
Modifier and Type | Method and Description |
---|---|
static ColumnResizeCompensationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnResizeCompensationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnResizeCompensationMode NONE
public static final ColumnResizeCompensationMode RESIZE_GRID
public static final ColumnResizeCompensationMode RESIZE_COLUMN
Grid.Column.setMaximumWidth(double)
cannot be used with the last columnpublic static ColumnResizeCompensationMode[] values()
for (ColumnResizeCompensationMode c : ColumnResizeCompensationMode.values()) System.out.println(c);
public static ColumnResizeCompensationMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 Magnolia International Ltd.. All rights reserved.