Package org.apache.pivot.wtk
Interface Menu.ItemListener
-
- All Known Implementing Classes:
Menu.ItemListener.Listeners
,MenuItemSkin
,TerraMenuItemSkin
- Enclosing class:
- Menu
public static interface Menu.ItemListener
Item listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Menu.ItemListener.Listeners
Item listeners.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
activeChanged(Menu.Item item)
Called when an item's active state has changed.void
menuChanged(Menu.Item item, Menu previousMenu)
Called when an item's menu has changed.
-
-
-
Method Detail
-
menuChanged
void menuChanged(Menu.Item item, Menu previousMenu)
Called when an item's menu has changed.- Parameters:
item
- The item that has been moved.previousMenu
- The menu where the item used to live.
-
activeChanged
void activeChanged(Menu.Item item)
Called when an item's active state has changed.- Parameters:
item
- The item that is changing.
-
-