Package localiserDisplay
Class LocaliserDisplayControlAWT
java.lang.Object
localiserDisplay.LoclaiserDisplayControl
localiserDisplay.LocaliserDisplayControlAWT
- All Implemented Interfaces:
UserDisplayComponent
public class LocaliserDisplayControlAWT
extends LoclaiserDisplayControl
implements UserDisplayComponent
Control for the localiser display. The loclaiser display shows loclisation data on a 3D Map.
It also allows users to localise
- Author:
- macst
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLocaliserDisplayControlAWT(LocaliserDisplayProvider localiserDisplayPorivder, String uniqueDisplayName) -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the component is removed from the display.Get a title for the frame the component will be added to.getPanel()voidnotifyModelChanged(int changeType) Pick up model changed notifications from a parent user display.voidCalled when the component is first displayed.voidsetUniqueName(String uniqueName) Set a unique name for every display.
-
Field Details
-
unitType
- See Also:
-
-
Constructor Details
-
LocaliserDisplayControlAWT
public LocaliserDisplayControlAWT(LocaliserDisplayProvider localiserDisplayPorivder, String uniqueDisplayName)
-
-
Method Details
-
getUniqueName
- Specified by:
getUniqueNamein interfaceUserDisplayComponent- Returns:
- a unique name (across all of PAMGuard) which will be used for mark overlays and settings storage.
-
setUniqueName
Description copied from interface:UserDisplayComponentSet a unique name for every display. This is important for saving settings and for managing things that need a unique name such as overlay marks and markers.- Specified by:
setUniqueNamein interfaceUserDisplayComponent
-
getComponent
- Specified by:
getComponentin interfaceUserDisplayComponent- Returns:
- The Swing component to add to the frame
-
openComponent
public void openComponent()Description copied from interface:UserDisplayComponentCalled when the component is first displayed.- Specified by:
openComponentin interfaceUserDisplayComponent
-
closeComponent
public void closeComponent()Description copied from interface:UserDisplayComponentCalled when the component is removed from the display.- Specified by:
closeComponentin interfaceUserDisplayComponent
-
notifyModelChanged
public void notifyModelChanged(int changeType) Description copied from interface:UserDisplayComponentPick up model changed notifications from a parent user display.- Specified by:
notifyModelChangedin interfaceUserDisplayComponent- Parameters:
changeType-
-
getFrameTitle
Description copied from interface:UserDisplayComponentGet a title for the frame the component will be added to.- Specified by:
getFrameTitlein interfaceUserDisplayComponent- Returns:
- a title for the components frame.
-
getPanel
-