Package io.guise.framework.component
Enum AbstractFrame.FrameComponent
- java.lang.Object
-
- java.lang.Enum<AbstractFrame.FrameComponent>
-
- io.guise.framework.component.AbstractFrame.FrameComponent
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractFrame.FrameComponent>
- Enclosing class:
- AbstractFrame
protected static enum AbstractFrame.FrameComponent extends java.lang.Enum<AbstractFrame.FrameComponent>
The enumeration of frame components.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSE_ACTION_CONTROL
The control that provides a way of closing the frame.CONTENT_COMPONENT
The component, if any, that comprises the content of the frame.MENU_COMPONENT
The menu, if any, of the frame.TOOLBAR_COMPONENT
The toolbar, if any, of the frame.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractFrame.FrameComponent
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AbstractFrame.FrameComponent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTENT_COMPONENT
public static final AbstractFrame.FrameComponent CONTENT_COMPONENT
The component, if any, that comprises the content of the frame.
-
MENU_COMPONENT
public static final AbstractFrame.FrameComponent MENU_COMPONENT
The menu, if any, of the frame.
-
TOOLBAR_COMPONENT
public static final AbstractFrame.FrameComponent TOOLBAR_COMPONENT
The toolbar, if any, of the frame.
-
CLOSE_ACTION_CONTROL
public static final AbstractFrame.FrameComponent CLOSE_ACTION_CONTROL
The control that provides a way of closing the frame.
-
-
Method Detail
-
values
public static AbstractFrame.FrameComponent[] 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 (AbstractFrame.FrameComponent c : AbstractFrame.FrameComponent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractFrame.FrameComponent 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
-
-