org.apache.pivot.wtk
Interface Menu.SectionListener

All Known Implementing Classes:
TerraMenuSkin
Enclosing class:
Menu

public static interface Menu.SectionListener

Section listener interface.


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 nameChanged(Menu.Section section, String previousName)
          Called when a section's name has changed.
 

Method Detail

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 -

nameChanged

void nameChanged(Menu.Section section,
                 String previousName)
Called when a section's name has changed.

Parameters:
section -
previousName -