Class AbstractLazyCellSupport<S,T,C extends javafx.scene.control.IndexedCell<T>>

java.lang.Object
com.iamsoft.util.ui.javafx.table.AbstractLazyCellSupport<S,T,C>
All Implemented Interfaces:
LazyCellSupport<S,T,C>
Direct Known Subclasses:
LazyTableCellSupport, LazyTreeTableCellSupport

public abstract class AbstractLazyCellSupport<S,T,C extends javafx.scene.control.IndexedCell<T>> extends Object implements LazyCellSupport<S,T,C>
  • Field Details

    • LOADING_IMAGE

      protected static final javafx.scene.image.Image LOADING_IMAGE
    • FAILURE_IMAGE

      protected static final javafx.scene.image.Image FAILURE_IMAGE
  • Constructor Details

    • AbstractLazyCellSupport

      public AbstractLazyCellSupport(C pCell, Function<T,String> pToStringMapper)
  • Method Details

    • getCell

      public C getCell()
      Specified by:
      getCell in interface LazyCellSupport<S,T,C extends javafx.scene.control.IndexedCell<T>>
    • findTruncateFunction

      public BiFunction<String,Double,String> findTruncateFunction()
    • updateItem

      protected void updateItem()
    • updateLoadedItem

      public void updateLoadedItem()
      Description copied from interface: LazyCellSupport
      Invoked by implementing classes after item update only when the item is loaded.
      Specified by:
      updateLoadedItem in interface LazyCellSupport<S,T,C extends javafx.scene.control.IndexedCell<T>>
    • doUpdateLoadedItem

      public void doUpdateLoadedItem()
    • configureFailedItem

      protected void configureFailedItem()
    • configureLoadingItem

      protected void configureLoadingItem()