public interface MenuSelectable<T> extends Menu<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
getState(LookupCriteria<T>... criteria)
Returns the current selection state of the menu item conforming to the
criteria.
|
void |
push(boolean desiredSelectionState,
LookupCriteria<T>... criteria)
Ensures state of a menu item conforming to the criteria.
|
selectvoid push(boolean desiredSelectionState,
LookupCriteria<T>... criteria)
desiredSelectionState - The desired selection state of the leaf menu
item.criteria - used one for one level. In case of a menu bar, for
example, first criteria is to be used to find a top level menu, second to
- find a menu underneath, etc.boolean getState(LookupCriteria<T>... criteria)
criteria - used one for one level. In case of a menu bar, for
example, first criteria is to be used to find a top level menu, second to
- find a menu underneath, etc.Copyright © 2019. All rights reserved.