public class ContentEditContextMenu extends Object
| Constructor and Description |
|---|
ContentEditContextMenu() |
| Modifier and Type | Method and Description |
|---|---|
JMenuItem |
getJmiCopy()
Returns the "Copy" menu item.
|
JMenuItem |
getJmiCut()
Returns the "Cut" menu item.
|
JMenuItem |
getJmiDelete()
Returns the Delete menu item.
|
JMenuItem |
getJmiPaste()
Returns the "Paste" menu item.
|
JMenuItem |
getJmiProperties()
Return the Properties menu item.
|
JMenuItem |
getJmiRedact()
Returns the Redact menu item.
|
JMenuItem |
getJmiSaveImageAs()
Returns the "Save Image As..." menu item.
|
JSeparator |
getJSep1()
Returns the first JSeparator in the menu.
|
JSeparator |
getJSep2()
Returns the second JSeparator in the menu.
|
JPopupMenu |
getPopupMenu()
Retrieves the actual JPopupMenu that will be shown when a user right-clicks.
|
boolean |
isActive()
Returns whether or not the
JPopupMenu for the context menu in
getPopupMenu() is active. |
void |
setActive(boolean active)
Sets whether or not the
JPopupMenu for the context menu in
getPopupMenu() is active. |
public JPopupMenu getPopupMenu()
public JMenuItem getJmiDelete()
public JMenuItem getJmiProperties()
public JMenuItem getJmiRedact()
public JMenuItem getJmiSaveImageAs()
public void setActive(boolean active)
JPopupMenu for the context menu in
getPopupMenu() is active. A JPopupMenu that is not
active will not be shown when the JPopupMenu is triggered.active - true to set the JPopupMenu active,
false otherwisepublic boolean isActive()
JPopupMenu for the context menu in
getPopupMenu() is active. A JPopupMenu that is not
active will not be shown when the JPopupMenu is triggered.true if the JPopupMenu is active,
false otherwisepublic JMenuItem getJmiCut()
public JMenuItem getJmiCopy()
public JMenuItem getJmiPaste()
public JSeparator getJSep1()
public JSeparator getJSep2()