Enum PopupAttachment.Type
- java.lang.Object
-
- java.lang.Enum<PopupAttachment.Type>
-
- com.esri.arcgisruntime.mapping.popup.PopupAttachment.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PopupAttachment.Type>
- Enclosing class:
- PopupAttachment
public static enum PopupAttachment.Type extends java.lang.Enum<PopupAttachment.Type>
The type of attachments in a PopupAttachmentManager- Since:
- 100.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOCUMENT
Represents attachments that consist of a document, such as a word document, a powerpoint presentation, a spreadsheet, a PDF, etc.IMAGE
Represents attachments that consist of a simple still image.OTHER
Represents any other type of attachment.VIDEO
Represents attachments that consist of a video file.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PopupAttachment.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PopupAttachment.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMAGE
public static final PopupAttachment.Type IMAGE
Represents attachments that consist of a simple still image.- Since:
- 100.0.0
-
VIDEO
public static final PopupAttachment.Type VIDEO
Represents attachments that consist of a video file.- Since:
- 100.0.0
-
DOCUMENT
public static final PopupAttachment.Type DOCUMENT
Represents attachments that consist of a document, such as a word document, a powerpoint presentation, a spreadsheet, a PDF, etc.- Since:
- 100.0.0
-
OTHER
public static final PopupAttachment.Type OTHER
Represents any other type of attachment.- Since:
- 100.0.0
-
-
Method Detail
-
values
public static PopupAttachment.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PopupAttachment.Type c : PopupAttachment.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PopupAttachment.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-