angleMeasurement
Class AngleControl

java.lang.Object
  extended by PamController.PamControlledUnit
      extended by angleMeasurement.AngleControl

public class AngleControl
extends PamControlledUnit


Nested Class Summary
(package private)  class AngleControl.CalibrationMenu
           
(package private)  class AngleControl.SettingsMenu
           
 
Field Summary
(package private)  AngleMeasurement angleMeasurement
           
(package private)  AngleProcess angleProcess
           
(package private)  AngleSidePanel angleSidePanel
           
private  AngleControl THIS
           
 
Fields inherited from class PamController.PamControlledUnit
isViewer
 
Constructor Summary
AngleControl(java.lang.String unitName)
           
 
Method Summary
 javax.swing.JMenuItem createDetectionMenu(java.awt.Frame parentFrame)
          Create a JMenu object containing MenuItems associated with PamProcesses
 PamSidePanel getSidePanel()
          Gets a reference to a small panel to be displayed along the left hand edge of the main tab panel.
protected  void holdButton()
           
 void newAngle(AngleDataUnit angleDataUnit)
           
 
Methods inherited from class PamController.PamControlledUnit
addOtherRelatedMenuItems, addPamProcess, addRelatedMenuItems, canClose, createDisplayMenu, createFileMenu, createHelpMenu, fillXMLElement, fillXMLParameters, getFrameNumber, getNumPamProcesses, getPamController, getPamModuleInfo, getPamProcess, getPamView, getTabClipCopier, getTabPanel, getTabSpecificMenuBar, getUnitName, getUnitType, gotoTab, notifyArrayChanged, notifyModelChanged, pamHasStopped, pamToStart, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setupControlledUnit, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

angleProcess

AngleProcess angleProcess

angleMeasurement

AngleMeasurement angleMeasurement

angleSidePanel

AngleSidePanel angleSidePanel

THIS

private AngleControl THIS
Constructor Detail

AngleControl

public AngleControl(java.lang.String unitName)
Method Detail

getSidePanel

public PamSidePanel getSidePanel()
Description copied from class: PamControlledUnit
Gets a reference to a small panel to be displayed along the left hand edge of the main tab panel. Side panels should be small since they are always visible and any space they take will be taken from the main tab panel.

It is possible for a PamControlled unit to have a side panel without having a pamTabPanel.

Overrides:
getSidePanel in class PamControlledUnit
Returns:
a pamSidePanel object.
See Also:
PamSidePanel, PamTabPanel

newAngle

public void newAngle(AngleDataUnit angleDataUnit)

createDetectionMenu

public javax.swing.JMenuItem createDetectionMenu(java.awt.Frame parentFrame)
Description copied from class: PamControlledUnit
Create a JMenu object containing MenuItems associated with PamProcesses

Overrides:
createDetectionMenu in class PamControlledUnit
Parameters:
parentFrame - The owner frame of the menu
Returns:
reference to a JMenu which can be added to an existing menu or menu bar

Note that if multiple views are to use the same menu, then they should each create a new menu (by setting Create to true) the first time they call this method.


holdButton

protected void holdButton()