|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Discriminator
Methods required for discriminators. Discriminators are primarily used
to determine whether a DiscriminatorRule
applies and will fire.
Objects that implement this interface compare an internal condition with
the circumstances that are specified in a RuleContext
object,
to determine whether the condition is met in the specified context.
Most discriminators use an object to specify the internal condition.
For example, a PositionDiscriminator
has a
ComponentInfo
object that specifies the condition to be met.
The applies
method for the PositionDiscriminator
compares its ComponentInfo
object with the
ComponentInfo
object from the RuleContext
that
is passed to it.
PositionDiscriminator
,
DiscriminatorRule
,
RuleContext
,
ComponentInfo
Method Summary | |
---|---|
boolean |
applies(RuleContext context)
Specifies whether this Discriminator applies. |
java.lang.Object |
clone()
Clones this Discriminator . |
Method Detail |
---|
boolean applies(RuleContext context)
Discriminator
applies.
Compares the information in the specified RuleContext
with its internal information.
If they match, this Discriminator
applies.
context
- The context of the item to be painted.
true
if the information from the context meets
the condition specified in this Discriminator
,
false
if not.java.lang.Object clone()
Discriminator
.
Discriminator
.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |