Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.graph.gui
Class GraphTypeConverterAdapter

java.lang.Object
  |
  +--oracle.dss.graph.gui.GraphTypeConverterAdapter
All Implemented Interfaces:
GraphTypeConverter

public class GraphTypeConverterAdapter
extends java.lang.Object
implements GraphTypeConverter

Translates between the graph types presented in the GraphType panel and graph types that are defined in the Graph class.

Some graph types that are presented in the GraphType do not correspond directly to values of the GraphType property of the graph. For example, a point graph in the UI is a graph that has its GraphType set to LINE_VERT_ABS and its LineDataLineDisplayed property set to false.

The GraphType panel calls this class to get the current type and subtype of the graph, and to set the type and subtype that the user has chosen.

See Also:
Graph.setGraphType(int), GraphTypeAndSubtype

Field Summary
static int AREA_HORIZ_ABS
          Subtype ID: Absolute horizontal area.
static int AREA_HORIZ_ABS_SPLIT2Y
          Subtype ID: Split dual-Y absolute horizontal area.
static int AREA_HORIZ_PERCENT
          Subtype ID: Percent horizontal area.
static int AREA_HORIZ_STACK
          Subtype ID: Stacked horizontal area.
static int AREA_HORIZ_STACK_SPLIT2Y
          Subtype ID: Split dual-Y stacked horizontal area.
static int AREA_VERT_ABS
          Subtype ID: Absolute vertical area.
static int AREA_VERT_ABS_SPLIT2Y
          Subtype ID: Split dual-Y absolute vertical area.
static int AREA_VERT_PERCENT
          Subtype ID: Percent vertical area.
static int AREA_VERT_STACK
          Subtype ID: Stacked vertical area.
static int AREA_VERT_STACK_SPLIT2Y
          Subtype ID: Split dual-Y stacked vertical area.
static int BAR_HORIZ_CLUST
          Subtype ID: Clustered horizontal bar.
static int BAR_HORIZ_CLUST_2Y
          Subtype ID: Dual-Y clustered horizontal bar.
static int BAR_HORIZ_CLUST_SPLIT2Y
          Subtype ID: Split dual-Y clustered horizontal bar.
static int BAR_HORIZ_PERCENT
          Subtype ID: Percent horizontal bar.
static int BAR_HORIZ_STACK
          Subtype ID: Stacked horizontal bar.
static int BAR_HORIZ_STACK_2Y
          Subtype ID: Dual-Y stacked horizontal bar.
static int BAR_HORIZ_STACK_SPLIT2Y
          Subtype ID: Split dual-Y stacked horizontal bar.
static int BAR_VERT_CLUST
          Subtype ID: Clustered vertical bar.
static int BAR_VERT_CLUST_SPLIT2Y
          Subtype ID: Split dual-Y clustered vertical bar.
static int BAR_VERT_CLUST2Y
          Subtype ID: Dual-Y clustered vertical bar.
static int BAR_VERT_PERCENT
          Subtype ID: Percent vertical bar.
static int BAR_VERT_STACK
          Subtype ID: Stacked vertical bar.
static int BAR_VERT_STACK_SPLIT2Y
          Subtype ID: Split dual-Y stacked vertical bar.
static int BAR_VERT_STACK2Y
          Subtype ID: Dual-Y stacked vertical bar.
static int BUBBLE
          Subtype ID: Bubble.
static int BUBBLE_2Y
          Subtype ID: Dual-Y bubble.
static int BUBBLE_LABELS
          Subtype ID: Bubble with labels.
static int BUBBLE_LABELS_2Y
          Subtype ID: Dual-Y bubble with labels.
static int COMBO_GRAPH
          Subtype ID: Combination.
static int COMBO_GRAPH_2Y
          Subtype ID: Dual-Y combination.
static int HIST_HORIZ
          Subtype ID: Horizontal histogram.
static int HIST_VERT
          Subtype ID: Vertical histogram.
static int LINE_HORIZ_ABS
          Subtype ID: Absolute horizontal line.
static int LINE_HORIZ_ABS_2Y
          Subtype ID: Dual-Y absolute horizontal line.
static int LINE_HORIZ_ABS_SPLIT2Y
          Subtype ID: Split dual-Y absolute horizontal line.
static int LINE_HORIZ_PERCENT
          Subtype ID: Percent horizontal line.
static int LINE_HORIZ_STACK
          Subtype ID: Stacked horizontal line.
static int LINE_HORIZ_STACK_2Y
          Subtype ID: Dual-Y stacked horizontal line.
static int LINE_HORIZ_STACK_SPLIT2Y
          Subtype ID: Split dual-Y stacked horizontal line.
