public QuickMenuItem getQuickMenuItemByAction ( String action ) { List < QuickMenuItem > itemList = getQuickMenuItemList ( ) ; for ( QuickMenuItem item : itemList ) { if ( item . getActionName ( ) . equals ( action ) ) { return item ; } } return null ; }
and unique within a single menu given either shortcutletter or pos