Class InputTableSelectionHandler
java.lang.Object
com.illumon.iris.console.utils.input.InputTableSelectionHandler
public class InputTableSelectionHandler extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InputTableSelectionHandler.RowSelectionHandler
-
Constructor Summary
Constructors Constructor Description InputTableSelectionHandler()
InputTableSelectionHandler(InputTableSelectionHandler.RowSelectionHandler rowSelectionHandler)
-
Method Summary
Modifier and Type Method Description int[]
getSelectedIndices()
boolean
isColumnSelectionMode()
boolean
isRowSelectionMode()
void
setTable(JTable table)
void
setTable(JTable table, Object[][] tableConfig)
void
setTableSelection(JTable table, int startRowIndex, int startColIndex, boolean fullColumnSelect)
-
Constructor Details
-
InputTableSelectionHandler
public InputTableSelectionHandler() -
InputTableSelectionHandler
public InputTableSelectionHandler(InputTableSelectionHandler.RowSelectionHandler rowSelectionHandler)
-
-
Method Details
-
setTable
-
setTable
-
getSelectedIndices
public int[] getSelectedIndices() -
setTableSelection
public void setTableSelection(JTable table, int startRowIndex, int startColIndex, boolean fullColumnSelect) -
isColumnSelectionMode
public boolean isColumnSelectionMode() -
isRowSelectionMode
public boolean isRowSelectionMode()
-