public class ContextMenuUtils
extends java.lang.Object
Constructor and Description |
---|
ContextMenuUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
setDefaultContextMenu(javax.swing.JComponent component) |
static void |
setDefaultContextMenu(javax.swing.JComponent component,
boolean addEditorDialog) |
static void |
setDefaultContextMenu(javax.swing.JComponent component,
boolean addTextEditor,
java.lang.String title) |
static void |
setDefaultContextMenu(javax.swing.JComponent component,
boolean addTextEditor,
java.lang.String title,
java.util.List<javax.swing.Action> customActions) |
static void |
setDefaultContextMenu(javax.swing.JComponent component,
java.lang.String title) |
public static void setDefaultContextMenu(javax.swing.JComponent component)
public static void setDefaultContextMenu(javax.swing.JComponent component, boolean addEditorDialog)
public static void setDefaultContextMenu(javax.swing.JComponent component, java.lang.String title)
public static void setDefaultContextMenu(javax.swing.JComponent component, boolean addTextEditor, java.lang.String title)
public static void setDefaultContextMenu(javax.swing.JComponent component, boolean addTextEditor, java.lang.String title, java.util.List<javax.swing.Action> customActions)