|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.FieldFormat
public class FieldFormat
This object enables you to specify the format of the field, including the date and time format, the
numeric format, the string format, and so on. When possible, use the IFieldFormat
interface
to manipulate this object.
Constructor Summary | |
---|---|
FieldFormat()
|
|
FieldFormat(IFieldFormat 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)
|
IBooleanFieldFormat |
getBooleanFormat()
Returns the boolean format for the field if the field is a boolean field. |
ICommonFieldFormat |
getCommonFormat()
Returns the common format for the field. |
ControllableMixin |
getControllableMixin()
|
IDateFieldFormat |
getDateFormat()
Returns the date format for the field if the field is a date or DateTime field. |
IDateTimeFieldFormat |
getDateTimeFormat()
Returns the DateTime format for the field if the field is a DateTime field. |
INumericFieldFormat |
getNumericFormat()
Returns the numeric format for the field if the field is a numeric field. |
IStringFieldFormat |
getStringFormat()
Returns the string format for the field if the field is a String field. |
ITimeFieldFormat |
getTimeFormat()
Returns the time format for the field if the field is a time or DateTime field. |
boolean |
hasContent(java.lang.Object srcFieldFormat)
|
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 |
setBooleanFormat(IBooleanFieldFormat booleanFormat)
Sets the boolean format for the field if the field is a boolean field. |
void |
setCommonFormat(ICommonFieldFormat commonFormat)
Sets the common format for the field. |
void |
setDateFormat(IDateFieldFormat dateFormat)
Sets the date format for the field if the field is a date or DateTime field. |
void |
setDateTimeFormat(IDateTimeFieldFormat dateTimeFormat)
Sets the DateTime format for the field if the field is a DateTime field. |
void |
setNumericFormat(INumericFieldFormat numericFormat)
Sets the numeric format for the field if the field is a numeric field. |
void |
setStringFormat(IStringFieldFormat stringFormat)
Sets the string format for the field if the field is a String field. |
void |
setTimeFormat(ITimeFieldFormat timeFormat)
Sets the time format for the field if the field is a time or DateTime field. |
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 |
---|
public FieldFormat(IFieldFormat src)
public FieldFormat()
Method Detail |
---|
public java.lang.Object clone(boolean deepClone)
public void copyTo(java.lang.Object destObject, boolean deepCopy)
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.
public void endElement(java.lang.String eleName, java.util.Map objState)
For internal use only.
public IBooleanFieldFormat getBooleanFormat()
IFieldFormat
Returns the boolean
format for the field if the field is a boolean
field.
getBooleanFormat
in interface IFieldFormat
IBooleanFieldFormat
object that specifies the boolean
format
for the field.public ICommonFieldFormat getCommonFormat()
IFieldFormat
Returns the common format for the field. (Applies to any field value type.)
getCommonFormat
in interface IFieldFormat
ICommonFieldFormat
object that specifies the common format for the field.public IDateFieldFormat getDateFormat()
IFieldFormat
Returns the date format for the field if the field is a date or DateTime
field.
getDateFormat
in interface IFieldFormat
IDateFieldFormat
object that specifies the date format for the field.public IDateTimeFieldFormat getDateTimeFormat()
IFieldFormat
Returns the DateTime format for the field if the field is a DateTime
field.
getDateTimeFormat
in interface IFieldFormat
IDateTimeFieldFormat
object that specifies the DateTime format for the field.public INumericFieldFormat getNumericFormat()
IFieldFormat
Returns the numeric format for the field if the field is a numeric field.
getNumericFormat
in interface IFieldFormat
INumericFieldFormat
object that specifies the numeric format for the field.public IStringFieldFormat getStringFormat()
IFieldFormat
Returns the string format for the field if the field is a String
field.
getStringFormat
in interface IFieldFormat
IStringFieldFormat
object that specifies the string format for the field.public ITimeFieldFormat getTimeFormat()
IFieldFormat
Returns the time format for the field if the field is a time or DateTime
field.
getTimeFormat
in interface IFieldFormat
ITimeFieldFormat
object that specifies the time format for the field.public boolean hasContent(java.lang.Object srcFieldFormat)
public void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
For internal use only.
public void save(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void saveContents(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void setBooleanFormat(IBooleanFieldFormat booleanFormat)
IFieldFormat
Sets the boolean
format for the field if the field is a boolean
field.
setBooleanFormat
in interface IFieldFormat
booleanFormat
- An IBooleanFieldFormat
object that specifies the boolean
format for the field.public void setCommonFormat(ICommonFieldFormat commonFormat)
IFieldFormat
Sets the common format for the field. (Applies to any field value type.)
setCommonFormat
in interface IFieldFormat
commonFormat
- An ICommonFieldFormat
object that specifies the common format for the
field.public void setDateFormat(IDateFieldFormat dateFormat)
IFieldFormat
Sets the date format for the field if the field is a date or DateTime
field.
setDateFormat
in interface IFieldFormat
dateFormat
- An IDateFieldFormat
object that specifies the date format for the field.public void setDateTimeFormat(IDateTimeFieldFormat dateTimeFormat)
IFieldFormat
Sets the DateTime format for the field if the field is a DateTime
field.
setDateTimeFormat
in interface IFieldFormat
dateTimeFormat
- An IDateTimeFieldFormat
object that specifies the DateTime format for the field.public void setNumericFormat(INumericFieldFormat numericFormat)
IFieldFormat
Sets the numeric format for the field if the field is a numeric field.
setNumericFormat
in interface IFieldFormat
numericFormat
- An INumericFieldFormat
object that specifies
the numeric format for the field.public void setStringFormat(IStringFieldFormat stringFormat)
IFieldFormat
Sets the string format for the field if the field is a String
field.
setStringFormat
in interface IFieldFormat
stringFormat
- An IStringFieldFormat
object that specifies the string format for the field.public void setTimeFormat(ITimeFieldFormat timeFormat)
IFieldFormat
Sets the time format for the field if the field is a time or DateTime
field.
setTimeFormat
in interface IFieldFormat
timeFormat
- An ITimeFieldFormat
object that specifies the time format for the field.public boolean skipWritingIdenticalObject()
For internal use only.
public void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
For internal use only.
public void doControllerModification(java.lang.Object newObject)
public void enumerateMembers(IMemberVisitor visitor)
public ControllableMixin getControllableMixin()
public boolean isDirectlyControllable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |