Package org.ametys.core.ui
Enum Class RibbonConfigurationManager.LAYOUTALIGN
java.lang.Object
java.lang.Enum<RibbonConfigurationManager.LAYOUTALIGN>
org.ametys.core.ui.RibbonConfigurationManager.LAYOUTALIGN
- All Implemented Interfaces:
Serializable
,Comparable<RibbonConfigurationManager.LAYOUTALIGN>
,java.lang.constant.Constable
- Enclosing class:
- RibbonConfigurationManager
public static enum RibbonConfigurationManager.LAYOUTALIGN
extends Enum<RibbonConfigurationManager.LAYOUTALIGN>
Size constants for controls
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreatesFromString
(String align) Converts a string to a layout aligntoString()
Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP
The controls are top aligned in the layout. Can be use with 1, 2 or 3 controls -
MIDDLE
The controls are middly aligned. Can be used with 2 controls only.
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<RibbonConfigurationManager.LAYOUTALIGN>
-
createsFromString
Converts a string to a layout align- Parameters:
align
- The align to convert- Returns:
- The align corresponding to the string or null if unknown
-