CellGraphicFactory that will recycle the Nodes to only provide them
for visible cells.
| Modifier and Type | Method and Description |
|---|---|
| public Node | Returns: aNode to display in the cell graphicthe considered SpreadsheetCell cell)Returns a |
| public Class | Returns: the exact class used in this CellGraphicFactoryReturns the exact class used in this CellGraphicFactory. |
| public void | load(T
the considered node, SpreadsheetCell Nodethe considered SpreadsheetCell cell)When a |
| public void | loadStyle(T
the considered node, SpreadsheetCell Node, may be null for empty
cell.the considered SpreadsheetCell cell, Font the cell font, Paint Fontthe text's color textFill, Pos the cell's vertical and horizontal alignment alignment, Background the cell's background background)Once a |
| public void |
| getNode | back to summary |
|---|---|
| public Node getNode(SpreadsheetCell cell) Returns a
| |
| getType | back to summary |
|---|---|
| public Class Returns the exact class used in this CellGraphicFactory. It is used to determine if the cell's graphic is handled by the cell of by this interface.
| |
| load | back to summary |
|---|---|
| public void load(T node, SpreadsheetCell cell) When a
| |
| loadStyle | back to summary |
|---|---|
| public void loadStyle(T node, SpreadsheetCell cell, Font font, Paint textFill, Pos alignment, Background background) Once a
| |
| setUnusedNode | back to summary |
|---|---|
| public void setUnusedNode(T node) Once a
| |