com.jidesoft.docking
Interface PopupMenuCustomizer
public interface PopupMenuCustomizer
Interface to customer a popup menu for dockable frame.
customizePopupMenu
void customizePopupMenu(JPopupMenu menu,
DockingManager dockingManager,
DockableFrame dockableFrame,
boolean onTab)
- Allow user to customize the popup menu. Popup menu will be shown when user
right click on the tab of TdiPane or user drag a tab and drop in the middle
of a tab group. In the first case,
onTab
is true. In the second case,
onTab
is false.
- Parameters:
menu
- Popup menu to be customizeddockingManager
- the DockingManagerdockableFrame
- the DockableFrame for the popup menuonTab
- true if the popup menu is trigger by right click on tab, false if on the title bar