|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.visualtopo.guiComponents.PopupMenuFactory
public class PopupMenuFactory
Factory to handle creation of popup menus. Popup menus can bve created for node, link, single lsp, multiple lsps or default.
Creation date: 15/01/2008
Constructor Summary | |
---|---|
PopupMenuFactory()
|
Method Summary | |
---|---|
static javax.swing.JPopupMenu |
createDefaultPopupMenu()
This method create a default popupmenu |
static javax.swing.JPopupMenu |
createLinkPopupMenu(Link link)
Creates a popupmenu for the case the mouse was clicked on a Link. |
static javax.swing.JPopupMenu |
createLspPopupMenu(Lsp lsp)
Creates a popup menu for a single lsp |
static javax.swing.JPopupMenu |
createLspPopupMenu(Lsp[] lsps)
Creates a popup menu for multiple lsps |
static javax.swing.JPopupMenu |
createNodePopupMenu(Node node)
Creates a popupmenu for the case the mouse was clicked on a link. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PopupMenuFactory()
Method Detail |
---|
public static javax.swing.JPopupMenu createLinkPopupMenu(Link link)
link
- the link on which the mouse was clickedpublic static javax.swing.JPopupMenu createNodePopupMenu(Node node)
node
- the node on which the mouse was clickedpublic static javax.swing.JPopupMenu createLspPopupMenu(Lsp lsp)
lsp
-
public static javax.swing.JPopupMenu createLspPopupMenu(Lsp[] lsps)
lsps
-
public static javax.swing.JPopupMenu createDefaultPopupMenu()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |