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 class
CustomTableActions.ScopeDelegate
-
Field Summary
Fields Modifier and Type Field Description protected Database
db
protected IrisWidgetSupport
irisWidgetSupport
-
Constructor Summary
Constructors Constructor Description CustomTableActions(Table table, Database db, IrisWidgetSupport irisWidgetSupport)
-
Method Summary
Modifier and Type Method Description protected CustomTableActions.ScopeDelegate
createScopeDelegate(Table selectionTable, Window parentFrame, GuiTable selectionGuiTable, IrisWidgetSupport irisWidgetSupport, String columnName)
protected CustomTableActions.ScopeDelegate
createScopeDelegate(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:PopupProvider
Get a list of menu items to add to the popup.- Specified by:
getMenuItems
in interfaceHeaderPopupProvider
- Specified by:
getMenuItems
in 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:HeaderPopupProvider
Get a list of menu items to add to the default right click menu.- Specified by:
getHeaderMenuItems
in 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)
-