| Modifier and Type | Class and Description |
|---|---|
| private class | GridViewSkin.
Custom VirtualFlow to grant access to protected methods. |
| Modifier and Type | Field and Description |
|---|---|
| private VirtualFlow | |
| private final ListChangeListener | |
| private final WeakListChangeListener |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected double | |
| public int | |
| protected double | computeMinHeight(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the minimum allowable height of the Skin, based on the provided width. |
| protected double | Returns: Computed width of a rowReturns the width of a row (should be GridView.width - GridView.Scrollbar.width) |
| private GridRow | |
| protected VirtualFlow | createVirtualFlow()
Overrides javafx. Create the virtualized container that handles the layout and scrolling of all the cells. |
| private GridViewSkin | |
| public int | Returns: GridView row countImplements abstract javafx. Returns the number of row needed to display the whole set of cells |
| protected void | layoutChildren(double x, double y, double w, double h)
Overrides javafx. Called during the layout pass of the scenegraph. |
| public void | |
| protected void | updateItemCount()
Implements abstract javafx. This method is called when it is possible that the item count has changed (i.e. scrolling has occurred, the control has resized, etc). |
| protected void |
| flow | back to summary |
|---|---|
| private VirtualFlow<GridRow<T>> flow | |
| gridViewItemsListener | back to summary |
|---|---|
| private final ListChangeListener<T> gridViewItemsListener | |
| weakGridViewItemsListener | back to summary |
|---|---|
| private final WeakListChangeListener<T> weakGridViewItemsListener | |
| GridViewSkin | back to summary |
|---|---|
public GridViewSkin(GridView<T> control)
| |
| computeCellWidth | back to summary |
|---|---|
| protected double computeCellWidth() Returns the width of a cell
| |
| computeMaxCellsInRow | back to summary |
|---|---|
| public int computeMaxCellsInRow() Returns the max number of cell per row
| |
| computeMinHeight | back to summary |
|---|---|
| protected double computeMinHeight(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the minimum allowable height of the Skin, based on the provided width.
| |
| computeRowWidth | back to summary |
|---|---|
| protected double computeRowWidth() Returns the width of a row (should be GridView.width - GridView.Scrollbar.width)
| |
| createCell | back to summary |
|---|---|
| private GridRow | |
| createVirtualFlow | back to summary |
|---|---|
| protected VirtualFlow Overrides javafx. Doc from javafx. Create the virtualized container that handles the layout and scrolling of
all the cells. This enables skin subclasses to provide
a custom
| |
| getFlow | back to summary |
|---|---|
| private GridViewSkin | |
| getItemCount | back to summary |
|---|---|
| public int getItemCount() Implements abstract javafx. Returns the number of row needed to display the whole set of cells
| |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren(double x, double y, double w, double h) Overrides javafx. Doc from javafx. Called during the layout pass of the scenegraph.
| |
| updateGridViewItems | back to summary |
|---|---|
| public void updateGridViewItems() | |
| updateItemCount | back to summary |
|---|---|
| protected void updateItemCount() Implements abstract javafx. Doc from javafx. This method is called when it is possible that the item count has changed (i.e. scrolling has occurred,
the control has resized, etc). This method should recalculate the item count and store that for future
use by the
| |
| updateRows | back to summary |
|---|---|
| protected void updateRows(int rowCount) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | rebuildCells()
Overrides javafx. Informs the |
| public void | reconfigureCells()
Overrides javafx. Informs the |
| public void | recreateCells()
Overrides javafx. Informs the |
| GridVirtualFlow | back to summary |
|---|---|
| private GridVirtualFlow() | |
| rebuildCells | back to summary |
|---|---|
| public void rebuildCells() Overrides javafx. Doc from javafx. Informs the | |
| reconfigureCells | back to summary |
|---|---|
| public void reconfigureCells() Overrides javafx. Doc from javafx. Informs the | |
| recreateCells | back to summary |
|---|---|
| public void recreateCells() Overrides javafx. Doc from javafx. Informs the | |