Package dk.vajhoej.model.graphic.adv
Class GUISupport
- java.lang.Object
-
- dk.vajhoej.model.graphic.adv.GUISupport
-
public class GUISupport extends java.lang.Object
Class GUISupport contains static utility methods to setup context menus plus drop and drag.
-
-
Constructor Summary
Constructors Constructor Description GUISupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
setupContextMenus(javax.swing.JComponent gui, CommonGraphicWrapper supp, AllGraphicConfig cfg)
Setup component with context menus.static void
setupDropAndDrag(javax.swing.JComponent gui, CommonGraphicWrapper supp, AllGraphicConfig cfg)
Setup component for drag and drop.
-
-
-
Method Detail
-
setupDropAndDrag
public static void setupDropAndDrag(javax.swing.JComponent gui, CommonGraphicWrapper supp, AllGraphicConfig cfg)
Setup component for drag and drop.- Parameters:
gui
- component as Swing componentsupp
- component as VSMA componentcfg
- all graphic configurations
-
setupContextMenus
public static void setupContextMenus(javax.swing.JComponent gui, CommonGraphicWrapper supp, AllGraphicConfig cfg)
Setup component with context menus.- Parameters:
gui
- component as Swing componentsupp
- component as VSMA componentcfg
- all graphic configurations
-
-