Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.gridView
Class DatabodyDiscriminator

java.lang.Object
  |
  +--oracle.dss.gridView.DatabodyDiscriminator
All Implemented Interfaces:
java.lang.Cloneable, Discriminator, java.io.Serializable

public class DatabodyDiscriminator
extends java.lang.Object
implements Discriminator

Discriminator for a rule that applies when the item being formatted has a specific row and column in the databody of a GridView. For this discriminator to apply, the ComponentInfo in RuleContext.POSITION must be a DataComponentInfo.

See Also:
Serialized Form

Constructor Summary
DatabodyDiscriminator()
          Constructor.

 

Method Summary
 boolean applies(RuleContext context)
          Specifies whether the ComponentInfo in the specified RuleContext is a DatabodyDiscriminator.
 java.lang.Object clone()
          Clones this DatabodyDiscriminator.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DatabodyDiscriminator

public DatabodyDiscriminator()
Constructor.
Method Detail

clone

public java.lang.Object clone()
Clones this DatabodyDiscriminator.
Specified by:
clone in interface Discriminator
Returns:
The clone of this DatabodyDiscriminator.

applies

public boolean applies(RuleContext context)
Specifies whether the ComponentInfo in the specified RuleContext is a DatabodyDiscriminator. This methods checks the ComponentInfo specified by RuleContext.POSITION and returns true if the ComponentInfo is a DataComponentInfo.
Specified by:
applies in interface Discriminator
Parameters:
context - The context of the item to be painted.
Returns:
true if context.POSITION has a DataComponentInfo, false if it has any other kind of ComponentInfo.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.