$darkmode
DENOPTIM
|
A popup menu' that has a fixed size and can be scrolled to see menu items that do not fit into the fixed-size panel. More...
Public Member Functions | |
ScrollableJPupupMenu () | |
void | showMenu (Component invoker, int x, int y) |
Displays the menu with the components that have been added so far. More... | |
void | addCheckBox (JCheckBox item) |
Add a check box to the list of check boxes to display in the menu. More... | |
Protected Member Functions | |
List< JCheckBox > | getAllBChekBoxes () |
Returns the list of check boxes that is displayed in the menu. More... | |
Private Attributes | |
JPopupMenu | menu |
JPanel | menuPanel |
List< JCheckBox > | allBChekBoxes = new ArrayList<JCheckBox>() |
A popup menu' that has a fixed size and can be scrolled to see menu items that do not fit into the fixed-size panel.
Definition at line 24 of file ScrollableJPupupMenu.java.
denoptim.gui.ScrollableJPupupMenu.ScrollableJPupupMenu | ( | ) |
Definition at line 32 of file ScrollableJPupupMenu.java.
void denoptim.gui.ScrollableJPupupMenu.addCheckBox | ( | JCheckBox | item | ) |
Add a check box to the list of check boxes to display in the menu.
item |
Definition at line 80 of file ScrollableJPupupMenu.java.
References denoptim.gui.ScrollableJPupupMenu.allBChekBoxes.
Referenced by denoptim.gui.GUIInspectGARun.buildAndFillMonitorPlot().
|
protected |
Returns the list of check boxes that is displayed in the menu.
Definition at line 91 of file ScrollableJPupupMenu.java.
References denoptim.gui.ScrollableJPupupMenu.allBChekBoxes.
Referenced by denoptim.gui.GUIInspectGARun.initialize().
void denoptim.gui.ScrollableJPupupMenu.showMenu | ( | Component | invoker, |
int | x, | ||
int | y | ||
) |
Displays the menu with the components that have been added so far.
invoker | |
x | |
y |
Definition at line 43 of file ScrollableJPupupMenu.java.
References denoptim.gui.ScrollableJPupupMenu.allBChekBoxes, denoptim.gui.ScrollableJPupupMenu.menu, and denoptim.gui.ScrollableJPupupMenu.menuPanel.
Referenced by denoptim.gui.GUIInspectGARun.initialize().
|
private |
Definition at line 28 of file ScrollableJPupupMenu.java.
Referenced by denoptim.gui.ScrollableJPupupMenu.addCheckBox(), denoptim.gui.ScrollableJPupupMenu.getAllBChekBoxes(), and denoptim.gui.ScrollableJPupupMenu.showMenu().
|
private |
Definition at line 26 of file ScrollableJPupupMenu.java.
Referenced by denoptim.gui.ScrollableJPupupMenu.showMenu().
|
private |
Definition at line 27 of file ScrollableJPupupMenu.java.
Referenced by denoptim.gui.ScrollableJPupupMenu.showMenu().