static int LINE_VERT_ABS
          Subtype ID: Absolute vertical line.
static int LINE_VERT_ABS_2Y
          Subtype ID: Dual-Y absolute vertical line.
static int LINE_VERT_ABS_SPLIT2Y
          Subtype ID: Split dual-Y absolute vertical line.
static int LINE_VERT_PERCENT
          Subtype ID: Percent vertical line.
static int LINE_VERT_STACK
          Subtype ID: Stacked vertical line.
static int LINE_VERT_STACK_2Y
          Subtype ID: Dual-Y stacked vertical line.
static int LINE_VERT_STACK_SPLIT2Y
          Subtype ID: Split dual-Y stacked vertical line.
static int PARETO
          Subtype ID: Pareto.
static int PIE
          Subtype ID: Single pie.
static int PIE_BAR
          Subtype ID: Pie-bar.
static int PIE_MULTI
          Subtype ID: Multiple pie.
static int PIE_MULTI_PROP
          Subtype ID: Multiple proportional pie.
static int POINT_VERT_ABS
          Deprecated. As of 2.8.0.11, no longer supported
static int POINT_VERT_ABS_2Y
          Deprecated. As of 2.8.0.11, no longer supported
static int POINT_VERT_ABS_SPLIT2Y
          Deprecated. As of 2.8.0.11, no longer supported
static int POLAR
          Subtype ID: Polar.
static int POLAR_2Y
          Subtype ID: Dual-Y polar.
static int RADAR_AREA
          Subtype ID: Radar area.
static int RADAR_LINE
          Subtype ID: Radar line.
static int RADAR_LINE_2Y
          Subtype ID: Dual-Y radar line.
static int RING
          Subtype ID: Single ring.
static int RING_BAR
          Subtype ID: Ring-bar.
static int RING_MULTI
          Subtype ID: Multiple ring.
static int RING_MULTI_PROP
          Subtype ID: Multiple proportional ring.
static int SCATTER
          Subtype ID: Scatter.
static int SCATTER_2Y
          Subtype ID: Dual-Y scatter.
static int SCATTER_LABELS
          Subtype ID: Scatter with labels.
static int SCATTER_LABELS_2Y
          Subtype ID: Dual-Y scatter with labels.
static int SPECTRAL
          Subtype ID: Spectral.
static int STOCK_2Y
          Subtype ID: Dual-Y stock.
static int STOCK_CANDLE
          Subtype ID: Stock candle.
static int STOCK_CANDLE_VOLUME
          Subtype ID: Stock candle with volume.
static int STOCK_HILO
          Subtype ID: Stock.
static int STOCK_HILO_2Y
          Subtype ID: Dual-Y stock.
static int STOCK_HILO_CLOSE
          Subtype ID: Stock with close.
static int STOCK_HILO_CLOSE_SPLIT2Y
          Subtype ID: Split dual-Y stock with close.
static int STOCK_HILO_CLOSE_VOLUME
          Subtype ID: Stock with close and volume.
static int STOCK_HILO_CLOSE2Y
          Subtype ID: Dual-Y stock with close.
static int STOCK_HILO_SPLIT2Y
          Subtype ID: Split dual-Y stock.
static int STOCK_HILO_VOLUME
          Subtype ID: Stock with volume.
static int STOCK_OHLC_CANDLE
          Subtype ID: Stock candle with open and close.
static int STOCK_OHLC_CANDLE_VOLUME
          Subtype ID: Stock candle with open, close, and volume.
static int STOCK_OPEN_HILO_CLOSE
          Subtype ID: Stock with open and close.
static int STOCK_SPLIT_2Y
          Subtype ID: Split dual-Y stock.
static int STOCK_VOLUME
          Subtype ID: Stock with open, close, and volume.
static int THREED_AREA_GROUP
          Subtype ID: 3-D area group.
static int THREED_AREA_SERIES
          Subtype ID: 3-D area series.
static int THREED_BAR
          Subtype ID: 3-D bar.
static int THREED_CUBE
          Subtype ID: 3-D cube.
static int THREED_DIAMOND
          Subtype ID: 3-D diamond.
static int THREED_OCTAGON
          Subtype ID: 3-D octagon.
static int THREED_PYRAMID
          Subtype ID: 3-D pyramid.
static int THREED_RIBBON_GROUP
          Subtype ID: 3-D ribbon group.
static int THREED_RIBBON_SERIES
          Subtype ID: 3-D ribbon series.
static int THREED_SURFACE
          Subtype ID: 3-D surface documented.
