jnyqide
Class MainFrame

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by jnyqide.MainFrame
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class MainFrame
extends javax.swing.JFrame

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.BaselineResizeBehavior
 
Field Summary
 java.lang.String findPattern
           
 boolean hasRightMouseButton
           
 javax.swing.JTextArea jOutputArea
           
 CodePane jScrollPane
           
static java.lang.String onlineManualURL
           
static java.lang.String prefAudioRate
           
static java.lang.String prefAudioRateDefault
           
static boolean prefAutoNorm
           
static boolean prefAutoNormDefault
           
static double prefCompletionListPercent
           
static double prefCompletionListPercentDefault
           
static java.lang.String prefControlRate
           
static java.lang.String prefControlRateDefault
           
static java.lang.String prefDirectory
           
static boolean prefEnableSound
           
static boolean prefEnableSoundDefault
           
static boolean prefFullSearch
           
static boolean prefFullSearchDefault
           
static boolean prefInternalBrowser
           
static boolean prefInternalBrowserDefault
           
static boolean prefOnlineManual
           
static boolean prefOnlineManualDefault
           
static boolean prefParenAutoInsert
           
static boolean prefParenAutoInsertDefault
           
static boolean prefPrintGC
           
static boolean prefPrintGCDefault
           
 java.util.prefs.Preferences prefs
           
static boolean prefSalShowLisp
           
static boolean prefSalShowLispDefault
           
static boolean prefSalTraceBack
           
static boolean prefSalTraceBackDefault
           
static java.lang.String prefSFDirectory
           
static boolean prefsHaveBeenSet
           
static boolean prefStartInSalMode
           
static boolean prefStartInSalModeDefault
           
static boolean prefXlispDebugForSal
           
static boolean prefXlispDebugForSalDefault
           
static boolean prefXlispTraceBack
           
static boolean prefXlispTraceBackDefault
           
 java.lang.String replacePattern
           
 javax.swing.JLabel statusBar
           
 boolean workspaceLoaded
           
 boolean workspaceSaved
           
 
Fields inherited from class javax.swing.JFrame
EXIT_ON_CLOSE
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
MainFrame()
           
 
Method Summary
 void About()
           
 void changeDirectory(java.lang.String dir)
           
 void disconnectEnv()
           
 void disconnectEq()
           
 void disconnectPreferences()
           
 void doEditFind(java.awt.event.ActionEvent e)
           
 void doEditNext(java.awt.event.ActionEvent e)
           
 void doEditPrevious(java.awt.event.ActionEvent e)
           
 void doEditReplace(java.awt.event.ActionEvent e)
           
 void doEditSelectExpression(java.awt.event.ActionEvent e)
           
 void doFileLoad(java.awt.event.ActionEvent e)
           
 void doFileNew(java.awt.event.ActionEvent e)
           
 void doFileOpen(java.awt.event.ActionEvent e)
           
 void doFileSave(java.awt.event.ActionEvent e)
           
 void doFileSaveAs(java.awt.event.ActionEvent e)
           
 void doHelpManual(java.awt.event.ActionEvent e)
           
 void doProcessBreak(java.awt.event.ActionEvent e)
           
 void doProcessCont(java.awt.event.ActionEvent e)
           
 void doProcessCopyToLisp(java.awt.event.ActionEvent e)
           
 void doProcessFn(java.awt.event.ActionEvent e)
           
 void doProcessInfo(java.awt.event.ActionEvent e)
           
 void doProcessLisp(java.awt.event.ActionEvent e)
           
 void doProcessMark(java.awt.event.ActionEvent e)
           
 void doProcessPlot(java.awt.event.ActionEvent e)
           
 void doProcessReplay(java.awt.event.ActionEvent e)
           
 void doProcessSal(java.awt.event.ActionEvent e)
           
 void doProcessTop(java.awt.event.ActionEvent e)
           
 void doProcessUp(java.awt.event.ActionEvent e)
           
 void doWindowBrowse(java.awt.event.ActionEvent e)
           
 void doWindowEnvelope(java.awt.event.ActionEvent e)
           
 void doWindowEQ(java.awt.event.ActionEvent e)
           
 void doWindowTile(java.awt.event.ActionEvent e)
           
 java.lang.String escape_backslashes(java.lang.String path)
           
 java.lang.String fileDirectory(java.io.File file)
           
 void filterCRLF(java.lang.StringBuffer buf)
           
 java.lang.String findManualURL(java.lang.String ext)
           
 void handlePrefs()
           
 boolean isMac()
           
 void loadBrowserFrame()
           
 void loadEnvData(java.lang.String data)
           
 void loadEqData(java.lang.String data)
           
 void loadFile(java.io.File file)
           
 void menuButtonHandler(java.awt.event.ActionEvent e)
           
 void Prefs()
           
 void Quit()
           
 void ScrollToEnd()
           
 void sendCommandToNyquist()
           
 void sendInput(java.lang.String text)
           
 void sendInput(java.lang.String text, boolean hide)
           
 void sendInputLn(java.lang.String text)
           
 void sendPreferenceData()
           
 void setSalMode(boolean sal)
           
 void tileCompletion()
           
 java.lang.String trimNewline(java.lang.String s)
           
 boolean workspaceWarning(java.lang.String description)
           
 
