|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExportColumnsInterface
Represents an adapter for the ExportSelector capable of exporting the wanted subset of columns.
Field Summary | |
---|---|
static java.lang.String |
ALL_COLUMNS
When all the columns in the data model have be exported this is the value passed to the ExportSelectorCommand. |
static java.lang.String |
DISPLAYED_COLUMNS
When only the currently displayed columns have be exported this is the value passed to the ExportSelectorCommand. |
static java.lang.String |
SELECTED_COLUMNS
When only the selected columns have be exported this is the value passed to the ExportSelectorCommand. |
Method Summary | |
---|---|
java.util.List |
getAvailableColumns()
Returns the list of quadruplets column's name/column's index/enabledImageName/disabledImageName for all the columns that are in the TableModel. |
int[] |
getColumns()
Returns the indexes of the columns to export. |
int[] |
getCurrentlyDisplayedColumnIndexes()
Returns the indexes of the columns that are currently displayed in the TableView that contains the data we're exporting. |
java.lang.Object |
getViewer()
Returns the viewer like a TableView or a MenuBar where the displaying of this selector originated from. |
void |
setColumns(int[] columns)
Sets the indexes of the columns to export. |
void |
setCurrentlyDisplayedColumnIndexes(int[] indexes)
Sets the indexes of the columns that are currently displayed in the TableView that contains the data we're exporting. |
void |
setViewer(java.lang.Object viewer)
Sets the viewer like a TableView or a MenuBar where the displaying of this selector originated from. |
Field Detail |
---|
static final java.lang.String ALL_COLUMNS
DISPLAYED_COLUMNS
,
SELECTED_COLUMNS
,
Constant Field Valuesstatic final java.lang.String DISPLAYED_COLUMNS
ALL_COLUMNS
,
SELECTED_COLUMNS
,
Constant Field Valuesstatic final java.lang.String SELECTED_COLUMNS
ALL_COLUMNS
,
DISPLAYED_COLUMNS
,
Constant Field ValuesMethod Detail |
---|
void setColumns(int[] columns)
columns
- the indexes of the columns to export.int[] getColumns()
java.util.List getAvailableColumns()
void setViewer(java.lang.Object viewer)
viewer
- the viewer where the displaying of this selector originated from.java.lang.Object getViewer()
int[] getCurrentlyDisplayedColumnIndexes()
void setCurrentlyDisplayedColumnIndexes(int[] indexes)
indexes
- the indexes of the columns that are currently displayed in the TableView that contains the data we're exporting.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |