Package loggerForms.controls
Class SubFormControl
java.lang.Object
loggerForms.controls.LoggerControl
loggerForms.controls.SubFormControl
-
Field Summary
Fields inherited from class loggerForms.controls.LoggerControl
AUTO_UPDATE_CANT, AUTO_UPDATE_FAIL, AUTO_UPDATE_SUCCESS
-
Constructor Summary
ConstructorDescriptionSubFormControl
(ControlDescription controlDescription, LoggerForm loggerForm) -
Method Summary
Modifier and TypeMethodDescriptionint
fillNMEAControlData
(NMEADataUnit dataUnit) Called once a correct NMEA data unit has been found to write the data into the control.getData()
void
this will populate the Field with either last entered data or most up to date entryvoid
Return to the default value based on the associated control descriptionvoid
Methods inherited from class loggerForms.controls.LoggerControl
addF1KeyListener, addFocusListenerToAllSubComponants, addMouseListenerToAllSubComponants, autoUpdate, clear, clearDataError, clearDataWarning, f1Pressed, findNMEADataBlock, getComponent, getControlDescription, getDataWarning, getLoggerForm, lFocusGained, setToolTipToAllSubJComponants, updateNMEAData, updateNMEAData
-
Constructor Details
-
SubFormControl
-
-
Method Details
-
showSubForm
public void showSubForm() -
getDataError
- Specified by:
getDataError
in classLoggerControl
- Returns:
-
getData
- Specified by:
getData
in classLoggerControl
- Returns:
- data from field(s) of component
-
setData
Description copied from class:LoggerControl
this will populate the Field with either last entered data or most up to date entry- Specified by:
setData
in classLoggerControl
-
setDefault
public void setDefault()Description copied from class:LoggerControl
Return to the default value based on the associated control description- Specified by:
setDefault
in classLoggerControl
-
fillNMEAControlData
Description copied from class:LoggerControl
Called once a correct NMEA data unit has been found to write the data into the control.- Specified by:
fillNMEAControlData
in classLoggerControl
- Parameters:
dataUnit
- NMEA data unit- Returns:
- success flag.
-