Package com.nomagic.magicdraw.uimodeling
Enum UIPrototypingProfile.ScrollBarPolicyEnum
- java.lang.Object
-
- java.lang.Enum<UIPrototypingProfile.ScrollBarPolicyEnum>
-
- com.nomagic.magicdraw.uimodeling.UIPrototypingProfile.ScrollBarPolicyEnum
-
- All Implemented Interfaces:
ProfileImplementation.TextProvider
,java.io.Serializable
,java.lang.Comparable<UIPrototypingProfile.ScrollBarPolicyEnum>
- Enclosing class:
- UIPrototypingProfile
public static enum UIPrototypingProfile.ScrollBarPolicyEnum extends java.lang.Enum<UIPrototypingProfile.ScrollBarPolicyEnum> implements ProfileImplementation.TextProvider
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UIPrototypingProfile.ScrollBarPolicyEnum
from(java.lang.Object o)
java.lang.String
getText()
static UIPrototypingProfile.ScrollBarPolicyEnum
toEnum(EnumerationLiteral literal)
EnumerationLiteral
toEnumerationLiteral(UIPrototypingProfile profile, UIPrototypingProfile.ScrollBarPolicyEnum anEnum)
static UIPrototypingProfile.ScrollBarPolicyEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UIPrototypingProfile.ScrollBarPolicyEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final UIPrototypingProfile.ScrollBarPolicyEnum ALWAYS
-
AS_NEEDED
public static final UIPrototypingProfile.ScrollBarPolicyEnum AS_NEEDED
-
NEVER
public static final UIPrototypingProfile.ScrollBarPolicyEnum NEVER
-
-
Method Detail
-
values
public static UIPrototypingProfile.ScrollBarPolicyEnum[] 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 (UIPrototypingProfile.ScrollBarPolicyEnum c : UIPrototypingProfile.ScrollBarPolicyEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UIPrototypingProfile.ScrollBarPolicyEnum 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
-
getText
public java.lang.String getText()
- Specified by:
getText
in interfaceProfileImplementation.TextProvider
-
from
@CheckForNull public static UIPrototypingProfile.ScrollBarPolicyEnum from(@CheckForNull java.lang.Object o)
-
toEnum
@CheckForNull public static UIPrototypingProfile.ScrollBarPolicyEnum toEnum(EnumerationLiteral literal)
-
toEnumerationLiteral
@CheckForNull public EnumerationLiteral toEnumerationLiteral(UIPrototypingProfile profile, UIPrototypingProfile.ScrollBarPolicyEnum anEnum)
-
-