Enum Class ButtonStyle
- All Implemented Interfaces:
- Serializable,- Comparable<ButtonStyle>,- Constable
ButtonStyle
 For now package change has too much impact > future package : VDocSDKInterfaces/src/main/java/com/axemble/vdoc/sdk/interfaces/ui/widgets
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic ButtonStylegetButtonStyleFromInt(int number) getButtonStyleFromIntstatic ButtonStylegetButtonStyleFromInt(int number, ButtonStyle defaultStyle) getButtonStyleFromIntstatic ButtonStylegetButtonStyleFromListValue(String listValue) getButtonStyleFromListValuestatic ButtonStylegetButtonStyleFromListValue(String listValue, ButtonStyle defaultStyle) getButtonStyleFromListValuestatic ButtonStylegetButtonStyleFromStyleString(String styleString) getButtonStyleFromStyleStringstatic ButtonStylegetButtonStyleFromStyleString(String styleString, ButtonStyle defaultStyle) getButtonStyleFromStyleStringintstatic ButtonStyleReturns the enum constant of this class with the specified name.static ButtonStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
BUTTON_1
- 
BUTTON_2
- 
BUTTON_3
 
- 
- 
Field Details- 
DEFAULT_STYLE
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getNumberpublic int getNumber()
- 
getButtonStyleFromListValuegetButtonStyleFromListValue- Parameters:
- listValue- value from form editor (buttonX)
- Returns:
- ButtonStyle
 
- 
getButtonStyleFromStyleStringgetButtonStyleFromStyleString- Parameters:
- styleString- value from string (styleX)
- Returns:
- ButtonStyle
 
- 
getButtonStyleFromIntgetButtonStyleFromInt- Parameters:
- number- style number
- Returns:
- ButtonStyle
 
- 
getButtonStyleFromListValuegetButtonStyleFromListValue- Parameters:
- listValue- value from form editor (buttonX)
- defaultStyle- default style
- Returns:
- ButtonStyle
 
- 
getButtonStyleFromStyleStringpublic static ButtonStyle getButtonStyleFromStyleString(String styleString, ButtonStyle defaultStyle) getButtonStyleFromStyleString- Parameters:
- styleString- value from string (styleX)
- defaultStyle- default style
- Returns:
- ButtonStyle
 
- 
getButtonStyleFromIntgetButtonStyleFromInt- Parameters:
- number- style number
- defaultStyle- default style
- Returns:
- ButtonStyle
 
 
-