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

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

public class BooleanFieldFormat
extends java.lang.Object
implements IBooleanFieldFormat, IClone

This object defines how a boolean field shown by a FieldObject should be formatted if the FieldObject is being used to display a BooleanField. To access this object, use the following method:

 FieldFormat fieldFormat = fieldObject.getFieldFormat();
 BooleanFieldFormat booleanFormat = fieldFormat.getBooleanFormat();
 
If the field is not being used to represent a boolean field, and you modify this object, your changes will be ignored and discarded. When possible, use the IBooleanFieldFormat interface to modify this object.


Constructor Summary
BooleanFieldFormat()
           
BooleanFieldFormat(IBooleanFieldFormat src)
           
 
Method Summary
 java.lang.Object clone(boolean deepClone)
           
 void copyTo(java.lang.Object destObject, boolean deepCopy)
           
 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)
           
 BooleanFieldFormatConditionFormulas getConditionFormulas()
           Returns the condition formulas used to override the default Boolean Field format values.
 ControllableMixin getControllableMixin()
           
 BooleanOutputFormat getOutputFormat()
           Returns the output format for the boolean value.
 boolean hasContent(java.lang.Object srcBooleanFieldFormat)
           
 boolean isDirectlyControllable()
           
 void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
           For internal use only.
 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)
           For internal use only.
 void setConditionFormulas(BooleanFieldFormatConditionFormulas conditionFormulas)
           Sets the condition formulas used to override the default Boolean Field format values.
 void setOutputFormat(BooleanOutputFormat outputFormat)
           Sets the output format for the boolean value.
 boolean skipWritingIdenticalObject()
           For internal use only.
 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

BooleanFieldFormat

public BooleanFieldFormat(IBooleanFieldFormat src)

BooleanFieldFormat

public BooleanFieldFormat()
Method Detail

clone

public java.lang.Object clone(boolean deepClone)

copyTo

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

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.


getConditionFormulas

public BooleanFieldFormatConditionFormulas getConditionFormulas()
Description copied from interface: IBooleanFieldFormat

Returns the condition formulas used to override the default Boolean Field format values.

Specified by:
getConditionFormulas in interface IBooleanFieldFormat
Returns:
A BooleanFieldFormatConditionFormulas object containing the condition formulas used to override the default Boolean Field format values.

getOutputFormat

public BooleanOutputFormat getOutputFormat()
Description copied from interface: IBooleanFieldFormat

Returns the output format for the boolean value.

Specified by:
getOutputFormat in interface IBooleanFieldFormat
Returns:
A BooleanOutputFormat object that specifies the output format for the boolean value.

hasContent

public boolean hasContent(java.lang.Object srcBooleanFieldFormat)

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.


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

For internal use only.

Throws:
java.io.IOException

setConditionFormulas

public void setConditionFormulas(BooleanFieldFormatConditionFormulas conditionFormulas)
Description copied from interface: IBooleanFieldFormat

Sets the condition formulas used to override the default Boolean Field format values.

Specified by:
setConditionFormulas in interface IBooleanFieldFormat
Parameters:
conditionFormulas - A BooleanFieldFormatConditionFormulas object containing the condition formulas used to override the default Boolean Field format values.

setOutputFormat

public void setOutputFormat(BooleanOutputFormat outputFormat)
Description copied from interface: IBooleanFieldFormat

Sets the output format for the boolean value.

Specified by:
setOutputFormat in interface IBooleanFieldFormat
Parameters:
outputFormat - A BooleanOutputFormat object that specifies the output format for the boolean value.

skipWritingIdenticalObject

public boolean skipWritingIdenticalObject()

For internal use only.


startElement

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

For internal use only.


doControllerModification

public void doControllerModification(java.lang.Object newObject)

enumerateMembers

public void enumerateMembers(IMemberVisitor visitor)

getControllableMixin

public ControllableMixin getControllableMixin()

isDirectlyControllable

public boolean isDirectlyControllable()