public class MenuStates extends Object
Constructor and Description |
---|
MenuStates(CommonPaths commonPaths) |
Modifier and Type | Method and Description |
---|---|
boolean |
getMenuState(String key)
Retrieve the enabled/disabled state of the specified menu item.
|
void |
setMenuStates(Map<String,Boolean> states)
Set the enabled/disabled state of each toggleable menu item.
|
public MenuStates(CommonPaths commonPaths)
public void setMenuStates(Map<String,Boolean> states)
getMenuState(String)
.public boolean getMenuState(String key)
Copyright © 2017. All rights reserved.