Interface IDataPalette
public interface IDataPalette
An interface for data palette that describe return the list of styles and get
the specific style for an object
- Author:
- Geneviève Bastien
-
Method Summary
Modifier and TypeMethodDescriptiongetStyleFor
(Object object) Get the style for an object.Get the map of all styles provided by this palette.
-
Method Details
-
getStyleFor
Get the style for an object. The returned style should not be one of the original style returned by thegetStyles()
method, but a style object with the name of the base style as parent and a possibly empty map.- Parameters:
object
- The object for which to get the style- Returns:
- The style for the object
-
getStyles
Map<String,OutputElementStyle> getStyles()Get the map of all styles provided by this palette. These are the base styles, mapping to the key for each style. Styles for object can then refer to those base styles as parents.- Returns:
- The map of style name to full style description.
-