|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFieldFormat
This interface enables you to specify the format of the field, including the date and time format, the numeric format, the string format, and so on.
| Method Summary | |
|---|---|
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. |
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. |
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. |
| Method Detail |
|---|
IBooleanFieldFormat getBooleanFormat()
Returns the boolean format for the field if the field is a boolean field.
IBooleanFieldFormat object that specifies the boolean format
for the field.ICommonFieldFormat getCommonFormat()
Returns the common format for the field. (Applies to any field value type.)
ICommonFieldFormat object that specifies the common format for the field.IDateFieldFormat getDateFormat()
Returns the date format for the field if the field is a date or DateTime field.
IDateFieldFormat object that specifies the date format for the field.IDateTimeFieldFormat getDateTimeFormat()
Returns the DateTime format for the field if the field is a DateTime field.
IDateTimeFieldFormat object that specifies the DateTime format for the field.INumericFieldFormat getNumericFormat()
Returns the numeric format for the field if the field is a numeric field.
INumericFieldFormat object that specifies the numeric format for the field.IStringFieldFormat getStringFormat()
Returns the string format for the field if the field is a String field.
IStringFieldFormat object that specifies the string format for the field.ITimeFieldFormat getTimeFormat()
Returns the time format for the field if the field is a time or DateTime field.
ITimeFieldFormat object that specifies the time format for the field.void setBooleanFormat(IBooleanFieldFormat booleanFormat)
Sets the boolean format for the field if the field is a boolean field.
booleanFormat - An IBooleanFieldFormat object that specifies the boolean
format for the field.void setCommonFormat(ICommonFieldFormat commonFormat)
Sets the common format for the field. (Applies to any field value type.)
commonFormat - An ICommonFieldFormat object that specifies 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.
dateFormat - An IDateFieldFormat object that specifies the date format for the field.void setDateTimeFormat(IDateTimeFieldFormat dateTimeFormat)
Sets the DateTime format for the field if the field is a DateTime field.
dateTimeFormat - An IDateTimeFieldFormat object that specifies the DateTime format for the field.void setNumericFormat(INumericFieldFormat numericFormat)
Sets the numeric format for the field if the field is a numeric field.
numericFormat - An INumericFieldFormat object that specifies
the numeric format for the field.void setStringFormat(IStringFieldFormat stringFormat)
Sets the string format for the field if the field is a String field.
stringFormat - An IStringFieldFormat object that specifies the string format for the field.void setTimeFormat(ITimeFieldFormat timeFormat)
Sets the time format for the field if the field is a time or DateTime field.
timeFormat - An ITimeFieldFormat object that specifies the time format for the field.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||