Method Detail

forTableColumn

Provides a ProgressBar that allows easy visualisation of a Number
value as it proceeds from 0.0 to 1.0. If the value is -1, the progress
bar will appear indeterminate.

Returns:

A Callback that can be inserted into the
cell factory property of a
TableColumn, that enables visualisation of a Number as it progresses
from 0.0 to 1.0.

updateItem

public void updateItem(java.lang.Double item,
boolean empty)

Updates the item associated with this Cell. This method should
only be called by Skin implementations of ListView, TableView,
TreeView, or other controls using Cells. It is not intended to be called
by application developers.

Because null is a perfectly valid value in the application
domain, Cell needs some way to distinguish whether or not the cell
actually holds a value. The empty flag indicates this.
It is an error to supply a non-null item but a true value for
empty.