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


Method Summary
 JMenuItem add(JMenuItem item)
           
 void addSeparator()
           
 void insertAfterId(Component component, String id)
           
 void insertBeforeId(JComponent component, String id)
           
 void remove(JMenuItem item)
           
 void removeAll()
           
 void removeAllBetween(String startId, String endId)
           
 

Method Detail

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.