org.fest.swing.fixture
Enum JToolBarFixture.UnfloatConstraint

java.lang.Object
  extended by java.lang.Enum<JToolBarFixture.UnfloatConstraint>
      extended by org.fest.swing.fixture.JToolBarFixture.UnfloatConstraint
All Implemented Interfaces:
Serializable, Comparable<JToolBarFixture.UnfloatConstraint>
Enclosing class:
JToolBarFixture

public static enum JToolBarFixture.UnfloatConstraint
extends Enum<JToolBarFixture.UnfloatConstraint>

Understands constraints used to unfloat a floating JToolBar.

Author:
Alex Ruiz

Enum Constant Summary
EAST
           
NORTH
           
SOUTH
           
WEST
           
 
Field Summary
 String value
           
 
Method Summary
static JToolBarFixture.UnfloatConstraint valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JToolBarFixture.UnfloatConstraint[] 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

NORTH

public static final JToolBarFixture.UnfloatConstraint NORTH

EAST

public static final JToolBarFixture.UnfloatConstraint EAST

SOUTH

public static final JToolBarFixture.UnfloatConstraint SOUTH

WEST

public static final JToolBarFixture.UnfloatConstraint WEST
Field Detail

value

public final String value
Method Detail

values

public static JToolBarFixture.UnfloatConstraint[] 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 (JToolBarFixture.UnfloatConstraint c : JToolBarFixture.UnfloatConstraint.values())
    System.out.println(c);

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

valueOf

public static JToolBarFixture.UnfloatConstraint 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
NullPointerException - if the argument is null


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.