public interface DataPage
extends org.freehep.swing.popup.HasPopupItems
PanelManager for displaying as data pages.
This interface adds standard items to the popup menu. If that's all that's needed, no methods need to be implemented.
The menu can be further customized by implementing modifyPopup(...) method.
This is a kludgy workaround made necessary by limitations of freehep application framework.
| Modifier and Type | Interface and Description |
|---|---|
static class |
DataPage.Wrapper |
| Modifier and Type | Method and Description |
|---|---|
default JPopupMenu |
modifyPopup(JPopupMenu menu,
Component component,
Point point)
Override to add extra items to the popup menu.
|
default JPopupMenu |
modifyPopupMenu(JPopupMenu menu,
Component component,
Point point)
This method should not be overridden.
|
static JComponent |
wrap(JComponent page)
Wraps the provided component to make it implement
DataPage. |
default JPopupMenu modifyPopupMenu(JPopupMenu menu, Component component, Point point)
modifyPopupMenu in interface org.freehep.swing.popup.HasPopupItemsmenu - Menu to be modified.component - Component that emitted the mouse event.point - Point of the event,default JPopupMenu modifyPopup(JPopupMenu menu, Component component, Point point)
menu - Menu to be modified.component - Component that emitted the mouse event.point - Point of the event,static JComponent wrap(JComponent page)
DataPage.page - Component to wrap.Copyright © 2023 LSST. All rights reserved.