|
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.PositionDiscriminator
Discriminator for a rule that applies when a DataView
item is in a particular location. For example, you could use this Discriminator
to specify that a DiscriminatorRule
should apply to the first row in a crosstab or table.
This Discriminator
compares an internal ComponentInfo
class to a ComponentInfo
class that is in the RuleContext
that describes the item to be painted.
DiscriminatorRule
, RuleContext
, ComponentInfo
, Serialized FormConstructor Summary | |
PositionDiscriminator() Constructor that does not take a ComponentInfo . | |
PositionDiscriminator(ComponentInfo componentInfo) Constructor that specifies a ComponentInfo . |
Method Summary | |
boolean |
applies(RuleContext context) Specifies whether the position in the specified RuleContext matches that of the position for this PositionDiscriminator . |
java.lang.Object |
clone() Clones this PositionDiscriminator . |
ComponentInfo |
getComponentInfo() Retrieves the ComponentInfo object of this PositionDiscriminator . |
void |
setComponentInfo(ComponentInfo componentInfo) Specifies the ComponentInfo object for this PositionDiscriminator . |
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 PositionDiscriminator()
ComponentInfo
. If you use this constructor, call the setComponentInfo
method to specify the position.public PositionDiscriminator(ComponentInfo componentInfo)
ComponentInfo
.componentInfo
- The ComponentInfo
object that specifies the position that a DataView
item must occupy in order for this PositionDiscriminator
to apply.Method Detail |
public java.lang.Object clone()
PositionDiscriminator
.clone
in interface Discriminator
PositionDiscriminator
.public ComponentInfo getComponentInfo()
ComponentInfo
object of this PositionDiscriminator
.ComponentInfo
object that specifies the position that a DataView
item must occupy in order for this PositionDiscriminator
to apply.public void setComponentInfo(ComponentInfo componentInfo)
ComponentInfo
object for this PositionDiscriminator
.componentInfo
- The ComponentInfo
object that specifies the position that a DataView
item must occupy in order for this PositionDiscriminator
to apply.public boolean applies(RuleContext context)
RuleContext
matches that of the position for this PositionDiscriminator
. This method compares ComponentInfo
objects.applies
in interface Discriminator
context
- The context of the item to be painted.true
if the ComponentInfo
of the specified RuleContext
is equivalent to the ComponentInfo
for this PositionDiscriminator
, 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 |