Constructor and Description |
---|
Step3Model(int markedColumn,
int firstLineWithData,
boolean useHeader) |
Modifier and Type | Method and Description |
---|---|
boolean |
addSelection(List<String> selection)
Saves the current selection of the radio button panel for the current
marked column.
Is called during Step3Model.back() and
Step3Controller.saveSettings() . |
HashMap<Integer,List<String>> |
getAllSelections()
Returns all selections (column assignments) stored in this model
|
int |
getFirstLineWithData() |
int |
getMarkedColumn() |
List<String> |
getSelectionForColumn(int colIndex)
Returns the stored selection (column assignment) for the given column
|
boolean |
getUseHeader() |
void |
setMarkedColumn(int colIndex) |
String |
toString() |
public Step3Model(int markedColumn, int firstLineWithData, boolean useHeader)
public boolean addSelection(List<String> selection)
Step3Model.back()
and
Step3Controller.saveSettings()
.selection
- the selection by the user for the current columnpublic List<String> getSelectionForColumn(int colIndex)
colIndex
- index of the columnList<String>
public HashMap<Integer,List<String>> getAllSelections()
HashMap<Integer,List<String>>
public int getFirstLineWithData()
public int getMarkedColumn()
public void setMarkedColumn(int colIndex)
public boolean getUseHeader()
Copyright © 2011–2019 52°North. All rights reserved.