Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.7.0)

E12063-08

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.

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.7.0)

E12063-08

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