Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XSubmit

Base Interface
com::sun::star::uno::XInterface

Description
provides functionality to submit a component. This is used in common by forms.

When a form is submitted, the data contained in the form is sent to the target URL as a series of name/value pairs. The name portion of each pair is the name of a form component as specified by its NAME attribute. In most cases the value portion is the value displayed by the element, for example, the text displayed in a text field.



Known Services which Export this Interface

com::sun::star::form::component::HTMLForm This service specifies the special form kind for HTML documents.

Methods' Summary

submit submits the component to a specified target.
addSubmitListener adds the specified listener to receive the "approveSubmit" event.
removeSubmitListener removes the specified listener.

Methods' Details

submit
 
[ oneway ] void
submit(
[ in ] com::sun::star::awt::XControl aControl,
[ in ] com::sun::star::awt::MouseEvent aMouseEvt );

Description
submits the component to a specified target.
Parameter aControl
the control to be submitted.
Parameter aMouseEvt
the event happend.
See also
com::sun::star::awt::MouseEvent
addSubmitListener
 
[ oneway ] void
addSubmitListener(
[ in ] com::sun::star::form::XSubmitListener aListener );

Description
adds the specified listener to receive the "approveSubmit" event.
Parameter aListener
the listener to add.
See also
com::sun::star::form::XSubmitListener
removeSubmitListener
 
[ oneway ] void
removeSubmitListener(
[ in ] com::sun::star::form::XSubmitListener aListener );

Description
removes the specified listener.
Parameter aListener
the listener to remove.
See also
com::sun::star::form::XSubmitListener

Top of Page