:: com :: sun :: star :: ui :: dialogs ::
|
unpublished |
interface XWizardPage |
|
|
- Base Interfaces
XWizardPage
┗ ::com::sun::star::lang::XComponent
::com::sun::star::lang::XComponent |
- (referenced interface's summary:)
- allows to exclicitly free resources and break cyclic references.
|
|
- Usage Restrictions
- not published
- Description
- is a single page of a Wizard
|
Methods' Summary |
activatePage |
called when the page is activated
|
commitPage |
is called when the page is about to be left
|
canAdvance |
determines whether it is allowed to travel to a later page in the wizard
|
Attributes' Summary |
Window |
provides read-only access to the window of the page
|
PageId |
denotes the ID of the page.
|
Methods' Details |
activatePage
- Description
- called when the page is activated
|
|
commitPage
boolean |
commitPage( |
[in] short |
Reason ); |
- Description
- is called when the page is about to be left
An implementation can veto the leave by returning false here. Usually, the decision about this
depends on the current state of the page.
- Parameter Reason
- is one of the WizardTravelType constants denoting the reason why the page should be
committed.
|
|
canAdvance
- Description
- determines whether it is allowed to travel to a later page in the wizard
You should base this decision on the state of the page only, not on a global state of the wizard. Usually,
you return false here if and only if not all necessary input on the page has been provided by the user,
or the provided input is not valid.
If checked for validity is expensive, or if you prefer giving your user more detailed feedback on validity
than a disabled Next button in the wizard, then move your checks to the commitPage
method.
|
|
Attributes' Details |
Window
[ readonly ] ::com::sun::star::awt::XWindow Window;
- Description
- provides read-only access to the window of the page
|
|
PageId
[ readonly ] short PageId;
- Description
- denotes the ID of the page.
Within a wizard, no two pages are allowed to have the same ID.
|
|
Top of Page
Copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.