org.netbeans.api.visual 2.23.1

org.netbeans.api.visual.layout
Enum LayoutFactory.ConnectionWidgetLayoutAlignment

java.lang.Object
  extended by java.lang.Enum<LayoutFactory.ConnectionWidgetLayoutAlignment>
      extended by org.netbeans.api.visual.layout.LayoutFactory.ConnectionWidgetLayoutAlignment
All Implemented Interfaces:
Serializable, Comparable<LayoutFactory.ConnectionWidgetLayoutAlignment>
Enclosing class:
LayoutFactory

public static enum LayoutFactory.ConnectionWidgetLayoutAlignment
extends Enum<LayoutFactory.ConnectionWidgetLayoutAlignment>

Alignment of children widgets within a calculated connection widgets used by default layout used in a connection widget.


Enum Constant Summary
BOTTOM_CENTER
           
BOTTOM_LEFT
           
BOTTOM_RIGHT
           
BOTTOM_SOURCE
           
BOTTOM_TARGET
           
CENTER
           
CENTER_LEFT
           
CENTER_RIGHT
           
CENTER_SOURCE
           
CENTER_TARGET
           
NONE
           
TOP_CENTER
           
TOP_LEFT
           
TOP_RIGHT
           
TOP_SOURCE
           
TOP_TARGET
           
 
Method Summary
static LayoutFactory.ConnectionWidgetLayoutAlignment valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LayoutFactory.ConnectionWidgetLayoutAlignment[] 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

NONE

public static final LayoutFactory.ConnectionWidgetLayoutAlignment NONE

CENTER

public static final LayoutFactory.ConnectionWidgetLayoutAlignment CENTER

TOP_CENTER

public static final LayoutFactory.ConnectionWidgetLayoutAlignment TOP_CENTER

BOTTOM_CENTER

public static final LayoutFactory.ConnectionWidgetLayoutAlignment BOTTOM_CENTER

CENTER_LEFT

public static final LayoutFactory.ConnectionWidgetLayoutAlignment CENTER_LEFT

CENTER_RIGHT

public static final LayoutFactory.ConnectionWidgetLayoutAlignment CENTER_RIGHT

TOP_LEFT

public static final LayoutFactory.ConnectionWidgetLayoutAlignment TOP_LEFT

TOP_RIGHT

public static final LayoutFactory.ConnectionWidgetLayoutAlignment TOP_RIGHT

BOTTOM_LEFT

public static final LayoutFactory.ConnectionWidgetLayoutAlignment BOTTOM_LEFT

BOTTOM_RIGHT

public static final LayoutFactory.ConnectionWidgetLayoutAlignment BOTTOM_RIGHT

CENTER_SOURCE

public static final LayoutFactory.ConnectionWidgetLayoutAlignment CENTER_SOURCE

CENTER_TARGET

public static final LayoutFactory.ConnectionWidgetLayoutAlignment CENTER_TARGET

BOTTOM_SOURCE

public static final LayoutFactory.ConnectionWidgetLayoutAlignment BOTTOM_SOURCE

BOTTOM_TARGET

public static final LayoutFactory.ConnectionWidgetLayoutAlignment BOTTOM_TARGET

TOP_SOURCE

public static final LayoutFactory.ConnectionWidgetLayoutAlignment TOP_SOURCE

TOP_TARGET

public static final LayoutFactory.ConnectionWidgetLayoutAlignment TOP_TARGET
Method Detail

values

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

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

valueOf

public static LayoutFactory.ConnectionWidgetLayoutAlignment 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

org.netbeans.api.visual 2.23.1

Built on July 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.