Package loggerForms.controls
Class TimeControl
java.lang.Object
loggerForms.controls.LoggerControl
loggerForms.controls.SimpleControl
loggerForms.controls.TimeControl
-
Field Summary
Fields inherited from class loggerForms.controls.LoggerControl
AUTO_UPDATE_CANT, AUTO_UPDATE_FAIL, AUTO_UPDATE_SUCCESS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Automatically update a 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 descriptionMethods inherited from class loggerForms.controls.SimpleControl
clear, fillNMEAControlData, getDataError
Methods inherited from class loggerForms.controls.LoggerControl
addF1KeyListener, addFocusListenerToAllSubComponants, addMouseListenerToAllSubComponants, clearDataError, clearDataWarning, f1Pressed, findNMEADataBlock, getComponent, getControlDescription, getDataWarning, getLoggerForm, lFocusGained, setToolTipToAllSubJComponants, updateNMEAData, updateNMEAData
-
Constructor Details
-
TimeControl
-
-
Method Details
-
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- Overrides:
setData
in classSimpleControl
-
autoUpdate
public int autoUpdate()Description copied from class:LoggerControl
Automatically update a control. This is only possible for controls such as time, timestamps and NMEA items.- Overrides:
autoUpdate
in classLoggerControl
- Returns:
- AUTO_UPDATE_SUCCESS, AUTO_UPDATE_FAIL or AUTO_UPDATE_CANT
-
setDefault
public void setDefault()Description copied from class:LoggerControl
Return to the default value based on the associated control description- Overrides:
setDefault
in classSimpleControl
-