static int THREED_SURFACE_HONEYCOMB
          Subtype ID: 3-D surface honeycomb.
static int THREED_SURFACE_SIDES
          Subtype ID: 3-D surface with sides.
static int TYPE_AREA
          Type ID: Area.
static int TYPE_BAR
          Type ID: Vertical Bar.
static int TYPE_BUBBLE
          Deprecated. As of 2.8.0.11, Scatter and Bubble now combined into 1 type
static int TYPE_CIRCULAR
          Type ID: Circular Type ID.
static int TYPE_COMBINATION
          Type ID: Combination.
static int TYPE_HISTOGRAM
          Type ID: Histogram.
static int TYPE_HORIZONTAL_AREA
          Type ID: Horizontal Area.
static int TYPE_HORIZONTAL_BAR
          Type ID: Horizontal Bar.
static int TYPE_HORIZONTAL_LINE
          Type ID: Horizontal Line.
static int TYPE_LINE
          Type ID: Line.
static int TYPE_PARETO
          Type ID: Pareto.
static int TYPE_PIE
          Type ID: Pie.
static int TYPE_POINT
          Deprecated. As of 2.8.0.11, no longer supported
static int TYPE_POLAR
          Deprecated. As of 2.8.0.11, Polar and Radar combined as type Circular
static int TYPE_RADAR
          Deprecated. As of 2.8.0.11, Polar and Radar combined as type Circular
static int TYPE_SCATTER
          Deprecated. As of 2.8.0.11, Scatter and Bubble now combined into 1 type
static int TYPE_SCATTER_BUBBLE
          Type ID: Scatter/Bubble Type ID.
static int TYPE_SPECTRAL
          Type ID: Spectral Type ID.
static int TYPE_STOCK
          Type ID: Stock.
static int TYPE_THREED
          Type ID: Three-dimensional.

 

Constructor Summary
GraphTypeConverterAdapter()
          Constructor.
GraphTypeConverterAdapter(UIGraph graph)
          Deprecated. As of 2.7.5.1, replaced by GraphTypeConverterAdapter() By removing UIGraph as a parameter, a single GraphTypeConverter will maintain a single list of Types and Subtypes with resources for a single locale, and may be used with any UIGraph object.

 

Method Summary
 void addType(Type newType)
          Adds the specified Type object to the end of the list of available graph categories.
 void addType(Type newType, int afterType)
          Adds the specified Type object to the list of available graph categories, in a specified place in the list.
 int getNumberOfTypes()
          Retrieves the number of Type objects that are in the list of available graph categories.
 Type getType(int typeID)
          Retrieves the Type object with the specified ID in the list of available graph types.
 GraphTypeAndSubtype getTypeAndSubtype()
          Deprecated. As of 2.7.5.1, replaced by getTypeAndSubtype(UIGraph graph)
 GraphTypeAndSubtype getTypeAndSubtype(UIGraph graph)
          Retrieves the current type and subtype of the graph.
 java.util.Vector getTypes()
          Retrieves the Type objects that describe the graph categories.
 boolean isCombinationType()
          Deprecated. As of 2.7.5.1, replaced by isCombinationType(UIGraph graph)
 boolean isCombinationType(UIGraph graph)
          Indicates whether the current graph type is a combination graph.
 boolean isPointType()
          Deprecated. As of 2.8.0.11, Point type graphs no longer supported
 void removeType(int typeID)
          Removes the specified Type object from the list of available graph categories.
 void setLocale(java.util.Locale loc)
          Specifies the Locale for this GraphTypeConverter.
 void setTypeAndSubtype(GraphTypeAndSubtype typeSubtype)
          Deprecated. As of 2.7.5.1, replaced by setTypeAndSubtype(UIGraph graph, GraphTypeAndSubtype typeSubType)
 void setTypeAndSubtype(UIGraph graph, GraphTypeAndSubtype typeSubtype)
          Specifies the graph type and subtype for the graph.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

TYPE_BAR

public static final int TYPE_BAR
Type ID: Vertical Bar.

TYPE_HORIZONTAL_BAR

public static final int TYPE_HORIZONTAL_BAR
Type ID: Horizontal Bar.

TYPE_LINE

public static final int TYPE_LINE
Type ID: Line. The default user interface supports vertical line graphs.

TYPE_HORIZONTAL_LINE

public static final int TYPE_HORIZONTAL_LINE
Type ID: Horizontal Line. This type is not supported in the default user interface for graphs.

TYPE_POINT

public static final int TYPE_POINT
Deprecated. As of 2.8.0.11, no longer supported
Type ID: Point.

TYPE_AREA

