Module org.autogui
Package org.autogui.swing.table
Class ToStringCopyCell.TableMenuCompositeSharedToStringPaste
java.lang.Object
org.autogui.swing.table.ToStringCopyCell.TableMenuCompositeSharedToStringPaste
- All Implemented Interfaces:
ObjectTableColumn.TableMenuCompositeShared
- Enclosing class:
ToStringCopyCell
public static class ToStringCopyCell.TableMenuCompositeSharedToStringPaste
extends Object
implements ObjectTableColumn.TableMenuCompositeShared
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
TableMenuCompositeSharedToStringPaste
public TableMenuCompositeSharedToStringPaste()
-
-
Method Details
-
composite
public List<PopupCategorized.CategorizedMenuItem> composite(JTable table, List<ObjectTableColumn.TableMenuComposite> columns, boolean row) Description copied from interface:ObjectTableColumn.TableMenuCompositeShared
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.- Specified by:
composite
in interfaceObjectTableColumn.TableMenuCompositeShared
- 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
-