Package clickTrainDetector.layout
Class CTSwingGUI
java.lang.Object
PamController.PamControlledUnitGUI
PamView.PamControlledGUISwing
clickTrainDetector.layout.CTSwingGUI
The PAMControlled unit GUI bits when using Swing.
- Author:
 - Jamie Macaulay
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncreateDetectionMenu(Frame parentFrame) Create a JMenu object containing MenuItems associated with PamProcessesGet the settings pane.Gets a reference to a small panel to be displayed along the left hand edge of the main tab panel.voidnotifyGUIChange(int flag) Allows the GUI to be notified of changes, e.g.voidshowSettingsDialog(Frame parentFrame) Show settings dialog.voidshowSettingsDialog(Frame parentFrame, Boolean classificationTab) Show settings dialog.Methods inherited from class PamView.PamControlledGUISwing
createDisplayMenu, createFileMenu, createHelpMenu, getFrameNumber, getGUIFlag, getGuiFrame, getPamView, getTabClipCopier, getTabPanel, getToolbarComponent, setFrameNumber, setSidePanel, setTabPanel, setToolbarComponent 
- 
Constructor Details
- 
CTSwingGUI
- Parameters:
 clickTrainControl-
 
 - 
 - 
Method Details
- 
showSettingsDialog
Show settings dialog.- Parameters:
 parentFrame- - the frame.
 - 
showSettingsDialog
Show settings dialog.- Parameters:
 parentFrame- - the frame.classificationTab- - true to open on classification tab, false to open on detection tab. Null to open on last tab.
 - 
getSidePanel
Description copied from class:PamControlledGUISwingGets 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:
 getSidePanelin classPamControlledGUISwing- Returns:
 - a pamSidePanel object.
 - See Also:
 
 - 
createDetectionMenu
Description copied from class:PamControlledGUISwingCreate a JMenu object containing MenuItems associated with PamProcesses- Overrides:
 createDetectionMenuin classPamControlledGUISwing- 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.
 
 - 
getSettingsPane
Get the settings pane.- Returns:
 - the settings pane.
 
 - 
notifyGUIChange
public void notifyGUIChange(int flag) Allows the GUI to be notified of changes, e.g. in the PAMControlle.r- Overrides:
 notifyGUIChangein classPamControlledUnitGUI- Parameters:
 flag- - the change flag.
 
 -