Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: form :: component ::

service TimeField
Description
sepecifies the control model for a field which can be used to input time values.

Included Services - Summary
::com::sun::star::awt::UnoControlTimeFieldModel
(referenced entity's summary:)
specifies the standard model of an ::com::sun::star::awt::UnoControlTimeField.
::com::sun::star::form::FormControlModel
(referenced entity's summary:)
specifies a control model within a form.
Exported Interfaces - Summary
::com::sun::star::form::XReset

resets the control. (details)

Properties' Summary
long
DefaultTime
contains a default value for the control.  
Included Services - Details
::com::sun::star::awt::UnoControlTimeFieldModel
(referenced entity's summary:)
specifies the standard model of an ::com::sun::star::awt::UnoControlTimeField.
::com::sun::star::form::FormControlModel
(referenced entity's summary:)
specifies a control model within a form.
Exported Interfaces - Details
::com::sun::star::form::XReset
Description
resets the control.

If you do not set a value for the DefaultTime, then resetting the control will result in setting to to the current system time. This is for HTML compatibility.

Properties' Details
DefaultTime
long DefaultTime;
Description
contains a default value for the control.

This value is used when the control is initially displayed, and for resetting it.

See also
::com::sun::star::awt::UnoControlTimeFieldModel::Time, ::com::sun::star::form::XReset

 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.