JAPI 0.9.0
Yet another Java API
API Documentation

net.sf.japi.swing
Enum ToolBarLayout.ToolBarConstraints.Region

java.lang.Object
  extended by java.lang.Enum<ToolBarLayout.ToolBarConstraints.Region>
      extended by net.sf.japi.swing.ToolBarLayout.ToolBarConstraints.Region
All Implemented Interfaces:
Serializable, Comparable<ToolBarLayout.ToolBarConstraints.Region>
Enclosing class:
ToolBarLayout.ToolBarConstraints

public static enum ToolBarLayout.ToolBarConstraints.Region
extends Enum<ToolBarLayout.ToolBarConstraints.Region>

Enum for region.

Author:
Christian Hujer

Enum Constant Summary
CENTER
          Constraint for center region.
EAST
          Constraint for east region, last component.
NORTH
          Constraint for north region, last component.
SOUTH
          Constraint for south region, last component.
WEST
          Constraint for west region, last component.
 
Method Summary
static ToolBarLayout.ToolBarConstraints.Region valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ToolBarLayout.ToolBarConstraints.Region[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CENTER

public static final ToolBarLayout.ToolBarConstraints.Region CENTER
Constraint for center region.


NORTH

public static final ToolBarLayout.ToolBarConstraints.Region NORTH
Constraint for north region, last component.


SOUTH

public static final ToolBarLayout.ToolBarConstraints.Region SOUTH
Constraint for south region, last component.


EAST

public static final ToolBarLayout.ToolBarConstraints.Region EAST
Constraint for east region, last component.


WEST

public static final ToolBarLayout.ToolBarConstraints.Region WEST
Constraint for west region, last component.

Method Detail

values

public static final ToolBarLayout.ToolBarConstraints.Region[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ToolBarLayout.ToolBarConstraints.Region c : ToolBarLayout.ToolBarConstraints.Region.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ToolBarLayout.ToolBarConstraints.Region 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 name

JAPI
Yet another Java API
API Documentation

© 2005-2006 Christian Hujer. All rights reserved. See copyright