|
|||||||||
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 |
doControllerModification(java.lang.Object newObject)
|
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
void |
enumerateMembers(IMemberVisitor visitor)
|
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. |
ControllableMixin |
getControllableMixin()
|
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)
|
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 |
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)
|
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()
ITimeFieldFormat
Returns the position for AM or PM.
getAMPMFormat
in interface ITimeFieldFormat
AMPMFormat
.public java.lang.String getAMString()
ITimeFieldFormat
Returns the String
used to identify the time that is between midnight and noon.
getAMString
in interface ITimeFieldFormat
String
.public TimeFieldFormatConditionFormulas getConditionFormulas()
ITimeFieldFormat
Returns the condition formulas for the time field format.
getConditionFormulas
in interface ITimeFieldFormat
TimeFieldFormatConditionFormulas
.public HourFormat getHourFormat()
ITimeFieldFormat
Returns the format for displaying the hour.
getHourFormat
in interface ITimeFieldFormat
HourFormat
.public java.lang.String getHourMinuteSeparator()
ITimeFieldFormat
Returns the separator used to separate the hours and minutes.
getHourMinuteSeparator
in interface ITimeFieldFormat
String
.public MinuteFormat getMinuteFormat()
ITimeFieldFormat
Returns the format for displaying the minutes.
getMinuteFormat
in interface ITimeFieldFormat
MinuteFormat
.public java.lang.String getMinuteSecondSeparator()
ITimeFieldFormat
Returns the separator used to separate the minutes and seconds.
getMinuteSecondSeparator
in interface ITimeFieldFormat
String
.public java.lang.String getPMString()
ITimeFieldFormat
Returns the String
used to identify the time that is between noon and midnight.
getPMString
in interface ITimeFieldFormat
String
.public SecondFormat getSecondFormat()
ITimeFieldFormat
Returns the format for displaying the seconds.
getSecondFormat
in interface ITimeFieldFormat
SecondFormat
.public TimeBase getTimeBase()
ITimeFieldFormat
Returns the time base. The time base specifies that the time is in either a 12-hour or 24-hour format.
getTimeBase
in interface ITimeFieldFormat
TimeBase
.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.IOException
public void setAMPMFormat(AMPMFormat aMPMFormat)
ITimeFieldFormat
Sets the position for AM or PM.
setAMPMFormat
in interface ITimeFieldFormat
aMPMFormat
- The AM PM format as an AMPMFormat
.public void setAMString(java.lang.String aMString)
ITimeFieldFormat
Sets the String
used to identify the time that is between midnight and noon.
setAMString
in interface ITimeFieldFormat
aMString
- The AM String
.public void setConditionFormulas(TimeFieldFormatConditionFormulas conditionFormulas)
ITimeFieldFormat
Sets the condition formulas for the time field format.
setConditionFormulas
in interface ITimeFieldFormat
conditionFormulas
- The condition formulas as
TimeFieldFormatConditionFormulas
.public void setHourFormat(HourFormat hourFormat)
ITimeFieldFormat
Sets the format for displaying the hour.
setHourFormat
in interface ITimeFieldFormat
hourFormat
- The hour format as an HourFormat
.public void setHourMinuteSeparator(java.lang.String hourMinuteSeparator)
ITimeFieldFormat
Sets the separator used to separate the hours and minutes.
setHourMinuteSeparator
in interface ITimeFieldFormat
hourMinuteSeparator
- The separator as a String
.public void setMinuteFormat(MinuteFormat minuteFormat)
ITimeFieldFormat
Sets the format for displaying the minutes.
setMinuteFormat
in interface ITimeFieldFormat
minuteFormat
- The minute format as a MinuteFormat
.public void setMinuteSecondSeparator(java.lang.String minuteSecondSeparator)
ITimeFieldFormat
Sets the separator used to separate the minutes and seconds.
setMinuteSecondSeparator
in interface ITimeFieldFormat
minuteSecondSeparator
- The separator as a String
.public void setPMString(java.lang.String pMString)
ITimeFieldFormat
Sets the String
used to identify the time that is between noon and midnight.
setPMString
in interface ITimeFieldFormat
pMString
- The PM String
.public void setSecondFormat(SecondFormat secondFormat)
ITimeFieldFormat
Sets the format for displaying the seconds.
setSecondFormat
in interface ITimeFieldFormat
secondFormat
- The minute format as a SecondFormat
.public void setTimeBase(TimeBase timeBase)
ITimeFieldFormat
Sets the time base. The time base specifies that the time is in either a 12-hour or 24-hour format.
setTimeBase
in interface ITimeFieldFormat
timeBase
- 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)
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 |