|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.dss.graph.Type
public class Type
A category of graph types, such as bar graphs or pie graphs.
The Graph Type panel uses this class and the Subtype
class
to populate itself.
Subtype
,
GraphType
,
GraphTypeConverterAdapter
Field Summary | |
---|---|
java.lang.String |
fileName
The name of the file that contains the icon that represents this graph type category. |
int |
id
The ID of this Type . |
boolean |
is3D
Indicates whether this graph type is being displayed with 3-D effect. |
java.lang.String |
name
The text that is displayed in the Graph Types box, next to the icon that represents this graph type category. |
java.lang.String |
sFileName
The name of the file that contains the small icon that represents this graph type category. |
java.util.Vector |
subtypes
The list of graph subtypes that belong to this graph type category. |
boolean |
supports3D
Indicates whether this graph type can be displayed with 3-D effect. |
boolean |
supportsNon3D
Indicates whether this graph type can be displayed without 3-D effect. |
Constructor Summary | |
---|---|
Type(int id,
java.lang.String name,
java.lang.String fileName,
java.lang.String sfilename,
java.util.Vector subtypes,
boolean supports3D,
boolean supportsNon3D)
Constructor. |
|
Type(int id,
java.lang.String name,
java.lang.String fileName,
java.util.Vector subtypes,
boolean supports3D,
boolean supportsNon3D)
Constructor. |
Method Summary | |
---|---|
void |
addSubtype(Subtype subtype)
Adds a Subtype object to this graph type category, at the end
of the list of available graph subtypes. |
void |
addSubtype(Subtype subtype,
int afterSubtype)
Adds a Subtype object to this graph type category at a
specified place in the list of available graph subtypes. |
protected int |
getSubtypeIndex(int subtypeID)
|
void |
removeSubtype(int subtypeID)
Removes a given Subtype from the list of available graph
subtypes for this graph type category. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int id
Type
.
public java.lang.String fileName
public java.lang.String sFileName
public java.lang.String name
public java.util.Vector subtypes
public boolean is3D
public boolean supports3D
public boolean supportsNon3D
Constructor Detail |
---|
public Type(int id, java.lang.String name, java.lang.String fileName, java.util.Vector subtypes, boolean supports3D, boolean supportsNon3D)
Type
, you should extend the
GraphTypeConverterAdapter
.
id
- The ID for this Type
.name
- The name of the graph type category.
For localized software, pass a localized String
.
This constructor does not call into a resource bundle.
Alternately, set the name variable to a localized
String
.fileName
- The name of the file that contains the icon
that represents this graph type category.subtypes
- The list of graph Subtype
objects that
belong to this Type
.supports3D
- true
if this graph type can be displayed
with 3-D effect, false
if it can not.supportNon3D
- true
if this graph type can be
displayed without 3-D effect, false
if it can not.Subtype
public Type(int id, java.lang.String name, java.lang.String fileName, java.lang.String sfilename, java.util.Vector subtypes, boolean supports3D, boolean supportsNon3D)
id
- The ID for this Type
.name
- The name of the graph type category.
For localized software, pass a localized String
.
This constructor does not call into a resource bundle.
Alternately, set the name variable to a localized
String
.fileName
- The name of the file that contains the icon
that represents this graph type category.sfileName
- The name of the file that contains the small icon
that represents this graph type category.subtypes
- The list of graph Subtype
objects that
belong to this Type
.supports3D
- true
if this graph type can be displayed
with 3-D effect, false
if it can not.supportNon3D
- true
if this graph type can be
displayed without 3-D effect, false
if it can not.Subtype
Method Detail |
---|
public void addSubtype(Subtype subtype, int afterSubtype)
Subtype
object to this graph type category at a
specified place in the list of available graph subtypes.
The subtypes appear in the Graph Subtypes box.
A Subtype
object contains information about a graph subtype.
subtype
- The Subtype
object that you want to add to
this graph type category.afterSubtype
- The ID of the Subtype
that this
Type
should be inserted after.
If afterSubtype
is -1
,
then the Subtype
will be put at the end
of the list. IDs for existing subtypes are defined in
the GraphTypeConverterAdapter
class.GraphTypeConverterAdapter
public void addSubtype(Subtype subtype)
Subtype
object to this graph type category, at the end
of the list of available graph subtypes.
A Subtype
object contains information about a graph subtype.
subtype
- The Subtype
object that you want to add to
this graph type category.public void removeSubtype(int subtypeID)
Subtype
from the list of available graph
subtypes for this graph type category.
A Subtype
object contains information about a graph subtype.
subtypeID
- The ID of the subtype
to remove.
Subtype IDs are defined in the
GraphTypeConverterAdapter
class.GraphTypeConverterAdapter
protected int getSubtypeIndex(int subtypeID)
subtypeID
- the ID of the Subtype for which to return the index
|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |