|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.TimeFieldFormat
public class TimeFieldFormat
This object describes how the time format shown by a
FieldObject should be formatted if the FieldObject
is being used to display time. If the field is not being used
to represent a TimeFormat property, and you modify this object,
your changes will be ignored and discarded.
| Constructor Summary | |
|---|---|
TimeFieldFormat()
|
|
TimeFieldFormat(ITimeFieldFormat src)
|
|
TimeFieldFormat(java.util.Locale locale)
|
|
| 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 |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
AMPMFormat |
getAMPMFormat()
Returns the position for AM or PM. |
java.lang.String |
getAMString()
Returns the String
used to identify the time that is between midnight and noon. |
TimeFieldFormatConditionFormulas |
getConditionFormulas()
Returns the condition formulas for the time field format. |
HourFormat |
getHourFormat()
Returns the format for displaying the hour. |
java.lang.String |
getHourMinuteSeparator()
Returns the separator used to separate the hours and minutes. |
MinuteFormat |
getMinuteFormat()
Returns the format for displaying the minutes. |
java.lang.String |
getMinuteSecondSeparator()
Returns the separator used to separate the minutes and seconds. |
java.lang.String |
getPMString()
Returns the String
used to identify the time that is between noon and midnight. |
SecondFormat |
getSecondFormat()
Returns the format for displaying the seconds. |
TimeBase |
getTimeBase()
Returns the time base. |
boolean |
hasContent(java.lang.Object srcTimeFieldFormat)
|
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 |
setAMPMFormat(AMPMFormat aMPMFormat)
Sets the position for AM or PM. |
void |
setAMString(java.lang.String aMString)
Sets the String
used to identify the time that is between midnight and noon. |
void |
setConditionFormulas(TimeFieldFormatConditionFormulas conditionFormulas)
Sets the condition formulas for the time field format. |
void |
setHourFormat(HourFormat hourFormat)
Sets the format for displaying the hour. |
void |
setHourMinuteSeparator(java.lang.String hourMinuteSeparator)
Sets the separator used to separate the hours and minutes. |
void |
setMinuteFormat(MinuteFormat minuteFormat)
Sets the format for displaying the minutes. |
void |
setMinuteSecondSeparator(java.lang.String minuteSecondSeparator)
Sets the separator used to separate the minutes and seconds. |
void |
setPMString(java.lang.String pMString)
Sets the String
used to identify the time that is between noon and midnight. |
void |
setSecondFormat(SecondFormat secondFormat)
Sets the format for displaying the seconds. |
void |
setTimeBase(TimeBase timeBase)
Sets the time base. |
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 TimeFieldFormat(ITimeFieldFormat src)
public TimeFieldFormat()
public TimeFieldFormat(java.util.Locale locale)
| 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 AMPMFormat getAMPMFormat()
ITimeFieldFormatReturns the position for AM or PM.
getAMPMFormat in interface ITimeFieldFormatAMPMFormat.public java.lang.String getAMString()
ITimeFieldFormatReturns the String
used to identify the time that is between midnight and noon.
getAMString in interface ITimeFieldFormatString.public TimeFieldFormatConditionFormulas getConditionFormulas()
ITimeFieldFormatReturns the condition formulas for the time field format.
getConditionFormulas in interface ITimeFieldFormatTimeFieldFormatConditionFormulas.public HourFormat getHourFormat()
ITimeFieldFormatReturns the format for displaying the hour.
getHourFormat in interface ITimeFieldFormatHourFormat.public java.lang.String getHourMinuteSeparator()
ITimeFieldFormatReturns the separator used to separate the hours and minutes.
getHourMinuteSeparator in interface ITimeFieldFormatString.public MinuteFormat getMinuteFormat()
ITimeFieldFormatReturns the format for displaying the minutes.
getMinuteFormat in interface ITimeFieldFormatMinuteFormat.public java.lang.String getMinuteSecondSeparator()
ITimeFieldFormatReturns the separator used to separate the minutes and seconds.
getMinuteSecondSeparator in interface ITimeFieldFormatString.public java.lang.String getPMString()
ITimeFieldFormatReturns the String
used to identify the time that is between noon and midnight.
getPMString in interface ITimeFieldFormatString.public SecondFormat getSecondFormat()
ITimeFieldFormatReturns the format for displaying the seconds.
getSecondFormat in interface ITimeFieldFormatSecondFormat.public TimeBase getTimeBase()
ITimeFieldFormatReturns the time base. The time base specifies that the time is in either a 12-hour or 24-hour format.
getTimeBase in interface ITimeFieldFormatTimeBase.public boolean hasContent(java.lang.Object srcTimeFieldFormat)
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.IOExceptionpublic void setAMPMFormat(AMPMFormat aMPMFormat)
ITimeFieldFormatSets the position for AM or PM.
setAMPMFormat in interface ITimeFieldFormataMPMFormat - The AM PM format as an AMPMFormat.public void setAMString(java.lang.String aMString)
ITimeFieldFormatSets the String
used to identify the time that is between midnight and noon.
setAMString in interface ITimeFieldFormataMString - The AM String.public void setConditionFormulas(TimeFieldFormatConditionFormulas conditionFormulas)
ITimeFieldFormatSets the condition formulas for the time field format.
setConditionFormulas in interface ITimeFieldFormatconditionFormulas - The condition formulas as
TimeFieldFormatConditionFormulas.public void setHourFormat(HourFormat hourFormat)
ITimeFieldFormatSets the format for displaying the hour.
setHourFormat in interface ITimeFieldFormathourFormat - The hour format as an HourFormat.public void setHourMinuteSeparator(java.lang.String hourMinuteSeparator)
ITimeFieldFormatSets the separator used to separate the hours and minutes.
setHourMinuteSeparator in interface ITimeFieldFormathourMinuteSeparator - The separator as a String.public void setMinuteFormat(MinuteFormat minuteFormat)
ITimeFieldFormatSets the format for displaying the minutes.
setMinuteFormat in interface ITimeFieldFormatminuteFormat - The minute format as a MinuteFormat.public void setMinuteSecondSeparator(java.lang.String minuteSecondSeparator)
ITimeFieldFormatSets the separator used to separate the minutes and seconds.
setMinuteSecondSeparator in interface ITimeFieldFormatminuteSecondSeparator - The separator as a String.public void setPMString(java.lang.String pMString)
ITimeFieldFormatSets the String
used to identify the time that is between noon and midnight.
setPMString in interface ITimeFieldFormatpMString - The PM String.public void setSecondFormat(SecondFormat secondFormat)
ITimeFieldFormatSets the format for displaying the seconds.
setSecondFormat in interface ITimeFieldFormatsecondFormat - The second format as a SecondFormat.public void setTimeBase(TimeBase timeBase)
ITimeFieldFormatSets the time base. The time base specifies that the time is in either a 12-hour or 24-hour format.
setTimeBase in interface ITimeFieldFormattimeBase - The time base as a TimeBase.public boolean skipWritingIdenticalObject()
For internal use only.
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||