public static final int TYPE_AREA
Type ID: Area. The default user interface supports vertical area graphs.

TYPE_HORIZONTAL_AREA

public static final int TYPE_HORIZONTAL_AREA
Type ID: Horizontal Area. This type is not supported in the default user interface for graphs.

TYPE_COMBINATION

public static final int TYPE_COMBINATION
Type ID: Combination.

TYPE_PARETO

public static final int TYPE_PARETO
Type ID: Pareto.

TYPE_PIE

public static final int TYPE_PIE
Type ID: Pie.

TYPE_POLAR

public static final int TYPE_POLAR
Deprecated. As of 2.8.0.11, Polar and Radar combined as type Circular
Type ID: Polar.

TYPE_RADAR

public static final int TYPE_RADAR
Deprecated. As of 2.8.0.11, Polar and Radar combined as type Circular
Type ID: Radar.

TYPE_SCATTER

public static final int TYPE_SCATTER
Deprecated. As of 2.8.0.11, Scatter and Bubble now combined into 1 type
Type ID: Scatter.

TYPE_BUBBLE

public static final int TYPE_BUBBLE
Deprecated. As of 2.8.0.11, Scatter and Bubble now combined into 1 type
Type ID: Bubble.

TYPE_STOCK

public static final int TYPE_STOCK
Type ID: Stock.

TYPE_THREED

public static final int TYPE_THREED
Type ID: Three-dimensional.

TYPE_HISTOGRAM

public static final int TYPE_HISTOGRAM
Type ID: Histogram. This type is not supported in the default user interface for graphs.

TYPE_SPECTRAL

public static final int TYPE_SPECTRAL
Type ID: Spectral Type ID. This type is not supported in the default user interface for graphs.

TYPE_CIRCULAR

public static final int TYPE_CIRCULAR
Type ID: Circular Type ID.

TYPE_SCATTER_BUBBLE

public static final int TYPE_SCATTER_BUBBLE
Type ID: Scatter/Bubble Type ID.

BAR_VERT_CLUST

public static final int BAR_VERT_CLUST
Subtype ID: Clustered vertical bar. Single Y-axis.

BAR_VERT_CLUST2Y

public static final int BAR_VERT_CLUST2Y
Subtype ID: Dual-Y clustered vertical bar.

BAR_VERT_CLUST_SPLIT2Y

public static final int BAR_VERT_CLUST_SPLIT2Y
Subtype ID: Split dual-Y clustered vertical bar.

BAR_VERT_PERCENT

public static final int BAR_VERT_PERCENT
Subtype ID: Percent vertical bar.

BAR_VERT_STACK

public static final int BAR_VERT_STACK
Subtype ID: Stacked vertical bar. Single Y-axis.

BAR_VERT_STACK2Y

public static final int BAR_VERT_STACK2Y
Subtype ID: Dual-Y stacked vertical bar.

BAR_VERT_STACK_SPLIT2Y

public static final int BAR_VERT_STACK_SPLIT2Y
Subtype ID: Split dual-Y stacked vertical bar.

BAR_HORIZ_CLUST

public static final int BAR_HORIZ_CLUST
Subtype ID: Clustered horizontal bar. Single Y-axis.

BAR_HORIZ_CLUST_2Y

public static final int BAR_HORIZ_CLUST_2Y
Subtype ID: Dual-Y clustered horizontal bar.

BAR_HORIZ_CLUST_SPLIT2Y

public static final int BAR_HORIZ_CLUST_SPLIT2Y
Subtype ID: Split dual-Y clustered horizontal bar.

BAR_HORIZ_PERCENT

public static final int BAR_HORIZ_PERCENT
Subtype ID: Percent horizontal bar.

BAR_HORIZ_STACK

public static final int BAR_HORIZ_STACK
Subtype ID: Stacked horizontal bar. Single Y-axis.

BAR_HORIZ_STACK_2Y

public static final int BAR_HORIZ_STACK_2Y
Subtype ID: Dual-Y stacked horizontal bar.

BAR_HORIZ_STACK_SPLIT2Y

public static final int BAR_HORIZ_STACK_SPLIT2Y
Subtype ID: Split dual-Y stacked horizontal bar.

LINE_VERT_ABS

public static final int LINE_VERT_ABS
Subtype ID: Absolute vertical line. Single Y-axis.

LINE_VERT_ABS_2Y

public static final int LINE_VERT_ABS_2Y
Subtype ID: Dual-Y absolute vertical line.

LINE_VERT_ABS_SPLIT2Y

public static final int LINE_VERT_ABS_SPLIT2Y
Subtype ID: Split dual-Y absolute vertical line.

