Package org.baseagent.ui.defaults
Class ColorFunctionGridCellRenderer
java.lang.Object
org.baseagent.ui.defaults.ColorFunctionGridCellRenderer
- All Implemented Interfaces:
GridCellRenderer
,GridLayerRenderer
-
Constructor Summary
ConstructorDescriptionColorFunctionGridCellRenderer
(Function<Object, javafx.scene.paint.Color> colorFunction) -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawCell
(GridCanvasContext gcc, GridLayer layer, Object object, double xInPixels, double yInPixels, double widthInPixels, double heightInPixels) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.baseagent.ui.GridCellRenderer
draw
-
Constructor Details
-
ColorFunctionGridCellRenderer
-
-
Method Details
-
drawCell
public void drawCell(GridCanvasContext gcc, GridLayer layer, Object object, double xInPixels, double yInPixels, double widthInPixels, double heightInPixels) - Specified by:
drawCell
in interfaceGridCellRenderer
-