Squiz Matrix
4.12.2
|
Public Member Functions | |
MenuHandler () | |
void | mouseClicked (MouseEvent evt) |
Protected Member Functions | |
JPopupMenu | getMenuForVoidSpace () |
TreePath[] | getSelectionPathsForLocation (int x, int y) |
JPopupMenu | getMenuForSingleSelection () |
JPopupMenu | getMenuForMultipleSelection () |
JMenuItem[] | getAncillaryMenuItems () |
Class that handles the menus through right clicking. If there is a multiple selection and a right click occurs, a separate method is invokes to show a menu to the context of the selection nodes. If a multiple selection is inplace, and a single node outside the selection is selected, the multiple section is lost in place for the node right clicked on.
Definition at line 1464 of file MatrixTree.java.
|
inline |
|
inlineprotected |
Returns the ancillery items that will be displayed below the main menu items separated by JMenu.Separator
Definition at line 1658 of file MatrixTree.java.
|
inlineprotected |
Returns the popup menu for a multiple selection.
Definition at line 1617 of file MatrixTree.java.
|
inlineprotected |
Returns a popup menu for a single selection
Definition at line 1561 of file MatrixTree.java.
|
inlineprotected |
Returns a popup menu when the mouse is clicked in void space outside any tree components
Definition at line 1513 of file MatrixTree.java.
|
inlineprotected |
Returns the selection path for a click that occured at the specifed x and y co-ordinate
x | the x co-ordinate of the click |
y | the y co-ordinate of the click |
Definition at line 1524 of file MatrixTree.java.
|
inline |
Event listener method that is called when the mouse is clicked
evt | the MouseEvent |
Definition at line 1480 of file MatrixTree.java.