Package com.vaadin.flow.component.html
Enum IFrame.SandboxType
- java.lang.Object
-
- java.lang.Enum<IFrame.SandboxType>
-
- com.vaadin.flow.component.html.IFrame.SandboxType
-
- All Implemented Interfaces:
Serializable
,Comparable<IFrame.SandboxType>
- Enclosing class:
- IFrame
public static enum IFrame.SandboxType extends Enum<IFrame.SandboxType>
Sandbox types.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static IFrame.SandboxType
valueOf(String name)
Returns the enum constant of this type with the specified name.static IFrame.SandboxType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESTRICT_ALL
public static final IFrame.SandboxType RESTRICT_ALL
-
ALLOW_FORMS
public static final IFrame.SandboxType ALLOW_FORMS
-
ALLOW_MODALS
public static final IFrame.SandboxType ALLOW_MODALS
-
ALLOW_ORIENTATION_LOCK
public static final IFrame.SandboxType ALLOW_ORIENTATION_LOCK
-
ALLOW_POINTER_LOCK
public static final IFrame.SandboxType ALLOW_POINTER_LOCK
-
ALLOW_POPUPS
public static final IFrame.SandboxType ALLOW_POPUPS
-
ALLOW_POPUPS_TO_ESCAPE_SANDBOX
public static final IFrame.SandboxType ALLOW_POPUPS_TO_ESCAPE_SANDBOX
-
ALLOW_PRESENTATION
public static final IFrame.SandboxType ALLOW_PRESENTATION
-
ALLOW_SAME_ORIGIN
public static final IFrame.SandboxType ALLOW_SAME_ORIGIN
-
ALLOW_SCRIPTS
public static final IFrame.SandboxType ALLOW_SCRIPTS
-
ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION
public static final IFrame.SandboxType ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION
-
ALLOW_TOP_NAVIGATION
public static final IFrame.SandboxType ALLOW_TOP_NAVIGATION
-
ALLOW_TOP_NAVIGATION_BY_USER_ACTIVATION
public static final IFrame.SandboxType ALLOW_TOP_NAVIGATION_BY_USER_ACTIVATION
-
-
Method Detail
-
values
public static IFrame.SandboxType[] 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 (IFrame.SandboxType c : IFrame.SandboxType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IFrame.SandboxType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
-
-