1 /* ************************************************************************
3 qooxdoo - the new era of web development
8 2004-2007 1&1 Internet AG, Germany, http://www.1and1.org
11 LGPL: http://www.gnu.org/licenses/lgpl.html
12 EPL: http://www.eclipse.org/org/documents/epl-v10.php
13 See the LICENSE file in the project's top-level directory for details.
16 * Sebastian Werner (wpbasti)
17 * Andreas Ecker (ecker)
19 ************************************************************************ */
21 /* ************************************************************************
24 ************************************************************************ */
26 qx.OO.defineClass("qx.ui.pageview.AbstractPage", qx.ui.layout.CanvasLayout,
29 qx.ui.layout.CanvasLayout.call(this);
31 if (vButton != null) {
32 this.setButton(vButton);
41 ---------------------------------------------------------------------------
43 ---------------------------------------------------------------------------
47 The attached tab of this page.
49 qx.OO.addProperty({ name : "button", type : "object" });
52 Make element displayed (if switched to true the widget will be created, if needed, too).
53 Instead of qx.ui.core.Widget, the default is false here.
55 qx.OO.changeProperty({ name : "display", type : "boolean", defaultValue : false });
61 ---------------------------------------------------------------------------
63 ---------------------------------------------------------------------------
66 qx.Proto._modifyButton = function(propValue, propOldValue, propData)
69 propOldValue.setPage(null);
73 propValue.setPage(this);