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) DataChoicestatic final intstatic final intstatic final int(package private) Map(package private) DisplayMaster(package private) JTextFieldprivate 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 TypeMethodDescriptionvoidapplyToDataSelection(DataSelection dataSelection) Apply new settingsprotected JComponentbooleanUpdate Track Length percentage if input text box holds a positive integer between 1 and 100.voidsetLengthPercent(int percent) booleanUpdate Track Stride if input text box holds a positive integer.voidsetTrackStride(int stride) booleanUpdate Vertical Stride if input text box holds a positive integer.voidsetVerticalStride(int stride) (package private) voidMethods 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:
VisADExceptionRemoteException
-
-
Method Details
-
getDataProjection
-
doMakeContents
- Specified by:
doMakeContentsin 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:
applyToDataSelectionin classDataSelectionComponent
-