org.rapla.gui.toolkit
Interface MenuInterface
- All Known Implementing Classes:
- RaplaMenu, RaplaPopupMenu
public interface MenuInterface
JPopupMenu and JMenu don't have a common interface, so this is a common interface
for RaplaMenu and RaplaPopupMenu
add
JMenuItem add(JMenuItem item)
remove
void remove(JMenuItem item)
addSeparator
void addSeparator()
removeAll
void removeAll()
removeAllBetween
void removeAllBetween(String startId,
String endId)
insertAfterId
void insertAfterId(Component component,
String id)
insertBeforeId
void insertBeforeId(JComponent component,
String id)
Copyright © 2000-2006 Rapla Team. All Rights Reseserved.