Package com.storedobject.ui
Enum Class ObjectField.Type
- All Implemented Interfaces:
Serializable
,Comparable<ObjectField.Type>
,Constable
- Enclosing class:
ObjectField<T extends StoredObject>
Type of the object field.
- Author:
- Syam
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAudio type.Determine automatically.Choice type.File type.Form type.Form type - embedded as a block.Object "get" type.Image type.Inventory bin type.Inventory item type.Microphone type.Search type.Still-camera type.Video type.Video-camera type. -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectField.Type
Returns the enum constant of this class with the specified name.static ObjectField.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
Determine automatically. -
CHOICE
Choice type. -
GET
Object "get" type. (SeeObjectGetField
). -
SEARCH
Search type. (SeeObjectSearchField
). -
FORM
Form type. (SeeObjectFormField
). -
IMAGE
Image type. (Used for uploading images). -
FILE
File type. (Used for uploading files). -
INVENTORY_ITEM
Inventory item type. -
INVENTORY_BIN
Inventory bin type. -
FORM_BLOCK
Form type - embedded as a block. (SeeObjectFormField
). -
VIDEO
Video type. (Used for uploading video files). -
AUDIO
Audio type. (Used for uploading audio files). -
STILL_CAMERA
Still-camera type. (Used for capturing an image via computer's camera). -
VIDEO_CAMERA
Video-camera type. (Used for capturing a video via computer's video camera). -
MIC
Microphone type. (Used for capturing an audio via computer's microphone).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-