java.lang.Object
org.jfree.chart3d.table.TableElementStyler
- All Implemented Interfaces:
TableElementVisitor
A table element visitor that applies style changes.
- Since:
- 1.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(TableElement element) Performs the visitor's operation on the table element.
-
Constructor Details
-
TableElementStyler
public TableElementStyler(Map<String, Font> fontChanges, Map<String, Color> fgChanges, Map<String, Color> bgChanges) Creates a new styler. The keys in each map are tag values - each element with a matching tag will have the associated value applied to it.- Parameters:
fontChanges
- a map of font changes.fgChanges
- a map of foreground color changes.bgChanges
- a map of background color changes.
-
-
Method Details
-
visit
Description copied from interface:TableElementVisitor
Performs the visitor's operation on the table element.- Specified by:
visit
in interfaceTableElementVisitor
- Parameters:
element
- the element (null
not permitted).
-