Module org.autogui
Package org.autogui.swing.table
Interface ObjectTableColumn.PopupMenuBuilderSourceForHeader
- All Known Implementing Classes:
GuiSwingTableColumnBoolean.CheckBoxEditor,GuiSwingTableColumnNumber.ColumnNumberPane,GuiSwingTableColumnString.MultilineColumnTextPane,GuiSwingTableColumnString.MultilineColumnTextViewPane,ObjectTableColumnValue.ObjectTableCellEditor,ObjectTableColumnValue.ObjectTableCellRenderer
- Enclosing class:
ObjectTableColumn
public static interface ObjectTableColumn.PopupMenuBuilderSourceForHeader
a static menu-factory for the column header view;
as the default, the cell-renderer and the cell-editor that implements it is used
- Since:
- 1.8
-
Method Summary
Modifier and TypeMethodDescriptiongetHeaderMenuItems(JTable table) getHeaderMenuItemsUnwrap(JTable table, Object pane) recursively unwrap the pane as a wrapper and obtains items from the source
-
Method Details
-
getHeaderMenuItems
- Parameters:
table- the target table- Returns:
- menu-items for a column in the table
- Since:
- 1.8
-
getHeaderMenuItemsUnwrap
static List<PopupCategorized.CategorizedMenuItem> getHeaderMenuItemsUnwrap(JTable table, Object pane) recursively unwrap the pane as a wrapper and obtains items from the source- Parameters:
table- the table for header-menupane- the target paneObjectTableColumn.PopupMenuBuilderSourceForHeaderorGuiSwingViewWrapper.ValuePaneWrapper- Returns:
- the header-menu for the unwrapped target or empty
-