LINE_VERT_PERCENT

public static final int LINE_VERT_PERCENT
Subtype ID: Percent vertical line.

LINE_VERT_STACK

public static final int LINE_VERT_STACK
Subtype ID: Stacked vertical line. Single Y-axis.

LINE_VERT_STACK_2Y

public static final int LINE_VERT_STACK_2Y
Subtype ID: Dual-Y stacked vertical line.

LINE_VERT_STACK_SPLIT2Y

public static final int LINE_VERT_STACK_SPLIT2Y
Subtype ID: Split dual-Y stacked vertical line.

LINE_HORIZ_ABS

public static final int LINE_HORIZ_ABS
Subtype ID: Absolute horizontal line. Single Y-axis. This subtype is not supported in the default user interface for graphs.

LINE_HORIZ_ABS_2Y

public static final int LINE_HORIZ_ABS_2Y
Subtype ID: Dual-Y absolute horizontal line. This subtype is not supported in the default user interface for graphs.

LINE_HORIZ_ABS_SPLIT2Y

public static final int LINE_HORIZ_ABS_SPLIT2Y
Subtype ID: Split dual-Y absolute horizontal line. This subtype is not supported in the default user interface for graphs.

LINE_HORIZ_PERCENT

public static final int LINE_HORIZ_PERCENT
Subtype ID: Percent horizontal line. This subtype is not supported in the default user interface for graphs.

LINE_HORIZ_STACK

public static final int LINE_HORIZ_STACK
Subtype ID: Stacked horizontal line. This subtype is not supported in the default user interface for graphs.

LINE_HORIZ_STACK_2Y

public static final int LINE_HORIZ_STACK_2Y
Subtype ID: Dual-Y stacked horizontal line. This subtype is not supported in the default user interface for graphs.

LINE_HORIZ_STACK_SPLIT2Y

public static final int LINE_HORIZ_STACK_SPLIT2Y
Subtype ID: Split dual-Y stacked horizontal line. This subtype is not supported in the default user interface for graphs.

POINT_VERT_ABS

public static final int POINT_VERT_ABS
Deprecated. As of 2.8.0.11, no longer supported
Subtype ID: Absolute vertical point. Single Y-axis.

POINT_VERT_ABS_2Y

public static final int POINT_VERT_ABS_2Y
Deprecated. As of 2.8.0.11, no longer supported
Subtype ID: Dual-Y absolute vertical point.

POINT_VERT_ABS_SPLIT2Y

public static final int POINT_VERT_ABS_SPLIT2Y
Deprecated. As of 2.8.0.11, no longer supported
Subtype ID: Split dual-Y absolute vertical point.

AREA_VERT_ABS

public static final int AREA_VERT_ABS
Subtype ID: Absolute vertical area. Single Y-axis.

AREA_VERT_ABS_SPLIT2Y

public static final int AREA_VERT_ABS_SPLIT2Y
Subtype ID: Split dual-Y absolute vertical area.

AREA_VERT_PERCENT

public static final int AREA_VERT_PERCENT
Subtype ID: Percent vertical area.

AREA_VERT_STACK

public static final int AREA_VERT_STACK
Subtype ID: Stacked vertical area. Single Y-axis.

AREA_VERT_STACK_SPLIT2Y

public static final int AREA_VERT_STACK_SPLIT2Y
Subtype ID: Split dual-Y stacked vertical area.

AREA_HORIZ_ABS

public static final int AREA_HORIZ_ABS
Subtype ID: Absolute horizontal area. Single Y-axis. This subtype is not supported in the default user interface for graphs.

AREA_HORIZ_ABS_SPLIT2Y

public static final int AREA_HORIZ_ABS_SPLIT2Y
Subtype ID: Split dual-Y absolute horizontal area. This subtype is not supported in the default user interface for graphs.

AREA_HORIZ_PERCENT

public static final int AREA_HORIZ_PERCENT
Subtype ID: Percent horizontal area. This subtype is not supported in the default user interface for graphs.

AREA_HORIZ_STACK

public static final int AREA_HORIZ_STACK
Subtype ID: Stacked horizontal area. Single Y-axis. This subtype is not supported in the default user interface for graphs.

AREA_HORIZ_STACK_SPLIT2Y

public static final int AREA_HORIZ_STACK_SPLIT2Y
Subtype ID: Split dual-Y stacked horizontal area. This subtype is not supported in the default user interface for graphs.

COMBO_GRAPH

public static final int COMBO_GRAPH
Subtype ID: Combination. Single Y-axis.

COMBO_GRAPH_2Y

