Module org.autogui
Package org.autogui.swing.table
Interface ObjectTableColumn.TableMenuCompositeShared
- All Known Implementing Classes:
GuiSwingJsonTransfer.TableMenuCompositeSharedJsonCopy
,GuiSwingJsonTransfer.TableMenuCompositeSharedJsonPaste
,ToStringCopyCell.TableMenuCompositeSharedToStringCopy
,ToStringCopyCell.TableMenuCompositeSharedToStringPaste
- Enclosing class:
ObjectTableColumn
public static interface ObjectTableColumn.TableMenuCompositeShared
a shared key for a menu composite
-
Method Summary
Modifier and TypeMethodDescriptioncomposite
(JTable table, List<ObjectTableColumn.TableMenuComposite> columns, boolean row) actually composite the selected columns if row is false, or all columns if row is true.
-
Method Details
-
composite
List<PopupCategorized.CategorizedMenuItem> composite(JTable table, List<ObjectTableColumn.TableMenuComposite> columns, boolean row) actually composite the selected columns if row is false, or all columns if row is true. The built actions includeTableTargetCellAction
s, and their actionPerformed(ActionEvent) will never be called. So you can just throw an exception in the method.- Parameters:
table
- the target tablecolumns
- the selected target columns: also if row is true, row-fixed composites are included. For setting up key-bindings, a table calls the methods with empty columns.row
- true if the target are all columns of a row, or false if the target are only selected columns- Returns:
- menu items for composite items
-