Sweet Home 3D 3.4

com.eteks.sweethome3d.swing
Enum ProportionalLayout.Constraints

java.lang.Object
  extended by java.lang.Enum<ProportionalLayout.Constraints>
      extended by com.eteks.sweethome3d.swing.ProportionalLayout.Constraints
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProportionalLayout.Constraints>
Enclosing class:
ProportionalLayout

public static enum ProportionalLayout.Constraints
extends java.lang.Enum<ProportionalLayout.Constraints>

The two locations where components managed by a ProportionalLayout instance can be placed.


Enum Constant Summary
BOTTOM
           
TOP
           
 
Method Summary
static ProportionalLayout.Constraints valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProportionalLayout.Constraints[] 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

TOP

public static final ProportionalLayout.Constraints TOP

BOTTOM

public static final ProportionalLayout.Constraints BOTTOM
Method Detail

values

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

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

valueOf

public static ProportionalLayout.Constraints 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

Sweet Home 3D 3.4

? Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License