public static final int COMBO_GRAPH_2Y
Subtype ID: Dual-Y combination.

PARETO

public static final int PARETO
Subtype ID: Pareto.

PIE

public static final int PIE
Subtype ID: Single pie.

PIE_MULTI

public static final int PIE_MULTI
Subtype ID: Multiple pie.

PIE_BAR

public static final int PIE_BAR
Subtype ID: Pie-bar.

RING

public static final int RING
Subtype ID: Single ring.

RING_MULTI

public static final int RING_MULTI
Subtype ID: Multiple ring.

RING_BAR

public static final int RING_BAR
Subtype ID: Ring-bar.

PIE_MULTI_PROP

public static final int PIE_MULTI_PROP
Subtype ID: Multiple proportional pie. This subtype is not supported in the default user interface for graphs.

RING_MULTI_PROP

public static final int RING_MULTI_PROP
Subtype ID: Multiple proportional ring. This subtype is not supported in the default user interface for graphs.

POLAR

public static final int POLAR
Subtype ID: Polar. Single Y-axis.

POLAR_2Y

public static final int POLAR_2Y
Subtype ID: Dual-Y polar. This subtype is not supported in the default user interface for graphs.

RADAR_LINE

public static final int RADAR_LINE
Subtype ID: Radar line. Single Y-axis.

RADAR_AREA

public static final int RADAR_AREA
Subtype ID: Radar area. Single Y-axis. This subtype is not supported in the default user interface for graphs.

RADAR_LINE_2Y

public static final int RADAR_LINE_2Y
Subtype ID: Dual-Y radar line. This subtype is not supported in the default user interface for graphs.

SCATTER

public static final int SCATTER
Subtype ID: Scatter. Single Y-axis.

SCATTER_2Y

public static final int SCATTER_2Y
Subtype ID: Dual-Y scatter.

SCATTER_LABELS

public static final int SCATTER_LABELS
Subtype ID: Scatter with labels. This subtype is not supported in the default user interface for graphs.

SCATTER_LABELS_2Y

public static final int SCATTER_LABELS_2Y
Subtype ID: Dual-Y scatter with labels. This subtype is not supported in the default user interface for graphs.

BUBBLE

public static final int BUBBLE
Subtype ID: Bubble. Single Y-axis.

BUBBLE_2Y

public static final int BUBBLE_2Y
Subtype ID: Dual-Y bubble. status documented

BUBBLE_LABELS

public static final int BUBBLE_LABELS
Subtype ID: Bubble with labels. Single Y-axis. This subtype is not supported in the default user interface for graphs.

BUBBLE_LABELS_2Y

public static final int BUBBLE_LABELS_2Y
Subtype ID: Dual-Y bubble with labels. This subtype is not supported in the default user interface for graphs.

STOCK_HILO_CLOSE

public static final int STOCK_HILO_CLOSE
Subtype ID: Stock with close. High-low-close values.

STOCK_HILO_CLOSE_VOLUME

public static final int STOCK_HILO_CLOSE_VOLUME
Subtype ID: Stock with close and volume. High-low-close-volume.

STOCK_OHLC_CANDLE

public static final int STOCK_OHLC_CANDLE
Subtype ID: Stock candle with open and close. Open-high-low-close.

STOCK_OHLC_CANDLE_VOLUME

public static final int STOCK_OHLC_CANDLE_VOLUME
Subtype ID: Stock candle with open, close, and volume. Open-high-low-close-volume.

STOCK_OPEN_HILO_CLOSE

public static final int STOCK_OPEN_HILO_CLOSE
Subtype ID: Stock with open and close. Open-high-low-close, not candle. This subtype is not supported in the default user interface for graphs.

STOCK_2Y

public static final int STOCK_2Y
Subtype ID: Dual-Y stock. This subtype is not supported in the default user interface for graphs.

STOCK_CANDLE

public static final int STOCK_CANDLE
Subtype ID: Stock candle. This subtype is not supported in the default user interface for graphs.

STOCK_CANDLE_VOLUME

public static final int STOCK_CANDLE_VOLUME
Subtype ID: Stock candle with volume. This subtype is not supported in the default user interface for graphs.

STOCK_HILO

public static final int STOCK_HILO
Subtype ID: Stock. This subtype is not supported in the default user interface for graphs.

STOCK_HILO_2Y

public static final int STOCK_HILO_2Y
Subtype ID: Dual-Y stock. This subtype is not supported in the default user interface for graphs.

STOCK_HILO_CLOSE2Y

public static final int STOCK_HILO_CLOSE2Y
Subtype ID: Dual-Y stock with close. This subtype is not supported in the default user interface for graphs.

