interface XReset in module com::sun::star::form::

(Global Index)

Syntax

interface XReset : com::sun::star::uno::XInterface ;

Description

provides functionality to reset components to their default values.

Method Summary

reset resets a component to its default value.

addResetListener adds the specified listener to receive the "approveReset" and "reset" events.

removeResetListener removes the specified listener.

Known Services Which Export this Interface

com::sun::star::form::DataAwareControlModel

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Method Details



reset

Syntax

oneway void reset ();

Description

resets a component to its default value.


addResetListener

Syntax

oneway void addResetListener (
com::sun::star::form::XResetListener aListener );

Description

adds the specified listener to receive the "approveReset" and "reset" events.

Parameter aListener

the listener to add.

See also

XResetListener

removeResetListener

Syntax

oneway void removeResetListener (
com::sun::star::form::XResetListener aListener );

Description

removes the specified listener.

Parameter aListener

the listener to remove.

See also

XResetListener
Top of Page