|
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.rules.discriminator.ComponentTypeDiscriminator
Discriminator for a rule that applies when a DataView
item is a particular component. For example, you could use this Discriminator
to specify that numbers should be abbreviated when they mark values along the Y2-axis of a graph.
This Discriminator
the component type integer from the RuleContext
that describes the DataView
item, with the internal component type integer in this Discriminator
.
Constructor Summary | |
ComponentTypeDiscriminator() Constructor that does not specify a component type. | |
ComponentTypeDiscriminator(int componentType) Constructor that specifies a component type. |
Method Summary | |
boolean |
applies(RuleContext context) Indicates whether the ComponentType from the specified RuleContext matches the ComponentType for this ComponentTypeDiscriminator . |
java.lang.Object |
clone() Clones this ComponentTypeDiscriminator . |
int |
getComponentType() Retrieves the component type of this ComponentTypeDiscriminator . |
void |
setComponentType(int componentType) Specifies the type of component for this ComponentTypeDiscriminator . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.dss.rules.discriminator.DiscriminatorXML |
getXML, setXML |
Constructor Detail |
public ComponentTypeDiscriminator()
setComponentType
method to specify the component.public ComponentTypeDiscriminator(int componentType)
componentType
- A constant that represents the type of component that a DataView
item is, such as Y2AXIS. Constants are defined in the sublasses of the DataView
class.Crosstab
, Graph
, GridView
Method Detail |
public java.lang.Object clone()
ComponentTypeDiscriminator
.clone
in interface Discriminator
ComponentTypeDiscriminator
.public int getComponentType()
ComponentTypeDiscriminator
.DataView
item must be in order for this ComponentTypeDiscriminator
to apply. Constants are defined in the sublasses of the DataView
class.Crosstab
, Graph
, GridView
public void setComponentType(int componentType)
ComponentTypeDiscriminator
.componentType
- A constant that represents the type of component that a DataView
item must be in order for this ComponentTypeDiscriminator
to apply. Constants are defined in the sublasses of the DataView
class.Crosstab
, Graph
, GridView
public boolean applies(RuleContext context)
ComponentType
from the specified RuleContext
matches the ComponentType
for this ComponentTypeDiscriminator
.applies
in interface Discriminator
context
- The context of the item being painted.true
if the component type in context
is the same as the component type of this ComponentTypeDiscriminator
, false
if not.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |