1 /* ************************************************************************
3 qooxdoo - the new era of web development
8 2004-2006 by 1&1 Internet AG, Germany, http://www.1and1.org
11 LGPL 2.1: http://www.gnu.org/licenses/lgpl.html
14 * Sebastian Werner (wpbasti)
15 * Andreas Ecker (ecker)
17 ************************************************************************ */
19 /* ************************************************************************
21 #module(ui_buttonview)
23 ************************************************************************ */
25 qx.OO.defineClass("qx.ui.pageview.buttonview.Pane", qx.ui.pageview.AbstractPane,
27 qx.ui.pageview.AbstractPane.call(this);
30 qx.OO.changeProperty({ name : "appearance", type : "string", defaultValue : "bar-view-pane" });
39 ---------------------------------------------------------------------------
41 ---------------------------------------------------------------------------
44 qx.Proto._applyStateAppearance = function()
46 var vPos = this.getParent().getBarPosition();
48 this._states.barHorizontal = vPos === "top" || vPos === "bottom";
50 qx.ui.pageview.AbstractButton.prototype._applyStateAppearance.call(this);