@qooxdoo/framework
Version:
The JS Framework for Coders
59 lines (45 loc) • 1.29 kB
JavaScript
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2004-2008 1&1 Internet AG, Germany, http://www.1und1.de
License:
MIT: https://opensource.org/licenses/MIT
See the LICENSE file in the project's top-level directory for details.
Authors:
* Sebastian Werner (wpbasti)
* Fabian Jakobs (fjakobs)
************************************************************************ */
/**
* This widget draws a separator line between two instances of
* {@link qx.ui.menu.AbstractButton} and is inserted into the
* {@link qx.ui.menu.Menu}.
*
* For convenience reasons there is also
* a method {@link qx.ui.menu.Menu#addSeparator} to append instances
* of this class to the menu.
*/
qx.Class.define("qx.ui.menu.Separator",
{
extend : qx.ui.core.Widget,
/*
*****************************************************************************
PROPERTIES
*****************************************************************************
*/
properties :
{
// overridden
appearance :
{
refine : true,
init : "menu-separator"
},
// overridden
anonymous :
{
refine : true,
init : true
}
}
});