ikayaki.squid
Class SquidFront

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 ikayaki.squid.SquidFront
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

Deprecated. This class is not up to date. It is not recommended to use this.

public class SquidFront
extends JFrame

Graphical front-end for using the SQUID Interface's protocol level commands.

Author:
Esko Luontola, Aki Korpua
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JFrame
JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
private  JPanel contentPane
          Deprecated.  
private  JButton ddemagnetizeY
          Deprecated.  
private  JButton ddemagnetizeZ
          Deprecated.  
private  JTextArea degausserLog
          Deprecated.  
private  JButton dexecuteRampCycle
          Deprecated.  
private  JButton dexecuteRampDown
          Deprecated.  
private  JButton dexecuteRampUp
          Deprecated.  
private  JButton dgetAmplitude
          Deprecated.  
private  JButton dgetCoil
          Deprecated.  
private  JButton dgetDelay
          Deprecated.  
private  JButton dgetRamp
          Deprecated.  
private  JButton dgetRampStatus
          Deprecated.  
private  JButton disOK
          Deprecated.  
private  JTextField dRawCommand
          Deprecated.  
private  JButton dRawSend
          Deprecated.  
private  JButton dsetAmplitude
          Deprecated.  
private  JButton dsetCoil
          Deprecated.  
private  JButton dupdateSettings
          Deprecated.  
private  JTextArea handlerLog
          Deprecated.  
private  JButton hgetPosition
          Deprecated.  
private  JButton hgetRotation
          Deprecated.  
private  JButton hgetStatus
          Deprecated.  
private  JButton hgo
          Deprecated.  
private  JButton hisOK
          Deprecated.  
private  JButton hjoin
          Deprecated.  
private  JButton hmoveToBackground
          Deprecated.  
private  JButton hmoveToDegausserY
          Deprecated.  
private  JButton hmoveToDegausserZ
          Deprecated.  
private  JButton hmoveToHome
          Deprecated.  
private  JButton hmoveToMeasurement
          Deprecated.  
private  JButton hmoveToPos
          Deprecated.  
private  JButton hperformSlew
          Deprecated.  
private  JTextField hRawCommand
          Deprecated.  
private  JButton hRawSend
          Deprecated.  
private  JButton hrotateTo
          Deprecated.  
private  JButton hsetAcceleration
          Deprecated.  
private  JButton hsetBaseSpeed
          Deprecated.  
private  JButton hsetCrystalFrequence
          Deprecated.  
private  JButton hsetDeceleration
          Deprecated.  
private  JButton hsetHoldTime
          Deprecated.  
private  JButton hsetMotorNegative
          Deprecated.  
private  JButton hsetMotorPositive
          Deprecated.  
private  JButton hsetOnline
          Deprecated.  
private  JButton hsetPosition
          Deprecated.  
private  JButton hsetPositionRegister
          Deprecated.  
private  JButton hsetSteps
          Deprecated.  
private  JButton hsetVelocity
          Deprecated.  
private  JButton hstop
          Deprecated.  
private  JButton hstopExecution
          Deprecated.  
private  JButton htakeMessage
          Deprecated.  
private  JButton hupdateSettings
          Deprecated.  
private  JButton hverify
          Deprecated.  
private  JTextArea magnetometerLog
          Deprecated.  
private  JButton mclearFlux
          Deprecated.  
private  JButton mconfigure
          Deprecated.  
private  JButton mgetData
          Deprecated.  
private  JButton mgetFilters
          Deprecated.  
private  JButton mgetLoop
          Deprecated.  
private  JButton mgetRange
          Deprecated.  
private  JButton mgetSlew
          Deprecated.  
private  JButton misOK
          Deprecated.  
private  JButton mjoin
          Deprecated.  
private  JButton mlatchAnalog
          Deprecated.  
private  JButton mlatchCounter
          Deprecated.  
private  JButton mopenLoop
          Deprecated.  
private  JTextField mRawCommand
          Deprecated.  
private  JButton mRawSend
          Deprecated.  
private  JButton mreadData
          Deprecated.  
private  JButton mreset
          Deprecated.  
private  JButton mresetCounter
          Deprecated.  
private  JButton mupdateSettings
          Deprecated.  
private  JTextField param1
          Deprecated.  
private  JTextField param2
          Deprecated.  
private  JTextField param3
          Deprecated.  
private  Squid squid
          Deprecated.  
 
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
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
SquidFront()
          Deprecated.  
 
Method Summary
private  void $$$setupUI$$$()
          Deprecated. Method generated by IntelliJ IDEA GUI Designer !!!
private  void initDegausserActions()
          Deprecated. Sets ActionListeners for degausser's control buttons.
private  void initHandlerActions()
          Deprecated. Sets ActionListeners for handler's control buttons.
private  void initLogging()
          Deprecated. Sets anything that is needed for logging to file and to screen.
private  void initMagnetometerActions()
          Deprecated. Sets ActionListeners for magnetometer's control buttons.
private  void initRawActions()
          Deprecated.  
static void main(String[] args)
          Deprecated.  
 void setSquid(Squid squid)
          Deprecated. Sets the fully initialized Squid interface for the use of the program.
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
addNotify, finalize, 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, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, setLocationRelativeTo, 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, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

hupdateSettings

private JButton hupdateSettings
Deprecated. 

hgetStatus

private JButton hgetStatus
Deprecated. 

hgetPosition

private JButton hgetPosition
Deprecated. 

hgetRotation

private JButton hgetRotation
Deprecated. 

hisOK

private JButton hisOK
Deprecated. 

hmoveToHome

private JButton hmoveToHome
Deprecated. 

hmoveToDegausserZ

private JButton hmoveToDegausserZ
Deprecated. 

hmoveToDegausserY

