T - todo documentpublic abstract class StringMenuSelectableOwner<T> extends StringMenuOwner<T> implements MenuSelectableOwner<T>
STRING_COMPARE_POLICY_PROP_NAME| Constructor and Description |
|---|
StringMenuSelectableOwner(Wrap<?> menuOwner) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getState(LookupCriteria<T>... criteria)
Returns the current selection state of the menu item conforming to the
criteria.
|
boolean |
getState(String... texts)
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.
|
void |
push(boolean desiredSelectionState,
String... texts)
Ensures state of a menu item conforming to the criteria.
|
push, push, select, selectcreateCriteria, createCriteriaList, getPolicy, setPolicyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmenugetTypepublic StringMenuSelectableOwner(Wrap<?> menuOwner)
public void push(boolean desiredSelectionState,
String... texts)
desiredSelectionState - The desired selection state of the leaf menu
item.texts - used one for one level. In case of a menu bar, for example,
first string is to be used to find a top level menu, second to find a
menu underneath, etc.public void 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.public boolean getState(String... texts)
texts - 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.public 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 © 2018. All rights reserved.