Hej Sebastian!

Can you clean the previous directory (buttonpane_olsson) and add only
the files attached.

Kent
Title: qooxdoo demo

Testing the ButtonPane implementation.

The pane consists of a group of buttons very often used; ok, cancel and help.

Attachment: Definitions.js
Description: JavaScript source

Attachment: QxButtonPane.js
Description: JavaScript source

The QxButtonPane is a class which contains the most commonly used buttons in a dialog; the ok button, the cancel button and the help button.

Files
=====
QxButtonPane.js		The button pane class.
Definitions.js		The class definitions not yet implemented in the Qooxdoo framework.
ButtonPane_1.html	The example class.

Class Relationship
==================
QxButtonPane is a class which is intended to be used as a standard row of buttons. It is very often used with the QxDialog class.

QxOptionPane is a specialized user interaction class, which can be used inside a QxDialog class, to create standard dialogs. It uses the QxButtonPane class.

QxDialog has a utility method which adds a button pane at a specific position of the dialog window.

Usage
=====
The class can be used in any application by adding the following two lines in your code. The Definitions.js file includes the setup of static as well as dynamic variable data for the class to be created, which has not yet been included in the Qooxdoo framework.

<script type="text/javascript" src="qooxdoo/source/contributed/buttonpane_olsson/Definitions.js"></script>
<script type="text/javascript" src="qooxdoo/source/contributed/buttonpane_olsson/QxButtonPane.js"></script>

You have to change the path in relation to your own code.

The Demo Class
==============
Shows creation of one horizontal and one vertical button pane. Examples of usage can also be found in the QxOptionPane and the QxDialog classes.

Reply via email to