T
- Table type.C
- Cell type.I
- Cell item typepublic abstract class AbstractTextWrapCellSupport<T extends javafx.scene.control.Control,C extends javafx.scene.control.IndexedCell<I>,I> extends Object
Constructor and Description |
---|
AbstractTextWrapCellSupport(C pTableCell) |
Modifier and Type | Method and Description |
---|---|
protected void |
adjustPrefHeight() |
protected void |
doUpdateItem(I pItem,
boolean pEmpty) |
static void |
filterSelectBindingLogging() |
String |
getDisplayText(I pItem) |
static String |
getDisplayText(javafx.scene.control.TableColumnBase<?,?> pColumn,
Object pItem) |
boolean |
getLineWrap() |
C |
getTableCell() |
protected javafx.scene.control.TableColumnBase<?,?> |
getTableColumn() |
protected abstract javafx.scene.control.IndexedCell<?> |
getTableRow() |
protected abstract T |
getTableView() |
protected javafx.scene.text.TextFlow |
getTextFlow()
The text flow which is used to show the wrapped text in the cell.
|
protected javafx.scene.text.Text |
getWrappedTextNode() |
javafx.beans.property.BooleanProperty |
lineWrapProperty() |
static <V> void |
setStringConverter(javafx.scene.control.TableColumnBase<?,V> pColumn,
Function<V,String> pConverter) |
protected void |
setupText(String pText) |
protected void |
setupWrappedText(String pText) |
protected abstract javafx.beans.property.ReadOnlyObjectProperty<? extends javafx.scene.control.TableColumnBase<?,?>> |
tableColumnProperty() |
protected void |
updateCellText(String pText) |
protected void |
updateItem() |
void |
updateItem(I pItem,
boolean pEmpty) |
protected void |
updateRowHeightIfNeeded() |
public AbstractTextWrapCellSupport(C pTableCell)
public C getTableCell()
protected javafx.scene.text.TextFlow getTextFlow()
protected javafx.scene.text.Text getWrappedTextNode()
public javafx.beans.property.BooleanProperty lineWrapProperty()
public boolean getLineWrap()
protected javafx.scene.control.TableColumnBase<?,?> getTableColumn()
protected abstract javafx.beans.property.ReadOnlyObjectProperty<? extends javafx.scene.control.TableColumnBase<?,?>> tableColumnProperty()
protected abstract javafx.scene.control.IndexedCell<?> getTableRow()
protected abstract T getTableView()
public void updateItem(I pItem, boolean pEmpty)
protected void updateItem()
protected void doUpdateItem(I pItem, boolean pEmpty)
protected void updateCellText(String pText)
protected void setupWrappedText(String pText)
protected void setupText(String pText)
protected void updateRowHeightIfNeeded()
protected void adjustPrefHeight()
public static void filterSelectBindingLogging()
public static <V> void setStringConverter(javafx.scene.control.TableColumnBase<?,V> pColumn, Function<V,String> pConverter)
Copyright © 2023. All rights reserved.