|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.salespointframework.desktop.formsheets.DataExchangeFormSheet.DataExchangeOptions
public static class DataExchangeFormSheet.DataExchangeOptions
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
| 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 |
|---|
protected DataExchangeFormSheet.DataExchangeOption srcOption
protected DataExchangeFormSheet.DataExchangeOption destOption
protected DataExchangeFormSheet.DataExchangeView view
| Constructor Detail |
|---|
public DataExchangeFormSheet.DataExchangeOptions(DataExchangeFormSheet.DataExchangeOption srcOption,
DataExchangeFormSheet.DataExchangeOption destOption,
DataExchangeFormSheet.DataExchangeView view)
srcOption - options for source componentdestOption - options for destination componentview - view option| Method Detail |
|---|
public DataExchangeFormSheet.DataExchangeOptions copy()
DataExchangeFormSheet.DataExchangeOptionspublic DataExchangeFormSheet.DataExchangeOption getSrcOption()
srcOptionpublic void setSrcOption(DataExchangeFormSheet.DataExchangeOption srcOption)
srcOption - srcOptionpublic DataExchangeFormSheet.DataExchangeOption getDestOption()
destOptionpublic void setDestOption(DataExchangeFormSheet.DataExchangeOption destOption)
destOption - destOptionpublic DataExchangeFormSheet.DataExchangeView getView()
viewpublic void setView(DataExchangeFormSheet.DataExchangeView view)
view - view
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||