|
||||||||||
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 JListView
s
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 JAbstractTable
s
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 optionMethod Detail |
---|
public DataExchangeFormSheet.DataExchangeOptions copy()
DataExchangeFormSheet.DataExchangeOptions
public DataExchangeFormSheet.DataExchangeOption getSrcOption()
srcOption
public void setSrcOption(DataExchangeFormSheet.DataExchangeOption srcOption)
srcOption
- srcOption
public DataExchangeFormSheet.DataExchangeOption getDestOption()
destOption
public void setDestOption(DataExchangeFormSheet.DataExchangeOption destOption)
destOption
- destOption
public DataExchangeFormSheet.DataExchangeView getView()
view
public void setView(DataExchangeFormSheet.DataExchangeView view)
view
- view
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |