org.fest.swing.fixture
Enum JToolBarFixture.UnfloatConstraint
java.lang.Object
java.lang.Enum<JToolBarFixture.UnfloatConstraint>
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
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
value
public final String value
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.