Package com.illumon.iris.gui.table
Interface HeaderPopupProvider
- All Superinterfaces:
PopupProvider
- All Known Implementing Classes:
ConfigHeaderPopupProvider,CustomTableActions,FormatHeaderPopupProvider,PlottingHeaderPopupProvider,RollupHeaderPopupProvider
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
Fields inherited from interface com.illumon.iris.gui.widget.PopupProvider
NULL -
Method Summary
Modifier and TypeMethodDescriptionList<? 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:PopupProviderGet a list of menu items to add to the popup.- Specified by:
getMenuItemsin 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.
-