Interface PopupProvider

All Known Subinterfaces:
HeaderPopupProvider
All Known Implementing Classes:
ColumnPreviewPopupProvider, ConfigHeaderPopupProvider, ConfigPopupProvider, CopyHeadersPopupProvider, CustomTableActions, FilterLinkPopupProvider, FormatHeaderPopupProvider, HideItemsPopupProvider, MultilineValuePopupProvider, OneClickListPopupProvider, PlottingHeaderPopupProvider, RollupHeaderPopupProvider

public interface PopupProvider
An object that provides menu items for a right clicked table.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static PopupProvider NULL  
  • Method Summary

    Modifier and Type Method Description
    List<? extends JComponent> getMenuItems​(GuiTable table, int column)
    Get a list of menu items to add to the popup.
  • Field Details

  • Method Details

    • getMenuItems

      List<? extends JComponent> getMenuItems​(GuiTable table, int column)
      Get a list of menu items to add to the popup.
      Parameters:
      table - The table that was clicked
      column - The column index in Model space
      Returns:
      A list of menu items to add to the popup menu.
      ImplNote:
      When invoked by IrisTable, the column parameter will already be in model space. Implementers should not request the value from the GUI with table.getValueAt(), but instead get the value from the model using table.getModel().getOriginalTable().getValueAt()