| Package | Description |
|---|---|
| xyz.cofe.gui.swing.cell |
Отображение ячейки таблицы/списка/дерева
|
| xyz.cofe.gui.swing.data |
Редактирование таблицчеых данных
|
| Modifier and Type | Class and Description |
|---|---|
class |
TableCellContext<T extends TableCellContext<?>>
Контекст ячейки таблицы
|
class |
TreeNodeContext
Контекст для отображения узла дерева
|
| Modifier and Type | Field and Description |
|---|---|
protected CellContext |
TreeNodeCellRender.treeIconContext |
| Modifier and Type | Method and Description |
|---|---|
<CtxType extends CellContext> |
LabelRender.addFormatter(Class<CtxType> cls,
xyz.cofe.collection.Func2<CellFormat,CtxType,CellFormat> formatter)
Добавляет форматирование для определенного класса контекста
|
| Modifier and Type | Method and Description |
|---|---|
CellContext |
CellContext.clone()
Клонирование
|
CellContext |
LabelRender.getBackgroundContext()
Возвращает контекст для отображаения фона
|
CellContext |
LabelRender.getBodyContext()
Возвращает контекст "тела" данных
|
CellContext |
LabelRender.getBorderContext()
Возвращает контекст для отображаения рамки
|
CellContext |
LabelRender.getIcoContext()
Возвращает контекст для отображаения текста
|
CellContext |
LabelRender.getTextContext()
Возвращает контекст для отображаения текста
|
CellContext |
TreeNodeCellRender.getTreeIconContext()
Возвращает контекст для отображения иконки
|
CellContext |
CellContext.move(double x,
double y)
Смещает прямоугольник контекста
|
CellContext |
CellContext.padBottom(double pad)
Уменьшает размер прямоугольника (bounds) снизу
|
CellContext |
CellContext.padLeft(double pad)
Уменьшает размер прямоугольника (bounds) слева
|
CellContext |
CellContext.padRight(double pad)
Уменьшает размер прямоугольника (bounds) справа
|
CellContext |
CellContext.padTop(double pad)
Уменьшает размер прямоугольника (bounds) сверху
|
CellContext |
CellContext.size(double width,
double height)
Устанавливает размер прямоугольника
|
CellContext |
CellContext.value(Object value)
Указывает отображаемое значение
|
| Modifier and Type | Method and Description |
|---|---|
List<xyz.cofe.collection.Func2<CellFormat,CellContext,CellFormat>> |
LabelRender.getFormatters()
Список правил условного форматирования
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle2D |
LineBorderRender.cellRectangle(Graphics2D gs,
CellContext context) |
Rectangle2D |
FillRender.cellRectangle(Graphics2D gs,
CellContext context) |
Rectangle2D |
FlatTextRender.cellRectangle(Graphics2D gs,
CellContext context) |
Rectangle2D |
LabelRender.cellRectangle(Graphics2D gs,
CellContext context) |
Rectangle2D |
StackRender.cellRectangle(Graphics2D gs,
CellContext context) |
Rectangle2D |
ImageRender.cellRectangle(Graphics2D gs,
CellContext context) |
Rectangle2D |
TreeNodeCellRender.cellRectangle(Graphics2D gs,
CellContext context) |
Rectangle2D |
CellRender.cellRectangle(Graphics2D gs,
CellContext context)
Получение размера отображаемых данных
|
void |
DefaultLabelRender.cellRender(Graphics2D gs,
CellContext context)
Отображение
|
void |
LineBorderRender.cellRender(Graphics2D gs,
CellContext context) |
void |
FillRender.cellRender(Graphics2D gs,
CellContext context) |
void |
FlatTextRender.cellRender(Graphics2D gs,
CellContext context) |
void |
LabelRender.cellRender(Graphics2D gs,
CellContext context) |
void |
StackRender.cellRender(Graphics2D gs,
CellContext context) |
void |
ImageRender.cellRender(Graphics2D gs,
CellContext context) |
void |
TreeNodeCellRender.cellRender(Graphics2D gs,
CellContext context) |
void |
CellRender.cellRender(Graphics2D gs,
CellContext context)
Отоброжение/рендер данных
|
protected void |
TreeNodeCellRender.onRenderedContentBounds(Rectangle2D rect,
CellContext cctx)
Вызывается при отображении значения, обновляет модель сролирования колонок
|
boolean |
DefaultLabelRender.prepare(Graphics2D gs,
CellContext context,
CellFormat cf)
Подгатавливает ячейку для отображения
|
protected boolean |
LabelRender.prepare(Graphics2D gs,
CellContext context,
CellFormat cf)
Подготовка перед отображением, подготавливает дочерние контексты
|
boolean |
TreeNodeCellRender.prepare(Graphics2D gs,
CellContext context,
CellFormat cf) |
protected void |
DefaultLabelRender.prepareCellContext(Graphics2D gs,
CellContext context,
CellFormat cf,
AtomicReference rendervalref)
Пожготавливает ячейку для отображения данных
|
| Modifier and Type | Class and Description |
|---|---|
static class |
DataTableView.DataTableCellContext
Описывает контекст отобрадения ячейки данных
|
Copyright © 2019. All rights reserved.