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 Details

    • getStyleFor

      OutputElementStyle getStyleFor(Object object)
      Get the style for an object. The returned style should not be one of the original style returned by the getStyles() 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

      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.