| Package | Description |
|---|---|
| xyz.cofe.gui.swing.cell |
Отображение ячейки таблицы/списка/дерева
|
| xyz.cofe.gui.swing.data |
Редактирование таблицчеых данных
|
| Modifier and Type | Method and Description |
|---|---|
CellFormat |
CellFormat.autoIconPlaceholder(boolean autoIconPlaceholder)
Указывает автоматическое резервирование места под иконку
|
CellFormat |
CellFormat.backgroundColor(Color color)
Указывает цвет фона текста
|
CellFormat |
CellFormat.bgColor(Color color)
Указывает цвет фона текста
|
CellFormat |
CellFormat.bold(boolean bld)
Указывает использовать жирный шрифт.
|
CellFormat |
CellFormat.borderBottom(Color color,
float width,
float... dash)
Устанавливает нижнию границу бордюра (рамки)
|
CellFormat |
CellFormat.borderLeft(Color color,
float width,
float... dash)
Устанавливает левою границу бордюра
|
CellFormat |
CellFormat.borderRight(Color color,
float width,
float... dash)
Устанавливает правую границу бордюра
|
CellFormat |
CellFormat.borderTop(Color color,
float width,
float... dash)
Устанавливает верхнюю границу бордюра (рамки)
|
CellFormat |
CellFormat.clone()
Клонирование
|
CellFormat |
CellFormat.color(Color color)
Указывает цвет текста
|
CellFormat |
CellFormat.dateFormat(String simpleDateFormat)
Указывает формат даты/времени.
|
CellFormat |
CellFormat.dateFormat(String simpleDateFormat,
DateFormatSymbols symbls)
Указывает формат даты/времени.
|
CellFormat |
CellFormat.dateFormat(String simpleDateFormat,
Locale loc)
Указывает формат даты/времени.
|
CellFormat |
CellFormat.font(Font f)
Указывает шрифт используемый для отображения
|
CellFormat |
CellFormat.font(String fontName,
float size,
boolean bold,
boolean italic)
Указывает шрифт используемый для отображения.
|
CellFormat |
CellFormat.fontFamily(String name)
Указывает имя (семейство) шрифта.
|
CellFormat |
CellFormat.fontSize(float pointSize)
Указывает размер используемого шрифта.
|
CellFormat |
LabelRender.getFormat()
Форматирование по умолчанию
|
CellFormat |
CellFormat.halign(Double v)
Указывает выравнивание относительно контекста
|
CellFormat |
CellFormat.icon(Icon ico)
Указывает иконку отображаемую рядом с текстом
|
CellFormat |
CellFormat.iconPadBottom(Double v)
Указывает отступ сверху для иконки
|
CellFormat |
CellFormat.iconPadLeft(Double v)
Указывает отступ слева для иконки
|
CellFormat |
CellFormat.iconPadRight(Double v)
Указывает отступ справа для иконки
|
CellFormat |
CellFormat.iconPadTop(Double v)
Указывает отступ сверху для иконки
|
CellFormat |
CellFormat.iconPlaceholder(Dimension placeholder)
Указывает резервирование места под иконку
|
CellFormat |
CellFormat.iconPlaceholder(double width,
double height)
Указывает резервирование места под иконку
|
CellFormat |
CellFormat.iconPlaceholder(int width,
int height)
Указывает резервирование места под иконку
|
CellFormat |
CellFormat.italic(boolean italic)
Указывает использовать наклонный шрифт.
|
CellFormat |
CellFormat.maxLineLength(Integer maxLineLength)
Указывает максимальное отображаемое кол-во символов в строке
|
CellFormat |
CellFormat.maxLinesCount(Integer maxLinesCount)
Указывает максимальное отображаемое кол-во линий текста
|
CellFormat |
CellFormat.numberFormat(String pattern)
Указывает формат чисел
|
CellFormat |
CellFormat.numberFormat(String pattern,
DecimalFormatSymbols symb)
Указывает формат чисел.
|
CellFormat |
CellFormat.padBottom(Double v)
Указывает отступ снизу
|
CellFormat |
CellFormat.padLeft(Double v)
Указывает отступ слева
|
CellFormat |
CellFormat.padRight(Double v)
Указывает отступ справа
|
CellFormat |
CellFormat.padTop(Double v)
Указывает отступ сверху
|
CellFormat |
CellFormat.reset()
Сброс форматирования
|
CellFormat |
CellFormat.textAliasing(TextAliasing aliasing)
Указывает способ сглаживания текста
|
CellFormat |
CellFormat.textAlign(Double v)
Указывает выравнивание текста по горизонтали относительно наибольшей строки текста.
|
CellFormat |
CellFormat.textPadBottom(Double v)
Указывает отступ снизу в текстовом блоке
|
CellFormat |
CellFormat.textPadLeft(Double v)
Указывает отступ слева в текстовом блоке
|
CellFormat |
CellFormat.textPadRight(Double v)
Указывает отступ справа в текстовом блоке
|
CellFormat |
CellFormat.textPadTop(Double v)
Указывает отступ сверху в текстовом блоке
|
CellFormat |
CellFormat.valign(Double v)
Указывает выравнивание относительно контекста
|
| Modifier and Type | Method and Description |
|---|---|
List<xyz.cofe.collection.Func2<CellFormat,CellContext,CellFormat>> |
LabelRender.getFormatters()
Список правил условного форматирования
|
List<xyz.cofe.collection.Func2<CellFormat,CellContext,CellFormat>> |
LabelRender.getFormatters()
Список правил условного форматирования
|
| Modifier and Type | Method and Description |
|---|---|
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)
Пожготавливает ячейку для отображения данных
|
protected void |
TreeNodeCellRender.prepareTreeTableNode(Graphics2D gs,
TreeNodeContext ctx,
CellFormat cf,
TreeTableNode node) |
void |
LabelRender.setFormat(CellFormat cf)
Указывает форматирование по умолчанию
|
| Modifier and Type | Method and Description |
|---|---|
<CtxType extends CellContext> |
LabelRender.addFormatter(Class<CtxType> cls,
xyz.cofe.collection.Func2<CellFormat,CtxType,CellFormat> formatter)
Добавляет форматирование для определенного класса контекста
|
<CtxType extends CellContext> |
LabelRender.addFormatter(Class<CtxType> cls,
xyz.cofe.collection.Func2<CellFormat,CtxType,CellFormat> formatter)
Добавляет форматирование для определенного класса контекста
|
| Constructor and Description |
|---|
CellFormat(CellFormat sample)
Конструктор копирования
|
DefaultLabelRender(CellFormat cellFormat)
Конструктор копирования
формат времени yyyy-MM-dd HH:mm:ss.SSSZZZ |
LabelRender(CellFormat cellformat)
Конструктор
|
TreeNodeCellRender(CellFormat cellFormat)
Конструктор
|
TreeNodeCellRender(CellFormat cellFormat,
ColumnScrollModel csm)
Конструктор
|
| Modifier and Type | Method and Description |
|---|---|
CellFormat |
DataTableView.getCellFormat(int row,
int col)
Возвращает форматирование для ячейки
|
Copyright © 2019. All rights reserved.