public static class PropertyTable.PTableColumnDesc extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
int |
index
Индекс в таблице
|
int |
maxWidth |
int |
minWidth |
int |
modelIndex
Индекс в модели
|
String |
modelName |
int |
preferredWidth |
boolean |
resizable |
int |
width
Ширина колонки
|
| Constructor and Description |
|---|
PTableColumnDesc() |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyWidth(PropertyTable pt,
Iterable<PropertyTable.PTableColumnDesc> columnsDesc)
Применяет сохраненные значения ширины колонок
|
static PropertyTable.PTableColumnDesc |
create(PropertyTable pt,
int ci,
TableColumn tc)
Создает описание отображения колонок
|
boolean |
match(PropertyTable pt,
int ci,
TableColumn tc)
Проверка на совпадение
|
void |
widthWrite(PropertyTable pt,
TableColumn tc)
Применение сохраненых значений на колонку
|
public int modelIndex
public int index
public int width
public int minWidth
public int maxWidth
public int preferredWidth
public String modelName
public boolean resizable
public static PropertyTable.PTableColumnDesc create(PropertyTable pt, int ci, TableColumn tc)
pt - Таблицаci - Индекс колонкиtc - Представление колонкиpublic void widthWrite(PropertyTable pt, TableColumn tc)
pt - Таблицаtc - Колонкаpublic boolean match(PropertyTable pt, int ci, TableColumn tc)
pt - Таблицаci - Индекс в таблицеtc - Колонка таблицыpublic static void applyWidth(PropertyTable pt, Iterable<PropertyTable.PTableColumnDesc> columnsDesc)
pt - ТаблицаcolumnsDesc - Описания шириныCopyright © 2019. All rights reserved.