org.browsecode.helpers.menus
Interface HasMenus.ActiveListener
- All Known Implementing Classes:
- MenuBarHelper
- Enclosing interface:
- HasMenus
public static interface HasMenus.ActiveListener
Method Summary |
void |
activeChanged(HasMenus hasMenus,
int isNowActive)
Call this whenever the HasMenus becomes active or inactive. |
INVISIBLE
static final int INVISIBLE
- See Also:
- Constant Field Values
INACTIVE
static final int INACTIVE
- See Also:
- Constant Field Values
ACTIVE
static final int ACTIVE
- See Also:
- Constant Field Values
activeChanged
void activeChanged(HasMenus hasMenus,
int isNowActive)
- Call this whenever the HasMenus becomes active or inactive.
i.e. if you have tabs, and the tabs ever are hidden (and the menus specific to that disappear), then call this.
The default is assumed to be active.
- Parameters:
hasMenus
- the HasMenus that fired this eventisNowActive
- whether or not the HasMenus is currently active