Package com.illumon.iris.controller
Interface HeaderPopupProvider
- All Superinterfaces:
PopupProvider
- All Known Implementing Classes:
ConfigHeaderPopupProvider
,CustomTableActions
,FormatHeaderPopupProvider
,PlottingHeaderPopupProvider
,RollupHeaderPopupProvider
public interface HeaderPopupProvider extends PopupProvider
An extension of PopupProvider
that provides menu items when a table header is right clicked.
This interface provides a default implementation of PopupProvider.getMenuItems(GuiTable, int)
which returns
an empty list of items.
-
Field Summary
-
Method Summary
Modifier and Type Method Description List<? extends JComponent>
getHeaderMenuItems(GuiTable table, int column)
Get a list of menu items to add to the default right click menu.default List<? extends JComponent>
getMenuItems(GuiTable table, int column)
Get a list of menu items to add to the popup.
-
Method Details
-
getHeaderMenuItems
Get a list of menu items to add to the default right click menu.- Parameters:
table
- The table that was right clicked.column
- The column that was right clicked.
-
getMenuItems
Description copied from interface:PopupProvider
Get a list of menu items to add to the popup.- Specified by:
getMenuItems
in interfacePopupProvider
- Parameters:
table
- The table that was clickedcolumn
- The column index in Model space- Returns:
- A list of menu items to add to the popup menu.
-