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