Methods inherited from class javax.swing.JFrame
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, update
 
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

statusBar

public javax.swing.JLabel statusBar

jScrollPane

public CodePane jScrollPane

jOutputArea

public javax.swing.JTextArea jOutputArea

findPattern

public java.lang.String findPattern

replacePattern

public java.lang.String replacePattern

prefs

public java.util.prefs.Preferences prefs

prefStartInSalModeDefault

public static final boolean prefStartInSalModeDefault
See Also:
Constant Field Values

prefSalShowLispDefault

public static final boolean prefSalShowLispDefault
See Also:
Constant Field Values

prefParenAutoInsertDefault

public static final boolean prefParenAutoInsertDefault
See Also:
Constant Field Values

prefEnableSoundDefault

public static final boolean prefEnableSoundDefault
See Also:
Constant Field Values

prefAutoNormDefault

public static final boolean prefAutoNormDefault
See Also:
Constant Field Values

prefSalTraceBackDefault

public static final boolean prefSalTraceBackDefault
See Also:
Constant Field Values

prefXlispTraceBackDefault

public static final boolean prefXlispTraceBackDefault
See Also:
Constant Field Values

prefXlispDebugForSalDefault

public static final boolean prefXlispDebugForSalDefault
See Also:
Constant Field Values

prefPrintGCDefault

public static final boolean prefPrintGCDefault
See Also:
Constant Field Values

prefFullSearchDefault

public static final boolean prefFullSearchDefault
See Also:
Constant Field Values

prefInternalBrowserDefault

public static final boolean prefInternalBrowserDefault
See Also:
Constant Field Values

prefOnlineManualDefault

public static final boolean prefOnlineManualDefault
See Also:
Constant Field Values

prefCompletionListPercentDefault

public static final double prefCompletionListPercentDefault
See Also:
Constant Field Values

prefAudioRateDefault

public static final java.lang.String prefAudioRateDefault
See Also:
Constant Field Values

prefControlRateDefault

public static final java.lang.String prefControlRateDefault
See Also:
Constant Field Values

prefStartInSalMode

public static boolean prefStartInSalMode

prefSalShowLisp

public static boolean prefSalShowLisp

prefParenAutoInsert

public static boolean prefParenAutoInsert

prefEnableSound

public static boolean prefEnableSound

prefAutoNorm

public static boolean prefAutoNorm

prefSalTraceBack

public static boolean prefSalTraceBack

prefXlispTraceBack

public static boolean prefXlispTraceBack

prefXlispDebugForSal

public static boolean prefXlispDebugForSal

prefPrintGC

public static boolean prefPrintGC

prefFullSearch

public static boolean prefFullSearch

prefInternalBrowser

public static boolean prefInternalBrowser

prefOnlineManual

public static boolean prefOnlineManual

prefCompletionListPercent

public static double prefCompletionListPercent

prefAudioRate

public static java.lang.String prefAudioRate

prefControlRate

public static java.lang.String prefControlRate

prefDirectory

public static java.lang.String prefDirectory

prefSFDirectory

public static java.lang.String prefSFDirectory

prefsHaveBeenSet

