Enum PropertyType
- java.lang.Object
-
- java.lang.Enum<PropertyType>
-
- com.inductiveautomation.perspective.common.api.PropertyType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PropertyType>
public enum PropertyType extends java.lang.Enum<PropertyType>
Created by carlg on 1/5/2017.
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.EnumSet<PropertyType>
COMPONENT_SCOPES
static java.util.EnumSet<PropertyType>
PAGE_SCOPES
static java.util.EnumSet<PropertyType>
SESSION_SCOPES
static java.util.EnumSet<PropertyType>
VIEW_SCOPES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertyType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PropertyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
props
public static final PropertyType props
-
position
public static final PropertyType position
-
custom
public static final PropertyType custom
-
meta
public static final PropertyType meta
-
params
public static final PropertyType params
-
-
Field Detail
-
COMPONENT_SCOPES
public static final java.util.EnumSet<PropertyType> COMPONENT_SCOPES
-
VIEW_SCOPES
public static final java.util.EnumSet<PropertyType> VIEW_SCOPES
-
SESSION_SCOPES
public static final java.util.EnumSet<PropertyType> SESSION_SCOPES
-
PAGE_SCOPES
public static final java.util.EnumSet<PropertyType> PAGE_SCOPES
-
-
Method Detail
-
values
public static PropertyType[] 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 (PropertyType c : PropertyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyType 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
-
-