com.guiseframework.component
Enum AbstractFrame.FrameComponent

java.lang.Object
  extended by java.lang.Enum<AbstractFrame.FrameComponent>
      extended by com.guiseframework.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
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
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
java.lang.NullPointerException - if the argument is null


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.