Package org.ametys.core.ui
Enum RibbonConfigurationManager.LAYOUTALIGN
- java.lang.Object
-
- java.lang.Enum<RibbonConfigurationManager.LAYOUTALIGN>
-
- org.ametys.core.ui.RibbonConfigurationManager.LAYOUTALIGN
-
- All Implemented Interfaces:
Serializable
,Comparable<RibbonConfigurationManager.LAYOUTALIGN>
- Enclosing class:
- RibbonConfigurationManager
public static enum RibbonConfigurationManager.LAYOUTALIGN extends Enum<RibbonConfigurationManager.LAYOUTALIGN>
Size constants for controls
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RibbonConfigurationManager.LAYOUTALIGN
createsFromString(String align)
Converts a string to a layout alignString
toString()
static RibbonConfigurationManager.LAYOUTALIGN
valueOf(String name)
Returns the enum constant of this type with the specified name.static RibbonConfigurationManager.LAYOUTALIGN[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP
public static final RibbonConfigurationManager.LAYOUTALIGN TOP
The controls are top aligned in the layout. Can be use with 1, 2 or 3 controls
-
MIDDLE
public static final RibbonConfigurationManager.LAYOUTALIGN MIDDLE
The controls are middly aligned. Can be used with 2 controls only.
-
-
Method Detail
-
values
public static RibbonConfigurationManager.LAYOUTALIGN[] 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 (RibbonConfigurationManager.LAYOUTALIGN c : RibbonConfigurationManager.LAYOUTALIGN.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RibbonConfigurationManager.LAYOUTALIGN 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<RibbonConfigurationManager.LAYOUTALIGN>
-
createsFromString
public static RibbonConfigurationManager.LAYOUTALIGN createsFromString(String align)
Converts a string to a layout align- Parameters:
align
- The align to convert- Returns:
- The align corresponding to the string or null if unknown
-
-