Module org.autogui
Package org.autogui.swing.table
Interface GuiSwingTableColumnSet.TableSelectionSource
- All Known Implementing Classes:
GuiSwingTableColumnCollection.TableSelectionSourceDynamic
,GuiSwingTableColumnCollection.TableSelectionSourceDynamicForIndices
,GuiSwingTableColumnCollection.TableSelectionSourceDynamicForList
,GuiSwingTableColumnCollection.TableSelectionSourceDynamicForRowAndColumnIndices
,GuiSwingViewCollectionTable.CollectionTable
,GuiSwingViewCollectionTable.TableSelectionSourceForIndices
,LambdaProperty.LambdaCollectionTable
- Enclosing interface:
GuiSwingTableColumnSet
public static interface GuiSwingTableColumnSet.TableSelectionSource
an action target
-
Method Summary
Modifier and TypeMethodDescriptionList
<?> boolean
void
selectionActionFinished
(boolean autoSelection, GuiSwingTableColumnSet.TableSelectionChange change) the finisher for the action: the table implements the method in order to refresh selected rows.void
the preparation for the action: the table stops editing
-
Method Details
-
getTargetName
String getTargetName() -
isSelectionEmpty
boolean isSelectionEmpty() -
getSelectedItems
List<?> getSelectedItems() -
selectionActionPrepare
void selectionActionPrepare()the preparation for the action: the table stops editing- Since:
- 1.2
-
selectionActionFinished
void selectionActionFinished(boolean autoSelection, GuiSwingTableColumnSet.TableSelectionChange change) the finisher for the action: the table implements the method in order to refresh selected rows. However, naive executions of the action by list selection changes will cause infinite loop. To avoid this, an impl. of the method needs to check the flag and avoid handling list selection events caused by the method.- Parameters:
autoSelection
- true if the action is automatically executed by selection changeschange
- specification of selection changes
-