Package edu.wisc.ssec.mcidasv.data.hydra
Class TrackSelection
java.lang.Object
ucar.unidata.data.DataSelectionComponent
edu.wisc.ssec.mcidasv.data.hydra.TrackSelection
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) DataChoice
static final int
static final int
static final int
(package private) Map
(package private) DisplayMaster
(package private) JTextField
private static final org.slf4j.Logger
(package private) MapProjectionDisplayJ2D
(package private) int
(package private) FlatField
(package private) int
(package private) int
(package private) float[][]
(package private) int
(package private) LineDrawing
(package private) int
(package private) int
(package private) int
(package private) JTextField
(package private) int
(package private) JTextField
(package private) double[]
(package private) double[]
Fields inherited from class ucar.unidata.data.DataSelectionComponent
dataSelection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyToDataSelection
(DataSelection dataSelection) Apply new settingsprotected JComponent
boolean
Update Track Length percentage if input text box holds a positive integer between 1 and 100.void
setLengthPercent
(int percent) boolean
Update Track Stride if input text box holds a positive integer.void
setTrackStride
(int stride) boolean
Update Vertical Stride if input text box holds a positive integer.void
setVerticalStride
(int stride) (package private) void
Methods inherited from class ucar.unidata.data.DataSelectionComponent
getContents, getContents, getName, getShowInControlProperties
-
Field Details
-
logger
-
DEFAULT_TRACK_STRIDE
- See Also:
-
DEFAULT_VERTICAL_STRIDE
- See Also:
-
DEFAULT_TRACK_LENGTH_PERCENT
- See Also:
-
dataChoice
-
track
-
x_coords
double[] x_coords -
y_coords
double[] y_coords -
mapProjDsp
-
dspMaster
-
trackStride
int trackStride -
verticalStride
int verticalStride -
trkStr
-
vrtStr
-
lengthField
-
trackSelectDsp
-
trackLocs
float[][] trackLocs -
trackLen
int trackLen -
trackPos
int trackPos -
trackStart
int trackStart -
trackStop
int trackStop -
trackLengthPercent
-
selectWidth
int selectWidth -
defaultSubset
-
-
Constructor Details
-
TrackSelection
TrackSelection(DataChoice dataChoice, FlatField track, Map defaultSubset) throws VisADException, RemoteException - Throws:
VisADException
RemoteException
-
-
Method Details
-
getDataProjection
-
doMakeContents
- Specified by:
doMakeContents
in classDataSelectionComponent
-
setTrackStride
-
setVerticalStride
-
setLengthPercent
-
setTrackStride
Update Track Stride if input text box holds a positive integer.- Returns:
- true if trackStride was updated
-
setVerticalStride
Update Vertical Stride if input text box holds a positive integer.- Returns:
- true if verticalStride was updated
-
setLengthPercent
Update Track Length percentage if input text box holds a positive integer between 1 and 100.- Returns:
- true if trackLengthPercent was updated
-
updateTrackSelect
void updateTrackSelect() -
applyToDataSelection
Apply new settings- Specified by:
applyToDataSelection
in classDataSelectionComponent
-