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

E17492-01

oracle.dss.graph
Class Subtype

java.lang.Object
  extended by oracle.dss.graph.Subtype

public class Subtype
extends java.lang.Object

A subtype of a graph Type, such as a dual-Y stacked bar graph or a single pie graph. Subtype objects correspond to values of the GraphType property of the Graph class. The Graph Type panel uses this class and the Type class, to populate itself.

See Also:
Type, Graph.setGraphType(int), oracle.dss.graph.gui.GraphType, oracle.dss.graph.gui.GraphTypeConverterAdapter

Field Summary
 java.lang.String description
          The text that is displayed in the description box for the graph subtype.
 java.lang.String fileName
          The name of the file that contains the icon that represents the graph subtype, with 3-D effect on.
 int id
          The ID of this Subtype.
 java.lang.String name
          The text that is displayed below the icon for the graph subtype.
 java.lang.String non_3D_fileName
          The name of the file that contains the icon that represents the graph subtype, with 3-D effect off.
 
Constructor Summary
Subtype(int id, java.lang.String graphName, java.lang.String graphDesc)
          Constructor that does not specify an icon for the subtype.
Subtype(int id, java.lang.String graphName, java.lang.String graphDesc, java.lang.String image, java.lang.String non_3D_image)
          Constructor that specifies images to display for this Subtype.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public int id
The ID of this Subtype.


fileName

public java.lang.String fileName
The name of the file that contains the icon that represents the graph subtype, with 3-D effect on.


non_3D_fileName

public java.lang.String non_3D_fileName
The name of the file that contains the icon that represents the graph subtype, with 3-D effect off.


name

public java.lang.String name
The text that is displayed below the icon for the graph subtype. This is the name of the graph subtype, such as Multiple Pie.


description

public java.lang.String description
The text that is displayed in the description box for the graph subtype. This text describes the graph subtype.

Constructor Detail

Subtype

public Subtype(int id,
               java.lang.String graphName,
               java.lang.String graphDesc)
Constructor that does not specify an icon for the subtype. For localized software, pass localized strings to this constructor. This constructor does not call into resource bundles. Alternately, you can set the name and description fields with localized text.

If you construct a Subtype, you should extend the GraphTypeConverterAdapter.

Parameters:
id - The ID for this Subtype.
graphName - The name of the graph subtype. The name appears with the subtype icon.
graphDesc - The description that is associated with the graph subtype. The description appears in the description box at the bottom of the panel.

Subtype

public Subtype(int id,
               java.lang.String graphName,
               java.lang.String graphDesc,
               java.lang.String image,
               java.lang.String non_3D_image)
Constructor that specifies images to display for this Subtype. For localized software, pass localized strings to this constructor. This constructor does not call into resource bundles. Alternately, you can set the name and description fields with localized text.

Parameters:
id - The ID for this Subtype.
graphName - The name of the graph subtype. The name appears with the subtype icon.
graphDesc - The description that is associated with the graph subtype. The description appears in the description box at the bottom of the panel.
image - The icon that represents the graph subtype with 3-D effect on.
non_3D_image - The icon that represents the graph subtype with 3-D effect off.

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

E17492-01

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