T - todo documentpublic abstract class StringPopupSelectableOwner<T> extends StringPopupOwner<T> implements PopupSelectableOwner<T>
STRING_COMPARE_POLICY_PROP_NAMECENTER| Constructor and Description |
|---|
StringPopupSelectableOwner(Wrap<?> menuOwner) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getState(Point p,
LookupCriteria<T>... criteria)
Returns the current selection state of the menu item conforming to the
criteria.
|
boolean |
getState(Point p,
String... texts)
Returns the current selection state of the menu item conforming to the
criteria.
|
void |
push(boolean desiredSelectionState,
Point p,
LookupCriteria<T>... criteria)
Ensures state of a menu item conforming to the criteria.
|
void |
push(boolean desiredSelectionState,
Point p,
String... texts)
Ensures state of a menu item conforming to the criteria.
|
push, selectcreateCriteria, createCriteriaList, getPolicy, setPolicyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmenugetTypepublic StringPopupSelectableOwner(Wrap<?> menuOwner)
public void push(boolean desiredSelectionState,
Point p,
LookupCriteria<T>... criteria)
desiredSelectionState - The desired selection state of the leaf menu
item.p - The point where the popup menu is to be openedcriteria - 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 void push(boolean desiredSelectionState,
Point p,
String... texts)
desiredSelectionState - The desired selection state of the leaf menu
item.p - The point where the popup menu is to be openedtexts - 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 boolean getState(Point p, LookupCriteria<T>... criteria)
p - The point where the popup menu is to be openedcriteria - 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(Point p, String... texts)
p - The point where the popup menu is to be openedtexts - 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.Copyright © 2019. All rights reserved.