com.crystaldecisions.sdk.occa.report.definition
Class SubreportObjectConditionFormulas

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.SubreportObjectConditionFormulas
All Implemented Interfaces:
IClone

public class SubreportObjectConditionFormulas
extends java.lang.Object

A collection of conditional formatting formulas for a subreport.

See Also:
SubreportObject.setSubreportObjectConditionFormulas(SubreportObjectConditionFormulas)

Constructor Summary
SubreportObjectConditionFormulas()
          Creates an empty SubreportObjectConditionFormulas collection.
SubreportObjectConditionFormulas(SubreportObjectConditionFormulas src)
          Creates a copy of the given SubreportObjectConditionFormulas collection.
 
Method Summary
 void clear()
          Removes all of the formulas.
 java.lang.Object clone(boolean deepClone)
           
 void copyTo(java.lang.Object destObject, boolean deepCopy)
           
 int count()
          For internal use only.
 java.lang.Object createMember(java.lang.String eleName, org.xml.sax.Attributes attrs, XMLSerializationContext ctxt, java.util.Map objState, boolean[] bLoaded)
           For internal use only.
 void doControllerModification(java.lang.Object newObject)
           
 void endElement(java.lang.String eleName, java.util.Map objState)
           For internal use only.
 void enumerateMembers(IMemberVisitor visitor)
           
 IConditionFormula get(java.lang.Object key)
          Deprecated.  
 ControllableMixin getControllableMixin()
           
 IConditionFormula getFormula(SubreportObjectConditionFormulaType formulaType)
          Gets the IConditionFormula in the collection for the given formula type.
 boolean hasContent(java.lang.Object objFormulas)
           
 boolean isDirectlyControllable()
           
 void put(java.lang.Object key, IConditionFormula newFormula)
          Deprecated.  
 void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
          For internal use only.
 void remove(SubreportObjectConditionFormulaType formulaType)
          Remove the IConditionFormula for the given SubreportObjectConditionFormulaType.
 void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt)
           For internal use only.
 void save(XMLWriter writer, XMLSerializationContext ctxt)
           For internal use only.
 void saveContents(XMLWriter writer, XMLSerializationContext ctxt)
           
 void setFormula(SubreportObjectConditionFormulaType formulaType, IConditionFormula newFormula)
          Adds or replaces a formula in the collection for the specified formula type.
 void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
           For internal use only.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubreportObjectConditionFormulas

public SubreportObjectConditionFormulas(SubreportObjectConditionFormulas src)
Creates a copy of the given SubreportObjectConditionFormulas collection. This constructor makes a deep copy of the src collection.

Parameters:
src - the formula collection to copy

SubreportObjectConditionFormulas

public SubreportObjectConditionFormulas()
Creates an empty SubreportObjectConditionFormulas collection.

Method Detail

getFormula

public IConditionFormula getFormula(SubreportObjectConditionFormulaType formulaType)
Gets the IConditionFormula in the collection for the given formula type.

Parameters:
formulaType - the type of formula to retrieve
Returns:
the IConditionFormula for the specified formula type

readElement

public void readElement(java.lang.String eleName,
                        java.lang.String sVal,
                        org.xml.sax.Attributes attrs,
                        java.util.Map objState)
For internal use only.


remove

public void remove(SubreportObjectConditionFormulaType formulaType)
Remove the IConditionFormula for the given SubreportObjectConditionFormulaType.

Parameters:
formulaType - the formula type to remove from the collection

setFormula

public void setFormula(SubreportObjectConditionFormulaType formulaType,
                       IConditionFormula newFormula)
Adds or replaces a formula in the collection for the specified formula type.

Parameters:
formulaType - the type of formula to add or replace
newFormula - the formula to be used for the specified formula type

clear

public void clear()

Removes all of the formulas.


clone

public java.lang.Object clone(boolean deepClone)

copyTo

public void copyTo(java.lang.Object destObject,
                   boolean deepCopy)

count

public int count()

For internal use only.


createMember

public java.lang.Object createMember(java.lang.String eleName,
                                     org.xml.sax.Attributes attrs,
                                     XMLSerializationContext ctxt,
                                     java.util.Map objState,
                                     boolean[] bLoaded)

For internal use only.


endElement

public void endElement(java.lang.String eleName,
                       java.util.Map objState)

For internal use only.


get

public IConditionFormula get(java.lang.Object key)
Deprecated. 


hasContent

public boolean hasContent(java.lang.Object objFormulas)

put

public void put(java.lang.Object key,
                IConditionFormula newFormula)
Deprecated. 


save

public void save(XMLWriter writer,
                 XMLSerializationContext ctxt)
          throws java.io.IOException

For internal use only.

Throws:
java.io.IOException

save

public void save(XMLWriter writer,
                 java.lang.String sTag,
                 XMLSerializationContext ctxt)
          throws java.io.IOException

For internal use only.

Throws:
java.io.IOException

saveContents

public void saveContents(XMLWriter writer,
                         XMLSerializationContext ctxt)
                  throws java.io.IOException
Throws:
java.io.IOException

startElement

public void startElement(java.lang.String eleName,
                         java.util.Map objState,
                         org.xml.sax.Attributes attrs)

For internal use only.


getControllableMixin

public ControllableMixin getControllableMixin()

doControllerModification

public void doControllerModification(java.lang.Object newObject)

isDirectlyControllable

public boolean isDirectlyControllable()

enumerateMembers

public void enumerateMembers(IMemberVisitor visitor)