Class AbstractTextWrapCellSupport<T extends javafx.scene.control.Control,​C extends javafx.scene.control.IndexedCell<I>,​I>

  • Type Parameters:
    T - Table type.
    C - Cell type.
    I - Cell item type
    Direct Known Subclasses:
    TextWrapTableCellSupport, TextWrapTreeTableCellSupport

    public abstract class AbstractTextWrapCellSupport<T extends javafx.scene.control.Control,​C extends javafx.scene.control.IndexedCell<I>,​I>
    extends Object
    Support for table cells which support text wrapping.
    • Constructor Detail

      • AbstractTextWrapCellSupport

        public AbstractTextWrapCellSupport​(C pTableCell)
    • Method Detail

      • getTableCell

        public C getTableCell()
      • getTextFlow

        protected javafx.scene.text.TextFlow getTextFlow()
        The text flow which is used to show the wrapped text in the cell.
      • getWrappedTextNode

        protected javafx.scene.text.Text getWrappedTextNode()
      • lineWrapProperty

        public javafx.beans.property.BooleanProperty lineWrapProperty()
      • getLineWrap

        public boolean getLineWrap()
      • getTableColumn

        protected javafx.scene.control.TableColumnBase<?,​?> getTableColumn()
      • tableColumnProperty

        protected abstract javafx.beans.property.ReadOnlyObjectProperty<? extends javafx.scene.control.TableColumnBase<?,​?>> tableColumnProperty()
      • getTableRow

        protected abstract javafx.scene.control.IndexedCell<?> getTableRow()
      • getTableView

        protected abstract T getTableView()
      • initTruncateFunction

        public void initTruncateFunction()
      • updateItem

        public void updateItem​(I pItem,
                               boolean pEmpty)
      • updateItem

        protected void updateItem()
      • doUpdateItem

        protected void doUpdateItem​(I pItem,
                                    boolean pEmpty)
      • updateCellText

        protected void updateCellText​(String pText)
      • setupWrappedText

        protected void setupWrappedText​(String pText)
      • setupText

        protected void setupText​(String pText)
      • updateRowHeightIfNeeded

        protected void updateRowHeightIfNeeded()
      • adjustPrefHeight

        protected void adjustPrefHeight()
      • filterSelectBindingLogging

        public static void filterSelectBindingLogging()
      • setStringConverter

        public static <V> void setStringConverter​(javafx.scene.control.TableColumnBase<?,​V> pColumn,
                                                  Function<V,​String> pConverter)
      • getDisplayText

        public String getDisplayText​(I pItem)
      • getDisplayText

        public static String getDisplayText​(javafx.scene.control.TableColumnBase<?,​?> pColumn,
                                            Object pItem)