(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

service ImageButton
Description
describes a control which can be used for displaying images on a control acting like a button.

The model of the control has to support the ::com::sun::star::form::component::ImageButton service.

The control is clickable, the action taken upon clicking depends on the settings of the model the control belongs to.

See also
::com::sun::star::awt::UnoControl, ::com::sun::star::awt::UnoControlModel, ::com::sun::star::form::component::ImageButton::ButtonType

Included Services - Summary
::com::sun::star::awt::UnoControlImageControl
(referenced entity's summary:)
specifies a control for displaying an image.
Exported Interfaces - Summary
::com::sun::star::form::XApproveActionBroadcaster

allows external instances to register as veto listener for the button's actions. (details)

Included Services - Details
::com::sun::star::awt::UnoControlImageControl
(referenced entity's summary:)
specifies a control for displaying an image.
Exported Interfaces - Details
::com::sun::star::form::XApproveActionBroadcaster
Description
allows external instances to register as veto listener for the button's actions.

An ::com::sun::star::form::XApproveActionListener returning false on it's approve-method will prevent any action which would usually be triggered - this includes not only submitting or resetting forms, but also calling the ::com::sun::star::awt::XActionListeners of the super service
This may be interesting for e.g. forms which want to provide input validation before submitting data.

See also
::com::sun::star::form::component::HTMLForm, ::com::sun::star::form::XSubmit, ::com::sun::star::form::XReset, ::com::sun::star::awt::XButton

 
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.