protected class PerspectiveChooserWidgetController.ChooserContext extends Object implements NavigationContext
| Modifier | Constructor and Description |
|---|---|
protected |
ChooserContext() |
| Modifier and Type | Method and Description |
|---|---|
ActionbarListener |
getActionListener() |
NavigationTree |
getActionTree() |
WidgetInstanceManager |
getWidgetInstanceManager() |
boolean |
isSelected(NavigationNode node)
Checks whether provided node is selected
|
boolean |
isSelectionParent(NavigationNode node)
Checks whether provided node is a parent of selected one
|
public ActionbarListener getActionListener()
getActionListener in interface ActionbarContextpublic WidgetInstanceManager getWidgetInstanceManager()
getWidgetInstanceManager in interface ActionbarContextWidgetInstanceManager for widget that defines action barpublic NavigationTree getActionTree()
getActionTree in interface ActionbarContextgetActionTree in interface NavigationContextpublic boolean isSelected(NavigationNode node)
NavigationContextisSelected in interface NavigationContextnode - node to be checkedtrue if node is currently selectedNavigationContext.isSelectionParent(NavigationNode)public boolean isSelectionParent(NavigationNode node)
NavigationContextisSelectionParent in interface NavigationContextnode - node to be checkedtrue if provided node is a parent of selected oneCopyright © 2018. All rights reserved.