bibliothek.gui.dock.support.menu
Interface MenuPieceListener
public interface MenuPieceListener
insert
void insert(MenuPiece child,
int index,
Component... items)
- Adds an item to the menu.
- Parameters:
child
- a MenuPiece
whose parent is this
and which
want's to add the itemindex
- the index of the item, measured relatively to all items of owner
items
- the new items
remove
void remove(MenuPiece child,
int index,
int length)
- Removes an item from the menu.
- Parameters:
child
- a MenuPiece
whose parent is this
and which
want's to remove the itemindex
- the index of the item, measured relatively to all items of owner
length
- the number of items to remove