|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MenuPieceListener
This listener is added to a MenuPiece
and gets informed when the content of the
piece changes.
Method Summary | |
---|---|
void |
insert(MenuPiece piece,
int index,
java.awt.Component... items)
Called if some items have been added to piece . |
void |
remove(MenuPiece piece,
int index,
int length)
Called if some items have been removed from piece |
Method Detail |
---|
void insert(MenuPiece piece, int index, java.awt.Component... items)
piece
.
piece
- a MenuPiece
whose content changedindex
- the index of the item, measured relatively to all items of owner
items
- the new itemsvoid remove(MenuPiece piece, int index, int length)
piece
piece
- the MenuPiece
whose content changedindex
- the index of the item, measured relatively to all items of owner
length
- the number of items to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |