public class RoccaControl extends PamControlledUnit implements PamSettings
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
unitType
Added 2014/09/11 - use in the constructor call to super class instead
of the hard-coded string
|
Constructor and Description |
---|
RoccaControl(java.lang.String name)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
addDetectorMenuItems(ClickControl clickControl,
javax.swing.JMenu menu,
int position)
Adds a menu item when in viewer mode to the Click Detector menu, to
pass events to Rocca for measurement.
|
void |
analyzeOfflineClicks(OfflineEventDataUnit eventList) |
javax.swing.JMenuItem |
createDetectionMenu(java.awt.Frame parentFrame)
Create a JMenu object containing MenuItems associated with PamProcesses
|
java.io.Serializable |
getSettingsReference() |
long |
getSettingsVersion() |
javax.swing.JMenuBar |
getTabSpecificMenuBar(java.awt.Frame parentFrame,
javax.swing.JMenuBar menuBar,
PamGui pamGui)
If we are in Viewer mode and a Click Detector module has been loaded, find
the Click Detection menu item and add a Rocca Measurement submenu item to it
|
boolean |
restoreSettings(PamControlledUnitSettings pamControlledUnitSettings) |
addOfflineTaskGroup, addOtherRelatedMenuItems, addPamProcess, addRelatedMenuItems, addXMLParameter, addXMLParameter, addXMLParameter, addXMLParameter, canClose, canPlayViewerSound, createDisplayMenu, createFileMenu, createHelpMenu, fillXMLElement, flushDataBlockBuffers, getFrameNumber, getGuiFrame, getModuleSummary, getNumOfflineTaskGroups, getNumPamProcesses, getOfflineTaskGroup, getPamController, getPamModuleInfo, getPamProcess, getPamView, getShortUnitType, getSidePanel, getTabClipCopier, getTabPanel, getToolbarComponent, getUnitName, getUnitType, getVerboseLevel, gotoTab, isViewer, notifyModelChanged, pamClose, pamHasStopped, pamToStart, playViewerSound, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setupControlledUnit, stopViewerSound, terminalPrint, terminalPrintln, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUnitName, getUnitType
public static final java.lang.String unitType
public RoccaControl(java.lang.String name)
name
- public javax.swing.JMenuItem createDetectionMenu(java.awt.Frame parentFrame)
PamControlledUnit
createDetectionMenu
in class PamControlledUnit
parentFrame
- The owner frame of the menuNote 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.
public javax.swing.JMenuBar getTabSpecificMenuBar(java.awt.Frame parentFrame, javax.swing.JMenuBar menuBar, PamGui pamGui)
getTabSpecificMenuBar
in class PamControlledUnit
menuBar
- the standard menu for the Pam GUI.public int addDetectorMenuItems(ClickControl clickControl, javax.swing.JMenu menu, int position)
parentFrame
- menu
- public void analyzeOfflineClicks(OfflineEventDataUnit eventList)
eventList
- public java.io.Serializable getSettingsReference()
getSettingsReference
in interface PamSettings
public long getSettingsVersion()
getSettingsVersion
in interface PamSettings
public boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
restoreSettings
in interface PamSettings