Enum CommandPanelPresentationModel.LayoutKind
- java.lang.Object
-
- java.lang.Enum<CommandPanelPresentationModel.LayoutKind>
-
- org.pushingpixels.flamingo.api.common.model.CommandPanelPresentationModel.LayoutKind
-
- Enclosing class:
- CommandPanelPresentationModel
public static enum CommandPanelPresentationModel.LayoutKind extends java.lang.Enum<CommandPanelPresentationModel.LayoutKind>
Enumerates the available layout kinds.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLUMN_FILLThe buttons are laid out in columns respecting the available height.ROW_FILLThe buttons are laid out in rows respecting the available width.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommandPanelPresentationModel.LayoutKindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CommandPanelPresentationModel.LayoutKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROW_FILL
public static final CommandPanelPresentationModel.LayoutKind ROW_FILL
The buttons are laid out in rows respecting the available width.
-
COLUMN_FILL
public static final CommandPanelPresentationModel.LayoutKind COLUMN_FILL
The buttons are laid out in columns respecting the available height.
-
-
Method Detail
-
values
public static CommandPanelPresentationModel.LayoutKind[] 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 (CommandPanelPresentationModel.LayoutKind c : CommandPanelPresentationModel.LayoutKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommandPanelPresentationModel.LayoutKind 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
-
-