|
static final String | DEFAULT_ASSET_ICON = "default_asset.png" |
|
static JMenu getAddMenu |
( |
ActionListener |
listener | ) |
|
|
inlinestatic |
static ActionListener getDefaultScreenMenuListener |
( |
final MatrixTreeNode |
node | ) |
|
|
inlinestatic |
Returns a default action listener to be used on screen menus. When a screen is pressed in the menu, The right main frame of the matrix system is targeted to display that screen.
- Parameters
-
node | the node to target in the matrix system |
- Returns
- the actionlistener to target matrix screens
Definition at line 137 of file MatrixMenus.java.
static ActionListener getMatrixTreeAddMenuListener |
( |
final MatrixTree |
tree | ) |
|
|
inlinestatic |
Returns an actionListener that will start cue mode in the specified tree when the add menu this action listener is coupled with is triggered.
- Parameters
-
tree | the to initiate add mode in |
- Returns
- the action listener
Definition at line 236 of file MatrixMenus.java.
static JPopupMenu getPopupAddMenu |
( |
ActionListener |
listener | ) |
|
|
inlinestatic |
Returns the popup add menu use to add assets to the matrix system. Use this method in favour of explicitly obtaining the popup menu by using addMenu.getPopupMenu()
as this method handles loading of images for the add menu.
- Parameters
-
listener | the action listener used to trigger events to |
- Returns
- the popup add menu
- See Also
- getAddMenu(ActionListener)
Definition at line 261 of file MatrixMenus.java.
static JPopupMenu getPopupScreenMenu |
( |
MatrixTreeNode |
node, |
|
|
ActionListener |
listener |
|
) |
| |
|
inlinestatic |
static JMenu getScreenMenu |
( |
MatrixTreeNode |
node, |
|
|
ActionListener |
listener |
|
) |
| |
|
inlinestatic |
static String getTypeCodeFromEvent |
( |
ActionEvent |
evt | ) |
|
|
inlinestatic |
Returns the type code from that was fired from the add menu for the specified Event evt.
- Returns
- the type code fired from the add menu
Definition at line 441 of file MatrixMenus.java.
Returns the use me menu for and adds an action listener to fire for specified node if the menu is selected.
- Parameters
-
node | the node to fire the event for if the menu is selected. |
- Returns
- the use me menu
Definition at line 199 of file MatrixMenus.java.
The documentation for this class was generated from the following file:
- /Users/webmaster/Desktop/squiz_matrix/core/lib/asset_map/java/src/net/squiz/matrix/ui/MatrixMenus.java