public class JSVPanelPopupMenu extends JPopupMenu
JSVPanel
,
Serialized FormJPopupMenu.AccessibleJPopupMenu, JPopupMenu.Separator
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
JMenuItem |
clearMenuItem
Allows for all view to be cleared
|
JCheckBoxMenuItem |
coordsCheckBoxMenuItem
Allows the coordinates to be toggled on or off
|
JCheckBoxMenuItem |
gridCheckBoxMenuItem
Allows the grid to be toogled
|
JCheckBoxMenuItem |
integrateCheckBoxMenuItem |
protected boolean |
isApplet |
JMenuItem |
nextMenuItem
Menu Item that allows user to navigate to the next view of a JSVPanel
that has been zoomed
|
JMenuItem |
overlayMenuItem |
JMenuItem |
previousMenuItem
Menu Item for navigating to previous view
|
JMenuItem |
properties
Allows for the viewing of the properties of the Spectrum that is
displayed on the
JSVPanel |
protected String |
recentOverlay |
JMenuItem |
resetMenuItem
Allows for the JSVPanel to be reset to it's original display
|
JCheckBoxMenuItem |
reversePlotCheckBoxMenuItem
Allows the plot to be reversed
|
protected JMenuItem |
scriptMenuItem |
protected JSVPanel |
selectedJSVPanel |
JMenuItem |
solColMenuItem |
protected jspecview.source.JDXSource |
source |
JCheckBoxMenuItem |
transAbsMenuItem |
protected JMenuItem |
userZoomMenuItem |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
JSVPanelPopupMenu(ScriptInterface scripter) |
Modifier and Type | Method and Description |
---|---|
protected void |
jbInit()
Initialises GUI components
|
void |
overlay() |
protected void |
overlayMenuItem_actionPerformed(ActionEvent e) |
void |
properties_actionPerformed(ActionEvent e)
Shows the properties of the Spectrum displayed on the JSVPanel
|
void |
script() |
protected void |
scriptMenuItem_actionPerformed(ActionEvent e) |
protected void |
setMenu() |
static void |
setMenuItem(JMenuItem item,
char c,
String text,
int accel,
int mask,
EventListener el) |
void |
setProcessingMenu(JMenu processingMenu) |
void |
setSelectedJSVPanel(JSVPanel jsvp)
Sets the parent
JSVPanel of the popupmenu |
void |
setSource(jspecview.source.JDXSource source)
Sets the source of the Spectrum of the JSVPanel
|
protected void |
userMenuItem_actionPerformed(ActionEvent e) |
void |
userZoom() |
add, add, add, addMenuKeyListener, addPopupMenuListener, addSeparator, createActionChangeListener, createActionComponent, firePopupMenuCanceled, firePopupMenuWillBecomeInvisible, firePopupMenuWillBecomeVisible, getAccessibleContext, getComponent, getComponentAtIndex, getComponentIndex, getDefaultLightWeightPopupEnabled, getInvoker, getLabel, getMargin, getMenuKeyListeners, getPopupMenuListeners, getSelectionModel, getSubElements, getUI, getUIClassID, insert, insert, isBorderPainted, isLightWeightPopupEnabled, isPopupTrigger, isVisible, menuSelectionChanged, pack, paintBorder, paramString, processFocusEvent, processKeyEvent, processKeyEvent, processMouseEvent, remove, removeMenuKeyListener, removePopupMenuListener, setBorderPainted, setDefaultLightWeightPopupEnabled, setInvoker, setLabel, setLightWeightPopupEnabled, setLocation, setPopupSize, setPopupSize, setSelected, setSelectionModel, setUI, setVisible, show, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
protected boolean isApplet
public JMenuItem nextMenuItem
JSVPanel.nextView()
public JMenuItem previousMenuItem
JSVPanel.previousView()
public JMenuItem clearMenuItem
JSVPanel.clearViews()
public JMenuItem resetMenuItem
JSVPanel.reset()
public JMenuItem properties
JSVPanel
protected JMenuItem userZoomMenuItem
protected JMenuItem scriptMenuItem
public JMenuItem overlayMenuItem
public JCheckBoxMenuItem integrateCheckBoxMenuItem
public JCheckBoxMenuItem transAbsMenuItem
public JMenuItem solColMenuItem
protected JSVPanel selectedJSVPanel
protected jspecview.source.JDXSource source
public JCheckBoxMenuItem gridCheckBoxMenuItem
public JCheckBoxMenuItem coordsCheckBoxMenuItem
public JCheckBoxMenuItem reversePlotCheckBoxMenuItem
protected String recentOverlay
public JSVPanelPopupMenu(ScriptInterface scripter)
protected void jbInit()
Exception
protected void scriptMenuItem_actionPerformed(ActionEvent e)
protected void overlayMenuItem_actionPerformed(ActionEvent e)
protected void userMenuItem_actionPerformed(ActionEvent e)
protected void setMenu()
public void properties_actionPerformed(ActionEvent e)
e
- the ActionEvent
public void setSelectedJSVPanel(JSVPanel jsvp)
JSVPanel
of the popupmenujsvp
- the JSVPanel
public void setSource(jspecview.source.JDXSource source)
source
- the JDXSourcepublic void userZoom()
public void script()
public static void setMenuItem(JMenuItem item, char c, String text, int accel, int mask, EventListener el)
public void setProcessingMenu(JMenu processingMenu)
public void overlay()