private JButton hmoveToDegausserY
Deprecated. 

hmoveToMeasurement

private JButton hmoveToMeasurement
Deprecated. 

hmoveToBackground

private JButton hmoveToBackground
Deprecated. 

hmoveToPos

private JButton hmoveToPos
Deprecated. 

hstop

private JButton hstop
Deprecated. 

hrotateTo

private JButton hrotateTo
Deprecated. 

hsetOnline

private JButton hsetOnline
Deprecated. 

hsetAcceleration

private JButton hsetAcceleration
Deprecated. 

hsetDeceleration

private JButton hsetDeceleration
Deprecated. 

hsetBaseSpeed

private JButton hsetBaseSpeed
Deprecated. 

hsetVelocity

private JButton hsetVelocity
Deprecated. 

hsetHoldTime

private JButton hsetHoldTime
Deprecated. 

hsetCrystalFrequence

private JButton hsetCrystalFrequence
Deprecated. 

hstopExecution

private JButton hstopExecution
Deprecated. 

hperformSlew

private JButton hperformSlew
Deprecated. 

hsetMotorPositive

private JButton hsetMotorPositive
Deprecated. 

hsetMotorNegative

private JButton hsetMotorNegative
Deprecated. 

hsetSteps

private JButton hsetSteps
Deprecated. 

hsetPosition

private JButton hsetPosition
Deprecated. 

hgo

private JButton hgo
Deprecated. 

hjoin

private JButton hjoin
Deprecated. 

hverify

private JButton hverify
Deprecated. 

hsetPositionRegister

private JButton hsetPositionRegister
Deprecated. 

htakeMessage

private JButton htakeMessage
Deprecated. 

mupdateSettings

private JButton mupdateSettings
Deprecated. 

mreset

private JButton mreset
Deprecated. 

mresetCounter

private JButton mresetCounter
Deprecated. 

mconfigure

private JButton mconfigure
Deprecated. 

mlatchAnalog

private JButton mlatchAnalog
Deprecated. 

mlatchCounter

private JButton mlatchCounter
Deprecated. 

mgetData

private JButton mgetData
Deprecated. 

mopenLoop

private JButton mopenLoop
Deprecated. 

mclearFlux

private JButton mclearFlux
Deprecated. 

mjoin

private JButton mjoin
Deprecated. 

mreadData

private JButton mreadData
Deprecated. 

mgetFilters

private JButton mgetFilters
Deprecated. 

mgetRange

private JButton mgetRange
Deprecated. 

mgetSlew

private JButton mgetSlew
Deprecated. 

mgetLoop

private JButton mgetLoop
Deprecated. 

misOK

private JButton misOK
Deprecated. 

dupdateSettings

private JButton dupdateSettings
Deprecated. 

dsetCoil

private JButton dsetCoil
Deprecated. 

dsetAmplitude

private JButton dsetAmplitude
Deprecated. 

dexecuteRampUp

private JButton dexecuteRampUp
Deprecated. 

dexecuteRampDown

private JButton dexecuteRampDown
Deprecated. 

dexecuteRampCycle

private JButton dexecuteRampCycle
Deprecated. 

ddemagnetizeZ

private JButton ddemagnetizeZ
Deprecated. 

ddemagnetizeY

private JButton ddemagnetizeY
Deprecated. 

dgetRampStatus

private JButton dgetRampStatus
Deprecated. 

dgetRamp

private JButton dgetRamp
Deprecated. 

dgetDelay

private JButton dgetDelay
Deprecated. 

dgetCoil

private JButton dgetCoil
Deprecated. 

dgetAmplitude

private JButton dgetAmplitude
Deprecated. 

disOK

private JButton disOK
Deprecated. 

param1

private JTextField param1
Deprecated. 

param2

private JTextField param2
Deprecated. 

param3

private JTextField param3
Deprecated. 

handlerLog

private JTextArea handlerLog
Deprecated. 

magnetometerLog

private JTextArea magnetometerLog
Deprecated. 

degausserLog

private JTextArea degausserLog
Deprecated. 

contentPane

private JPanel contentPane
Deprecated. 

squid

private Squid squid
Deprecated. 

hRawCommand

private JTextField hRawCommand
Deprecated. 

hRawSend

private JButton hRawSend
Deprecated. 

dRawCommand

private JTextField dRawCommand
Deprecated. 

dRawSend

private JButton dRawSend
Deprecated. 

mRawCommand

private JTextField mRawCommand
Deprecated. 

mRawSend

private JButton mRawSend
Deprecated. 
Constructor Detail

SquidFront

public SquidFront()
           throws HeadlessException
Deprecated. 
Throws:
HeadlessException
Method Detail

setSquid

public void setSquid(Squid squid)
Deprecated. 
Sets the fully initialized Squid interface for the use of the program. Sets the active project the owner of the squid by re-setting the active project.

Parameters:
squid - an instance of the Squid.
Throws:
NullPointerException - if squid is null.
IllegalStateException - if the squid has already been set.

initRawActions

private void initRawActions()
Deprecated. 

initHandlerActions

private void initHandlerActions()
Deprecated. 
Sets ActionListeners for handler's control buttons.


initMagnetometerActions

private void initMagnetometerActions()
Deprecated. 
Sets ActionListeners for magnetometer's control buttons.


initDegausserActions

private void initDegausserActions()
Deprecated. 
Sets ActionListeners for degausser's control buttons.


initLogging

private void initLogging()
Deprecated. 
Sets anything that is needed for logging to file and to screen.


main

public static void main(String[] args)
Deprecated. 

$$$setupUI$$$

private void $$$setupUI$$$()
Deprecated. 
Method generated by IntelliJ IDEA GUI Designer !!! IMPORTANT !!! DO NOT edit this method OR call it in your code!