Package PamUtils
Class LatLongEditableDialogStrip
java.lang.Object
PamUtils.LatLongEditableDialogStrip
- All Implemented Interfaces:
PamDialogPanel
A better Lat Long editable dialog strip, containing
the functionality developed for the new Array Manager.
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
currentGPS
(ActionEvent e, GpsData currentGpsData) void
enableControls
(boolean enable) Get the awt component which will be incorporated into a larger display panel / component.Get teh current value.boolean
void
mapPaste
(ActionEvent e, GpsData pastedGpsData) void
void
setLatLong
(LatLong latLong) Just set the lat long without resetting the heading.void
Set the initial parameter values in the panel.
-
Constructor Details
-
LatLongEditableDialogStrip
-
-
Method Details
-
currentGPS
-
mapPaste
-
setLatLong
Just set the lat long without resetting the heading.- Parameters:
latLong
-
-
getDialogComponent
Description copied from interface:PamDialogPanel
Get the awt component which will be incorporated into a larger display panel / component.- Specified by:
getDialogComponent
in interfacePamDialogPanel
- Returns:
- an awt component.
-
getLatLong
Get teh current value.- Returns:
-
setParams
public void setParams()Description copied from interface:PamDialogPanel
Set the initial parameter values in the panel. Since this interface is purely abstract, the type of parameter is unknown, so concrete implementations will somehow have to pass the class containing the parameter information in some other way.- Specified by:
setParams
in interfacePamDialogPanel
-
getParams
public boolean getParams()- Specified by:
getParams
in interfacePamDialogPanel
- Returns:
- true if parameters all have acceptable values and the dialog can close.
-
enableControls
public void enableControls(boolean enable)