Package com.illumon.iris.console.events
Class CustomTableActions
java.lang.Object
com.illumon.iris.console.events.CustomTableActions
- All Implemented Interfaces:
HeaderPopupProvider,PopupProvider
public class CustomTableActions extends Object implements PopupProvider, HeaderPopupProvider
A collection of CustomActions acquired from the provided table and presented as a set
of Menu items.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomTableActions.ScopeDelegate -
Field Summary
Fields Modifier and Type Field Description protected Databasedbprotected IrisWidgetSupportirisWidgetSupport -
Constructor Summary
Constructors Constructor Description CustomTableActions(Table table, Database db, IrisWidgetSupport irisWidgetSupport) -
Method Summary
Modifier and Type Method Description protected CustomTableActions.ScopeDelegatecreateScopeDelegate(Table selectionTable, Window parentFrame, GuiTable selectionGuiTable, IrisWidgetSupport irisWidgetSupport, String columnName)protected CustomTableActions.ScopeDelegatecreateScopeDelegate(Window parentFrame, GuiTable selectionGuiTable, IrisWidgetSupport irisWidgetSupport, String columnName)List<JComponent>getHeaderMenuItems(GuiTable table, int columnIndex)Get a list of menu items to add to the default right click menu.List<JComponent>getMenuItems(GuiTable table, int columnIndex)Get a list of menu items to add to the popup.
-
Field Details
-
Constructor Details
-
Method Details
-
getMenuItems
Description copied from interface:PopupProviderGet a list of menu items to add to the popup.- Specified by:
getMenuItemsin interfaceHeaderPopupProvider- Specified by:
getMenuItemsin interfacePopupProvider- Parameters:
table- The table that was clickedcolumnIndex- The column index in Model space- Returns:
- A list of menu items to add to the popup menu.
-
getHeaderMenuItems
Description copied from interface:HeaderPopupProviderGet a list of menu items to add to the default right click menu.- Specified by:
getHeaderMenuItemsin interfaceHeaderPopupProvider- Parameters:
table- The table that was right clicked.columnIndex- The column that was right clicked.
-
createScopeDelegate
protected CustomTableActions.ScopeDelegate createScopeDelegate(Window parentFrame, GuiTable selectionGuiTable, IrisWidgetSupport irisWidgetSupport, String columnName) -
createScopeDelegate
protected CustomTableActions.ScopeDelegate createScopeDelegate(Table selectionTable, Window parentFrame, GuiTable selectionGuiTable, IrisWidgetSupport irisWidgetSupport, String columnName)
-