org.apache.pivot.wtk
Class MenuListener.Adapter
java.lang.Object
org.apache.pivot.wtk.MenuListener.Adapter
- All Implemented Interfaces:
- MenuListener
- Enclosing interface:
- MenuListener
public static class MenuListener.Adapter
- extends Object
- implements MenuListener
Menu listener adapter.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MenuListener.Adapter
public MenuListener.Adapter()
sectionInserted
public void sectionInserted(Menu menu,
int index)
- Description copied from interface:
MenuListener
- Called when a menu section has been inserted.
- Specified by:
sectionInserted
in interface MenuListener
sectionsRemoved
public void sectionsRemoved(Menu menu,
int index,
Sequence<Menu.Section> removed)
- Description copied from interface:
MenuListener
- Called when menu sections have been removed.
- Specified by:
sectionsRemoved
in interface MenuListener
activeItemChanged
public void activeItemChanged(Menu menu,
Menu.Item previousActiveItem)
- Description copied from interface:
MenuListener
- Called when a menu's active item has changed.
- Specified by:
activeItemChanged
in interface MenuListener