Enum PopupAttachmentsDisplayType
- java.lang.Object
-
- java.lang.Enum<PopupAttachmentsDisplayType>
-
- com.esri.arcgisruntime.mapping.popup.PopupAttachmentsDisplayType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PopupAttachmentsDisplayType>
public enum PopupAttachmentsDisplayType extends java.lang.Enum<PopupAttachmentsDisplayType>
The type indicating how to display the attachments. IfLIST
is specified, attachments show as links. IfPREVIEW
is specified, attachments expand to the width of the pop-up. Setting the value toAUTO
allows applications to choose the most suitable default experience for their application.- Since:
- 100.14.0
- See Also:
AttachmentsPopupElement
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PopupAttachmentsDisplayType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PopupAttachmentsDisplayType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIST
public static final PopupAttachmentsDisplayType LIST
Show attachments as links.- Since:
- 100.14.0
-
PREVIEW
public static final PopupAttachmentsDisplayType PREVIEW
Attachments expand to the width of the pop-up.- Since:
- 100.14.0
-
AUTO
public static final PopupAttachmentsDisplayType AUTO
Allows applications to choose the most suitable default experience for their application.- Since:
- 100.14.0
-
-
Method Detail
-
values
public static PopupAttachmentsDisplayType[] 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 (PopupAttachmentsDisplayType c : PopupAttachmentsDisplayType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PopupAttachmentsDisplayType 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
-
-