org.salespointframework.desktop.formsheets
Enum DataExchangeFormSheet.DataExchangeView

java.lang.Object
  extended by java.lang.Enum<DataExchangeFormSheet.DataExchangeView>
      extended by org.salespointframework.desktop.formsheets.DataExchangeFormSheet.DataExchangeView
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DataExchangeFormSheet.DataExchangeView>
Enclosing class:
DataExchangeFormSheet

public static enum DataExchangeFormSheet.DataExchangeView
extends java.lang.Enum<DataExchangeFormSheet.DataExchangeView>

The view defines where both components will be place on formshete

Since:
4.0
Author:
Thomas Kissinger

Enum Constant Summary
DOWN
          Constant indicating that the destination element is to be placed beneath the source element.
LEFT
          Constant indicating that the destination element is to be placed left of the source element.
RIGHT
          Constant indicating that the destination element is to be placed right of the element table.
UP
          Constant indicating that the destination element is to be placed above the source element.
 
Method Summary
static DataExchangeFormSheet.DataExchangeView valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DataExchangeFormSheet.DataExchangeView[] 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

LEFT

public static final DataExchangeFormSheet.DataExchangeView LEFT
Constant indicating that the destination element is to be placed left of the source element.


RIGHT

public static final DataExchangeFormSheet.DataExchangeView RIGHT
Constant indicating that the destination element is to be placed right of the element table.


UP

public static final DataExchangeFormSheet.DataExchangeView UP
Constant indicating that the destination element is to be placed above the source element.


DOWN

public static final DataExchangeFormSheet.DataExchangeView DOWN
Constant indicating that the destination element is to be placed beneath the source element.

Method Detail

values

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

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

valueOf

public static DataExchangeFormSheet.DataExchangeView 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