org.browsecode.helpers.menus
Interface HasMenus.ActiveListener

All Known Implementing Classes:
MenuBarHelper
Enclosing interface:
HasMenus

public static interface HasMenus.ActiveListener


Field Summary
static int ACTIVE
           
static int INACTIVE
           
static int INVISIBLE
           
 
Method Summary
 void activeChanged(HasMenus hasMenus, int isNowActive)
          Call this whenever the HasMenus becomes active or inactive.
 

Field Detail

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
Method Detail

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 event
isNowActive - whether or not the HasMenus is currently active