ch.javasoft.swing
Enum JComponentGroup.Binding

java.lang.Object
  extended by java.lang.Enum<JComponentGroup.Binding>
      extended by ch.javasoft.swing.JComponentGroup.Binding
All Implemented Interfaces:
Serializable, Comparable<JComponentGroup.Binding>
Enclosing class:
JComponentGroup

public static enum JComponentGroup.Binding
extends Enum<JComponentGroup.Binding>


Enum Constant Summary
BIND_BOTH
          Binding constant to bind group components horizontally and vertically.
BIND_X
          Binding constant to bind group components horizontally.
BIND_Y
          Binding constant to bind group components vertically.
 
Method Summary
static JComponentGroup.Binding valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JComponentGroup.Binding[] 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

BIND_X

public static final JComponentGroup.Binding BIND_X
Binding constant to bind group components horizontally. The widths of the components are all equal, set to the maximum of all component widths


BIND_Y

public static final JComponentGroup.Binding BIND_Y
Binding constant to bind group components vertically. The heights of the components are all equal, set to the maximum of all component heights


BIND_BOTH

public static final JComponentGroup.Binding BIND_BOTH
Binding constant to bind group components horizontally and vertically. The widths and heights of the components are all equal, set to the maximum of all component widths/heights.

Method Detail

values

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

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

valueOf

public static JComponentGroup.Binding 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