pivot.wtk
Interface MenuListener

All Known Implementing Classes:
TerraMenuSkin

public interface MenuListener

Menu listener interface.

Author:
gbrown

Method Summary
 void itemInserted(Menu.Section section, int index)
          Called when a menu item has been inserted.
 void itemsRemoved(Menu.Section section, int index, Sequence<Menu.Item> removed)
          Called when menu items have been removed.
 void sectionInserted(Menu menu, int index)
          Called when a menu section has been inserted.
 void sectionsRemoved(Menu menu, int index, Sequence<Menu.Section> removed)
          Called when menu sections have been removed.
 

Method Detail

sectionInserted

void sectionInserted(Menu menu,
                     int index)
Called when a menu section has been inserted.

Parameters:
menu -
index -

sectionsRemoved

void sectionsRemoved(Menu menu,
                     int index,
                     Sequence<Menu.Section> removed)
Called when menu sections have been removed.

Parameters:
menu -
index -
removed -

itemInserted

void itemInserted(Menu.Section section,
                  int index)
Called when a menu item has been inserted.

Parameters:
section -
index -

itemsRemoved

void itemsRemoved(Menu.Section section,
                  int index,
                  Sequence<Menu.Item> removed)
Called when menu items have been removed.

Parameters:
section -
index -
removed -