Public Member Functions | |
EditItemType (int msgId) | |
int | getMsgId () |
Static Public Member Functions | |
static EditItemType | fromId (int id) |
Public Attributes | |
PLAIN_TEXT =(0) | |
IP_ADDRESS =(1) | |
TIME_24H =(2) | |
TIME_12H =(3) | |
TIME_24_HUNDREDS =(4) | |
GREGORIAN_DATE =(5) | |
TIME_DURATION_SECONDS =(6) | |
TIME_DURATION_HUNDREDS =(7) | |
TIME_24H_HHMM =(8) | |
TIME_12H_HHMM =(9) | |
Text menu items can represent several types of value and as such the edit type must be defined.
com.thecoderscorner.menu.domain.EditItemType.GREGORIAN_DATE =(5) |
This field represents a gregorian date
com.thecoderscorner.menu.domain.EditItemType.IP_ADDRESS =(1) |
This field represents an IP address
com.thecoderscorner.menu.domain.EditItemType.PLAIN_TEXT =(0) |
This field has no validation, it is plain text
com.thecoderscorner.menu.domain.EditItemType.TIME_12H =(3) |
This field represents a time in 12H format with seconds
com.thecoderscorner.menu.domain.EditItemType.TIME_12H_HHMM =(9) |
This field represents a 12H time in minutes
com.thecoderscorner.menu.domain.EditItemType.TIME_24_HUNDREDS =(4) |
This field represents a time in 24H format down to hundreds of a second
com.thecoderscorner.menu.domain.EditItemType.TIME_24H =(2) |
This field represents a time in 24H format with seconds
com.thecoderscorner.menu.domain.EditItemType.TIME_24H_HHMM =(8) |
This field represents a 24H time in minutes
com.thecoderscorner.menu.domain.EditItemType.TIME_DURATION_HUNDREDS =(7) |
This field represents a time duration in hundreds
com.thecoderscorner.menu.domain.EditItemType.TIME_DURATION_SECONDS =(6) |
This field represents a time duration in seconds