Module org.autogui
Package org.autogui.swing
Class GuiSwingJsonTransfer.TableMenuCompositeSharedJsonPaste
java.lang.Object
org.autogui.swing.GuiSwingJsonTransfer.TableMenuCompositeSharedJsonPaste
- All Implemented Interfaces:
ObjectTableColumn.TableMenuCompositeShared
- Enclosing class:
GuiSwingJsonTransfer
public static class GuiSwingJsonTransfer.TableMenuCompositeSharedJsonPaste
extends Object
implements ObjectTableColumn.TableMenuCompositeShared
a shared key of table menu composite for pasting JSON values of target table-cells
-
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
-
TableMenuCompositeSharedJsonPaste
public TableMenuCompositeSharedJsonPaste()
-
-
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
-