Top Description Fields Constructors Methods
org.controlsfx.control

public Class GridCell<T>

extends IndexedCell<T>
Class Inheritance
Known Direct Subclasses
org.controlsfx.control.cell.ColorGridCell, org.controlsfx.control.cell.ImageGridCell, org.controlsfx.control.cell.MediaImageCell
Imports
impl.org.controlsfx.skin.GridCellSkin, javafx.beans.InvalidationListener, .Observable, javafx.beans.property.SimpleObjectProperty, javafx.scene.control.IndexedCell, .ListView, .Skin, .TableView

A GridCell is created to represent items in the GridView items list. As with other JavaFX UI controls (like ListView, TableView, etc), the GridView control is virtualised, meaning it is exceedingly memory and CPU efficient. Refer to the GridView class documentation for more details.
See Also
GridView

Field Summary

Modifier and TypeField and Description
private final SimpleObjectProperty<GridView<T>>

Constructor Summary

AccessConstructor and Description
public
GridCell()

Creates a default GridCell instance.

Method Summary

Modifier and TypeMethod and Description
protected Skin<?>
createDefaultSkin()

Overrides javafx.scene.control.Control.createDefaultSkin.

Create a new instance of the default skin for this control.

public GridView<T>
getGridView()

Returns the GridView that this GridCell exists within.

public SimpleObjectProperty<GridView<T>>
gridViewProperty()

The GridView that this GridCell exists within.

public final void
updateGridView(GridView<T> gridView)

Sets the GridView that this GridCell exists within.

Inherited from javafx.scene.control.IndexedCell:
getIndexindexPropertyupdateIndex

Field Detail

gridViewback to summary
private final SimpleObjectProperty<GridView<T>> gridView

Constructor Detail

GridCellback to summary
public GridCell()

Creates a default GridCell instance.

Method Detail

createDefaultSkinback to summary
protected Skin<?> createDefaultSkin()

Overrides javafx.scene.control.Control.createDefaultSkin.

Doc from javafx.scene.control.Control.createDefaultSkin.

Create a new instance of the default skin for this control. This is called to create a skin for the control if no skin is provided via CSS -fx-skin or set explicitly in a sub-class with setSkin(...).

Annotations
@Override
getGridViewback to summary
public GridView<T> getGridView()

Returns the GridView that this GridCell exists within.

gridViewPropertyback to summary
public SimpleObjectProperty<GridView<T>> gridViewProperty()

The GridView that this GridCell exists within.

updateGridViewback to summary
public final void updateGridView(GridView<T> gridView)

Sets the GridView that this GridCell exists within.