Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.2.0)

E17492-03


oracle.dss.graph
Interface DataStyleCallback


public interface DataStyleCallback

Method Summary
 java.lang.Object getDataStyle(DataStyleType type, DataStyleContext context)
          Returns a style object to override the graph default assignment.

 

Method Detail

getDataStyle

java.lang.Object getDataStyle(DataStyleType type,
                              DataStyleContext context)
Returns a style object to override the graph default assignment. If null is returned for underlays, the following will be observed - both shape and color is null: no underlays - only shape is null: colored square underlay - only color is null: grey shaped underlay To retain the current style, return DataStyleContext.getDataStyle
Parameters:
type - DataStyleType
context - instance of DataStyleContext class
Returns:
custom style specification If type is color, expects a Color, Integer or String (#hex format) object.
If type is shape, expects a DataStyleType.Shape enum.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.2.0)

E17492-03


Copyright © 1997, 2012, Oracle. All rights reserved.