public static boolean prefsHaveBeenSet

workspaceLoaded

public boolean workspaceLoaded

workspaceSaved

public boolean workspaceSaved

onlineManualURL

public static final java.lang.String onlineManualURL
See Also:
Constant Field Values

hasRightMouseButton

public boolean hasRightMouseButton
Constructor Detail

MainFrame

public MainFrame()
Method Detail

isMac

public boolean isMac()

disconnectPreferences

public void disconnectPreferences()

Prefs

public void Prefs()

handlePrefs

public void handlePrefs()

sendPreferenceData

public void sendPreferenceData()

menuButtonHandler

public void menuButtonHandler(java.awt.event.ActionEvent e)

Quit

public void Quit()

doFileNew

public void doFileNew(java.awt.event.ActionEvent e)

fileDirectory

public java.lang.String fileDirectory(java.io.File file)

doFileOpen

public void doFileOpen(java.awt.event.ActionEvent e)

doFileSave

public void doFileSave(java.awt.event.ActionEvent e)

doFileSaveAs

public void doFileSaveAs(java.awt.event.ActionEvent e)

doFileLoad

public void doFileLoad(java.awt.event.ActionEvent e)

doEditFind

public void doEditFind(java.awt.event.ActionEvent e)

doEditReplace

public void doEditReplace(java.awt.event.ActionEvent e)

filterCRLF

public void filterCRLF(java.lang.StringBuffer buf)

trimNewline

public java.lang.String trimNewline(java.lang.String s)

doEditPrevious

public void doEditPrevious(java.awt.event.ActionEvent e)

doEditNext

public void doEditNext(java.awt.event.ActionEvent e)

doEditSelectExpression

public void doEditSelectExpression(java.awt.event.ActionEvent e)

About

public void About()

findManualURL

public java.lang.String findManualURL(java.lang.String ext)

doHelpManual

public void doHelpManual(java.awt.event.ActionEvent e)

doProcessReplay

public void doProcessReplay(java.awt.event.ActionEvent e)

disconnectEnv

public void disconnectEnv()

disconnectEq

public void disconnectEq()

workspaceWarning

public boolean workspaceWarning(java.lang.String description)

doWindowEnvelope

public void doWindowEnvelope(java.awt.event.ActionEvent e)

doWindowEQ

public void doWindowEQ(java.awt.event.ActionEvent e)

doProcessInfo

public void doProcessInfo(java.awt.event.ActionEvent e)

doProcessBreak

public void doProcessBreak(java.awt.event.ActionEvent e)

doProcessCont

public void doProcessCont(java.awt.event.ActionEvent e)

doProcessTop

public void doProcessTop(java.awt.event.ActionEvent e)

doProcessSal

public void doProcessSal(java.awt.event.ActionEvent e)

doProcessLisp

public void doProcessLisp(java.awt.event.ActionEvent e)

doProcessUp

public void doProcessUp(java.awt.event.ActionEvent e)

doProcessMark

public void doProcessMark(java.awt.event.ActionEvent e)

doProcessFn

public void doProcessFn(java.awt.event.ActionEvent e)

doProcessPlot

public void doProcessPlot(java.awt.event.ActionEvent e)

doProcessCopyToLisp

public void doProcessCopyToLisp(java.awt.event.ActionEvent e)

tileCompletion

public void tileCompletion()

doWindowTile

public void doWindowTile(java.awt.event.ActionEvent e)

doWindowBrowse

public void doWindowBrowse(java.awt.event.ActionEvent e)

escape_backslashes

public java.lang.String escape_backslashes(java.lang.String path)

changeDirectory

public void changeDirectory(java.lang.String dir)

loadFile

public void loadFile(java.io.File file)

sendInputLn

public void sendInputLn(java.lang.String text)

setSalMode

public void setSalMode(boolean sal)

sendInput

public void sendInput(java.lang.String text)

sendInput

public void sendInput(java.lang.String text,
                      boolean hide)

sendCommandToNyquist

public void sendCommandToNyquist()

ScrollToEnd

public void ScrollToEnd()

loadBrowserFrame

public void loadBrowserFrame()

loadEnvData

public void loadEnvData(java.lang.String data)

loadEqData

public void loadEqData(java.lang.String data)