STOCK_HILO_CLOSE_SPLIT2Y

public static final int STOCK_HILO_CLOSE_SPLIT2Y
Subtype ID: Split dual-Y stock with close. This subtype is not supported in the default user interface for graphs.

STOCK_HILO_SPLIT2Y

public static final int STOCK_HILO_SPLIT2Y
Subtype ID: Split dual-Y stock. This subtype is not supported in the default user interface for graphs.

STOCK_HILO_VOLUME

public static final int STOCK_HILO_VOLUME
Subtype ID: Stock with volume. This subtype is not supported in the default user interface for graphs.

STOCK_SPLIT_2Y

public static final int STOCK_SPLIT_2Y
Subtype ID: Split dual-Y stock. This subtype is not supported in the default user interface for graphs.

STOCK_VOLUME

public static final int STOCK_VOLUME
Subtype ID: Stock with open, close, and volume. This subtype is not supported in the default user interface for graphs.

THREED_BAR

public static final int THREED_BAR
Subtype ID: 3-D bar.

THREED_CUBE

public static final int THREED_CUBE
Subtype ID: 3-D cube.

THREED_AREA_SERIES

public static final int THREED_AREA_SERIES
Subtype ID: 3-D area series.

THREED_RIBBON_SERIES

public static final int THREED_RIBBON_SERIES
Subtype ID: 3-D ribbon series.

THREED_SURFACE

public static final int THREED_SURFACE
Subtype ID: 3-D surface documented.

THREED_SURFACE_SIDES

public static final int THREED_SURFACE_SIDES
Subtype ID: 3-D surface with sides. This subtype is not supported in the default user interface for graphs.

THREED_AREA_GROUP

public static final int THREED_AREA_GROUP
Subtype ID: 3-D area group. This subtype is not supported in the default user interface for graphs.

THREED_DIAMOND

public static final int THREED_DIAMOND
Subtype ID: 3-D diamond. This subtype is not supported in the default user interface for graphs.

THREED_OCTAGON

public static final int THREED_OCTAGON
Subtype ID: 3-D octagon. This subtype is not supported in the default user interface for graphs.

THREED_PYRAMID

public static final int THREED_PYRAMID
Subtype ID: 3-D pyramid. This subtype is not supported in the default user interface for graphs.

THREED_RIBBON_GROUP

public static final int THREED_RIBBON_GROUP
Subtype ID: 3-D ribbon group. This subtype is not supported in the default user interface for graphs.

THREED_SURFACE_HONEYCOMB

public static final int THREED_SURFACE_HONEYCOMB
Subtype ID: 3-D surface honeycomb. This subtype is not supported in the default user interface for graphs.

HIST_HORIZ

public static final int HIST_HORIZ
Subtype ID: Horizontal histogram. This subtype is not supported in the default user interface for graphs.

HIST_VERT

public static final int HIST_VERT
Subtype ID: Vertical histogram. This subtype is not supported in the default user interface for graphs.

SPECTRAL

public static final int SPECTRAL
Subtype ID: Spectral. This subtype is not supported in the default user interface for graphs.
Constructor Detail

GraphTypeConverterAdapter

public GraphTypeConverterAdapter(UIGraph graph)
Deprecated. As of 2.7.5.1, replaced by GraphTypeConverterAdapter() By removing UIGraph as a parameter, a single GraphTypeConverter will maintain a single list of Types and Subtypes with resources for a single locale, and may be used with any UIGraph object.
Constructor.
Parameters:
graph - The UIGraph that this GraphTypeConverterAdapter works with.

GraphTypeConverterAdapter

public GraphTypeConverterAdapter()
Constructor. The Locale must be set on this GraphTypeConverterAdapter after construction using the setLocale method. If the Locale is not explicitly set, the default Locale will be used.
Method Detail

getTypeAndSubtype

public GraphTypeAndSubtype getTypeAndSubtype()
Deprecated. As of 2.7.5.1, replaced by getTypeAndSubtype(UIGraph graph)
Retrieves the current type and subtype of the graph. The type is a main type, such as bar, line, area, or pie. The subtype is a variation of the main type, such as single pie or multiple pie.
Specified by:
getTypeAndSubtype in interface GraphTypeConverter
Returns:
The current type and subtype of the graph.

getTypeAndSubtype

public GraphTypeAndSubtype getTypeAndSubtype(UIGraph graph)
Retrieves the current type and subtype of the graph. The type is a main type, such as bar, line, area, or pie. The subtype is a variation of the main type, such as single pie or multiple pie.
Specified by:
getTypeAndSubtype in interface GraphTypeConverter
Parameters:
graph - The UIGraph for this GraphTypeConverter.
Returns:
The current type and subtype of the graph.

