Package targetMotionModule.panels
Class TargetMotionMainPanel<T extends PamDataUnit>
java.lang.Object
targetMotionModule.panels.TargetMotionMainPanel<T>
- All Implemented Interfaces:
 ColorManaged,PamTabPanel
public class TargetMotionMainPanel<T extends PamDataUnit>
extends Object
implements PamTabPanel, ColorManaged
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic org.kordamp.ikonli.swing.FontIcon - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleancanRun()voidvoidCreate the maps.createMenu(Frame parentFrame) Create panel which allows users to save resultsvoiddataChanged(T pamDetection) Called when data in the main source data block are changedvoidThe components colour scheme.getMap2D()getMap3D()getPanel()voidvoidshowLoadBar(boolean show) voidstart(boolean runAll) Start a run.voidupdate(int flag) voidGet the current control panels.void 
- 
Field Details
- 
northPanelHeight
public static final int northPanelHeight- See Also:
 
 - 
currentLocalisation
 - 
comment
 - 
settings
public static org.kordamp.ikonli.swing.FontIcon settings 
 - 
 - 
Constructor Details
- 
TargetMotionMainPanel
 
 - 
 - 
Method Details
- 
createMaps
public void createMaps()Create the maps. This needs to be done after pamguard has initialised because of 3D components. - 
getMap3D
 - 
getMap2D
 - 
showLoadBar
public void showLoadBar(boolean show)  - 
updateControlPanelList
public void updateControlPanelList()Get the current control panels. - 
changeControlPanel
public void changeControlPanel() - 
createCommentPanel
 - 
createSavePanel
Create panel which allows users to save results- Returns:
 
 - 
update
public void update(int flag)  - 
dataChanged
Called when data in the main source data block are changed- Parameters:
 pamDetection-
 - 
updateCurrentControlPanel
public void updateCurrentControlPanel() - 
getCurrentControlPanel
 - 
enableControls
public void enableControls() - 
canRun
public boolean canRun() - 
start
public void start(boolean runAll) Start a run. Will need to get options from various sub panels to work out what to actually do.Currently just do it all in this thread. In future, will try to rethread so multiple models can run concurrently.
 - 
notifyNewResults
public void notifyNewResults() - 
getUserComment
 - 
getColorId
Description copied from interface:ColorManagedThe components colour scheme.- Specified by:
 getColorIdin interfaceColorManaged- Returns:
 - PamColor
 
 - 
createMenu
- Specified by:
 createMenuin interfacePamTabPanel- Returns:
 - a JMeny for the panel
 
 - 
getPanel
- Specified by:
 getPanelin interfacePamTabPanel- Returns:
 - Reference to a graphics component that can be added to the view. This will typically be a JPanel or a JInternalFrame;
 
 - 
getToolBar
- Specified by:
 getToolBarin interfacePamTabPanel- Returns:
 - a JToolbas associated with this tab. This will only be displayed when the current tab is activated
 
 - 
getTargetMotionControl
 
 -