|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dss.graph.gui.GraphTypeConverterAdapter
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.
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 |
public static final int TYPE_BAR
public static final int TYPE_HORIZONTAL_BAR
public static final int TYPE_LINE
public static final int TYPE_HORIZONTAL_LINE
public static final int TYPE_POINT
public static final int TYPE_AREA
public static final int TYPE_HORIZONTAL_AREA
public static final int TYPE_COMBINATION
public static final int TYPE_PARETO
public static final int TYPE_PIE
public static final int TYPE_POLAR
public static final int TYPE_RADAR
public static final int TYPE_SCATTER
public static final int TYPE_BUBBLE
public static final int TYPE_STOCK
public static final int TYPE_THREED
public static final int TYPE_HISTOGRAM
public static final int TYPE_SPECTRAL
public static final int TYPE_CIRCULAR
public static final int TYPE_SCATTER_BUBBLE
public static final int BAR_VERT_CLUST
public static final int BAR_VERT_CLUST2Y
public static final int BAR_VERT_CLUST_SPLIT2Y
public static final int BAR_VERT_PERCENT
public static final int BAR_VERT_STACK
public static final int BAR_VERT_STACK2Y
public static final int BAR_VERT_STACK_SPLIT2Y
public static final int BAR_HORIZ_CLUST
public static final int BAR_HORIZ_CLUST_2Y
public static final int BAR_HORIZ_CLUST_SPLIT2Y
public static final int BAR_HORIZ_PERCENT
public static final int BAR_HORIZ_STACK
public static final int BAR_HORIZ_STACK_2Y
public static final int BAR_HORIZ_STACK_SPLIT2Y
public static final int LINE_VERT_ABS
public static final int LINE_VERT_ABS_2Y
public static final int LINE_VERT_ABS_SPLIT2Y
public static final int LINE_VERT_PERCENT
public static final int LINE_VERT_STACK
public static final int LINE_VERT_STACK_2Y
public static final int LINE_VERT_STACK_SPLIT2Y
public static final int LINE_HORIZ_ABS
public static final int LINE_HORIZ_ABS_2Y
public static final int LINE_HORIZ_ABS_SPLIT2Y
public static final int LINE_HORIZ_PERCENT
public static final int LINE_HORIZ_STACK
public static final int LINE_HORIZ_STACK_2Y
public static final int LINE_HORIZ_STACK_SPLIT2Y
public static final int POINT_VERT_ABS
public static final int POINT_VERT_ABS_2Y
public static final int POINT_VERT_ABS_SPLIT2Y
public static final int AREA_VERT_ABS
public static final int AREA_VERT_ABS_SPLIT2Y
public static final int AREA_VERT_PERCENT
public static final int AREA_VERT_STACK
public static final int AREA_VERT_STACK_SPLIT2Y
public static final int AREA_HORIZ_ABS
public static final int AREA_HORIZ_ABS_SPLIT2Y
public static final int AREA_HORIZ_PERCENT
public static final int AREA_HORIZ_STACK
public static final int AREA_HORIZ_STACK_SPLIT2Y
public static final int COMBO_GRAPH
public static final int COMBO_GRAPH_2Y
public static final int PARETO
public static final int PIE
public static final int PIE_MULTI
public static final int PIE_BAR
public static final int RING
public static final int RING_MULTI
public static final int RING_BAR
public static final int PIE_MULTI_PROP
public static final int RING_MULTI_PROP
public static final int POLAR
public static final int POLAR_2Y
public static final int RADAR_LINE
public static final int RADAR_AREA
public static final int RADAR_LINE_2Y
public static final int SCATTER
public static final int SCATTER_2Y
public static final int SCATTER_LABELS
public static final int SCATTER_LABELS_2Y
public static final int BUBBLE
public static final int BUBBLE_2Y
public static final int BUBBLE_LABELS
public static final int BUBBLE_LABELS_2Y
public static final int STOCK_HILO_CLOSE
public static final int STOCK_HILO_CLOSE_VOLUME
public static final int STOCK_OHLC_CANDLE
public static final int STOCK_OHLC_CANDLE_VOLUME
public static final int STOCK_OPEN_HILO_CLOSE
public static final int STOCK_2Y
public static final int STOCK_CANDLE
public static final int STOCK_CANDLE_VOLUME
public static final int STOCK_HILO
public static final int STOCK_HILO_2Y
public static final int STOCK_HILO_CLOSE2Y
public static final int STOCK_HILO_CLOSE_SPLIT2Y
public static final int STOCK_HILO_SPLIT2Y
public static final int STOCK_HILO_VOLUME
public static final int STOCK_SPLIT_2Y
public static final int STOCK_VOLUME
public static final int THREED_BAR
public static final int THREED_CUBE
public static final int THREED_AREA_SERIES
public static final int THREED_RIBBON_SERIES
public static final int THREED_SURFACE
public static final int THREED_SURFACE_SIDES
public static final int THREED_AREA_GROUP
public static final int THREED_DIAMOND
public static final int THREED_OCTAGON
public static final int THREED_PYRAMID
public static final int THREED_RIBBON_GROUP
public static final int THREED_SURFACE_HONEYCOMB
public static final int HIST_HORIZ
public static final int HIST_VERT
public static final int SPECTRAL
Constructor Detail |
public GraphTypeConverterAdapter(UIGraph graph)
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.graph
- The UIGraph
that this GraphTypeConverterAdapter
works with.public GraphTypeConverterAdapter()
Method Detail |
public GraphTypeAndSubtype getTypeAndSubtype()
getTypeAndSubtype(UIGraph graph)
getTypeAndSubtype
in interface GraphTypeConverter
public GraphTypeAndSubtype getTypeAndSubtype(UIGraph graph)
getTypeAndSubtype
in interface GraphTypeConverter
graph
- The UIGraph
for this GraphTypeConverter
.public void setTypeAndSubtype(GraphTypeAndSubtype typeSubtype)
setTypeAndSubtype(UIGraph graph, GraphTypeAndSubtype typeSubType)
setTypeAndSubtype
in interface GraphTypeConverter
typeSubtype
- The type and subtype to apply to the graph.public void setTypeAndSubtype(UIGraph graph, GraphTypeAndSubtype typeSubtype)
setTypeAndSubtype
in interface GraphTypeConverter
graph
- The UIGraph for this GraphTypeConverter.typeSubtype
- The type and subtype to apply to the graph.public boolean isPointType()
LineDataLineDisplayed
property of the graph is set to false
.isPointType
in interface GraphTypeConverter
true
if the current graph type is a point graph, false
if it is not.Graph.isLineDataLineDisplayed()
public boolean isCombinationType()
isCombinationType(UIGraph graph)
MarkerType
property of one or more series is set to something other than MT_DEFAULT
.isCombinationType
in interface GraphTypeConverter
true
if the current graph type is a combination graph, false
if it is not.public boolean isCombinationType(UIGraph graph)
MarkerType
property of one or more series is set to something other than MT_DEFAULT
.isCombinationType
in interface GraphTypeConverter
graph
- The UIGraph
for this GraphTypeConverter
.true
if the current graph type is a combination graph, false
if it is not.public void addType(Type newType)
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.newType
- The Type
object that you want to add to the list of available graph categories.public void addType(Type newType, int afterType)
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.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.public void removeType(int typeID)
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.typeID
- The ID of the Type
object that you want to remove from the list of available graph categories.public Type getType(int typeID)
Type
object with the specified ID in the list of available graph types. A Type
object contains information about a graph category.typeID
- The ID of the Type
object to get.Type
object with the specified ID in the list of available graph categories.public int getNumberOfTypes()
Type
objects that are in the list of available graph categories. A Type
object contains information about a graph category.Types
that are in the list of available graph categories.public java.util.Vector getTypes()
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
.getTypes
in interface GraphTypeConverter
Vector
that contains the Type
objects.Type
public void setLocale(java.util.Locale loc)
Locale
for this GraphTypeConverter
. The setLocale
method of the graph that uses this GraphTypeConverter
calls this method.setLocale
in interface GraphTypeConverter
locale
- The Locale
for this GraphTypeConverter
.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |