org.salespointframework.desktop.formsheets
Class DataExchangeFormSheet.DataExchangeOptions

java.lang.Object
  extended by org.salespointframework.desktop.formsheets.DataExchangeFormSheet.DataExchangeOptions
Enclosing class:
DataExchangeFormSheet

public static class DataExchangeFormSheet.DataExchangeOptions
extends java.lang.Object

This class defines specific options for source and destination components and the DataExchangeFormSheet.DataExchangeView There are four default options available: DataExchangeFormSheet.OPTION_LISTVIEW_LISTVIEW : source and destination are JListViews DataExchangeFormSheet.OPTION_LISTVIEW_TABLE : source is JListView, destination is JAbstractTable DataExchangeFormSheet.OPTION_TABLE_LISTVIEW : source is JAbstractTable, destination is JListView DataExchangeFormSheet.OPTION_TABLE_TABLE : source and destination are both JAbstractTables you can also set the DataExchangeFormSheet.OPTION_DEFAULT to set default options. if you plan to change this five preset options use copy() to leave them in the old state

Since:
4.0
Author:
Thomas Kissinger

Field Summary
protected  DataExchangeFormSheet.DataExchangeOption destOption
          options for destination component
protected  DataExchangeFormSheet.DataExchangeOption srcOption
          Options for source component
protected  DataExchangeFormSheet.DataExchangeView view
          view option
 
Constructor Summary
DataExchangeFormSheet.DataExchangeOptions(DataExchangeFormSheet.DataExchangeOption srcOption, DataExchangeFormSheet.DataExchangeOption destOption, DataExchangeFormSheet.DataExchangeView view)
          default constructor
 
Method Summary
 DataExchangeFormSheet.DataExchangeOptions copy()
          Copy options
 DataExchangeFormSheet.DataExchangeOption getDestOption()
           
 DataExchangeFormSheet.DataExchangeOption getSrcOption()
           
 DataExchangeFormSheet.DataExchangeView getView()
           
 void setDestOption(DataExchangeFormSheet.DataExchangeOption destOption)
           
 void setSrcOption(DataExchangeFormSheet.DataExchangeOption srcOption)
           
 void setView(DataExchangeFormSheet.DataExchangeView view)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

srcOption

protected DataExchangeFormSheet.DataExchangeOption srcOption
Options for source component


destOption

protected DataExchangeFormSheet.DataExchangeOption destOption
options for destination component


view

protected DataExchangeFormSheet.DataExchangeView view
view option

Constructor Detail

DataExchangeFormSheet.DataExchangeOptions

public DataExchangeFormSheet.DataExchangeOptions(DataExchangeFormSheet.DataExchangeOption srcOption,
                                                 DataExchangeFormSheet.DataExchangeOption destOption,
                                                 DataExchangeFormSheet.DataExchangeView view)
default constructor

Parameters:
srcOption - options for source component
destOption - options for destination component
view - view option
Method Detail

copy

public DataExchangeFormSheet.DataExchangeOptions copy()
Copy options

Returns:
copy of the DataExchangeFormSheet.DataExchangeOptions

getSrcOption

public DataExchangeFormSheet.DataExchangeOption getSrcOption()
See Also:
srcOption

setSrcOption

public void setSrcOption(DataExchangeFormSheet.DataExchangeOption srcOption)
Parameters:
srcOption -
See Also:
srcOption

getDestOption

public DataExchangeFormSheet.DataExchangeOption getDestOption()
See Also:
destOption

setDestOption

public void setDestOption(DataExchangeFormSheet.DataExchangeOption destOption)
Parameters:
destOption -
See Also:
destOption

getView

public DataExchangeFormSheet.DataExchangeView getView()
Returns:
See Also:
view

setView

public void setView(DataExchangeFormSheet.DataExchangeView view)
Parameters:
view -
See Also:
view