setTypeAndSubtype

public void setTypeAndSubtype(GraphTypeAndSubtype typeSubtype)
Deprecated. As of 2.7.5.1, replaced by setTypeAndSubtype(UIGraph graph, GraphTypeAndSubtype typeSubType)
Specifies the graph type and subtype for the graph. The type is a main type, such as bar, line, area, or pie. The subtype is a variation fo the main type, such as single pie or multiple pie.
Specified by:
setTypeAndSubtype in interface GraphTypeConverter
Parameters:
typeSubtype - The type and subtype to apply to the graph.

setTypeAndSubtype

public void setTypeAndSubtype(UIGraph graph,
GraphTypeAndSubtype typeSubtype)
Specifies the graph type and subtype for the graph. The type is a main type, such as bar, line, area, or pie. The subtype is a variation fo the main type, such as single pie or multiple pie.
Specified by:
setTypeAndSubtype in interface GraphTypeConverter
Parameters:
graph - The UIGraph for this GraphTypeConverter.
typeSubtype - The type and subtype to apply to the graph.

isPointType

public boolean isPointType()
Deprecated. As of 2.8.0.11, Point type graphs no longer supported
Indicates whether the current graph type is a point graph. In a point graph, the LineDataLineDisplayed property of the graph is set to false.
Specified by:
isPointType in interface GraphTypeConverter
Returns:
true if the current graph type is a point graph, false if it is not.
See Also:
Graph.isLineDataLineDisplayed()

isCombinationType

public boolean isCombinationType()
Deprecated. As of 2.7.5.1, replaced by isCombinationType(UIGraph graph)
Indicates whether the current graph type is a combination graph. A combination graph is a bar graph in which the MarkerType property of one or more series is set to something other than MT_DEFAULT.
Specified by:
isCombinationType in interface GraphTypeConverter
Returns:
true if the current graph type is a combination graph, false if it is not.

isCombinationType

public boolean isCombinationType(UIGraph graph)
Indicates whether the current graph type is a combination graph. A combination graph is a bar graph in which the MarkerType property of one or more series is set to something other than MT_DEFAULT.
Specified by:
isCombinationType in interface GraphTypeConverter
Parameters:
graph - The UIGraph for this GraphTypeConverter.
Returns:
true if the current graph type is a combination graph, false if it is not.

addType

public void addType(Type newType)
Adds the specified Type object to the end of the list of available graph categories. A Type object contains information about a graph category. The list of available graph types appears in the Graph Type box.
Parameters:
newType - The Type object that you want to add to the list of available graph categories.

addType

public void addType(Type newType,
                    int afterType)
Adds the specified Type object to the list of available graph categories, in a specified place in the list. A Type object contains information about a graph category. The list of available graph types appears in the Graph Type box.
Parameters:
newType - The Type object that you want to add to the list of available graph categories.
afterType - The ID of the Type after which you want this Type to appear. If afterType is -1, then the type prepended to the beginning of the list. If no Type with ID afterType exists in the list, then newType appended to the end of the list.

removeType

public void removeType(int typeID)
Removes the specified Type object from the list of available graph categories. A Type object contains information about a graph category. The list of available graph types appears in the Graph Type box. This method removes the Type object with the given ID.
Parameters:
typeID - The ID of the Type object that you want to remove from the list of available graph categories.

getType

public Type getType(int typeID)
Retrieves the Type object with the specified ID in the list of available graph types. A Type object contains information about a graph category.
Parameters:
typeID - The ID of the Type object to get.
Returns:
The Type object with the specified ID in the list of available graph categories.

getNumberOfTypes

public int getNumberOfTypes()
Retrieves the number of Type objects that are in the list of available graph categories. A Type object contains information about a graph category.
Returns:
The number of Types that are in the list of available graph categories.

getTypes

public java.util.Vector getTypes()
Retrieves the Type objects that describe the graph categories. The Vector that this method returns is a reference to the Vector that this GraphTypeConverterAdapter maintains. Any changes that you make to the returned Vector affect this GraphTypeConverterAdapter.
Specified by:
getTypes in interface GraphTypeConverter
Returns:
A Vector that contains the Type objects.
See Also:
Type

setLocale

public void setLocale(java.util.Locale loc)
Specifies the Locale for this GraphTypeConverter. The setLocale method of the graph that uses this GraphTypeConverter calls this method.
Specified by:
setLocale in interface GraphTypeConverter
Parameters:
locale - The Locale for this GraphTypeConverter.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.