public interface ITreeTableHeaderMenuProvider
TreeTableHeader
. When using this provider instead of using
JComponent.setComponentPopupMenu(JPopupMenu)
the information that is
usually required by the popup menu gets already delivered to the provider.
This information contains the location of the mouse event that triggered the
popup and the column where the event occured.TreeTableHeader.setMenuProvider(ITreeTableHeaderMenuProvider)
Modifier and Type | Method and Description |
---|---|
JPopupMenu |
getPopupMenu(TreeTableHeader header,
MouseEvent e,
TreeTableColumn column)
Returns a popup menu for the given tree table header.
|
JPopupMenu getPopupMenu(TreeTableHeader header, MouseEvent e, TreeTableColumn column)
header
- the header for which to return a popup menue
- the mouse event that triggered the popup menucolumn
- the column where the event occuredTreeTableHeader.setMenuProvider(ITreeTableHeaderMenuProvider)
Copyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.