Preambule
One of the major step in computer science,
with the object oriented programming, is the development of graphical
interfaced programs permitting to facilitate the learning of a software
and to ease its use for the user.
What is X API
version 2.0 ?
The graphical API X version 2.0 is the
graphical interface user interface programming environment offered with
the Moka SDK. X version 2.0 preserve the look and feel of the
anterior version (used in TIBOOL, NOOL and COOL), but is greatly
improved. The esthetics have been improved, but the upgrade has touched mainly the API
itself. Now, the programmer
don't need to worry about the management of the display, the keyboard
or the mouse. This role is now fulfilled by the GEM object (or
Graphical Environment Manager).
X version 2.0 possibilities
X API allows between others :
- An esthetic, intuitive and fontionnal user interface
- The creation of multiple windows applications
- Event driven programming : managing of event generated by user action
(mouse click, mnemonic) and by Interupt type object (programmed by the
programmer)
- It is easy to inherit from a X visual component class to create
rapidly another (more specific) component.
- The Graphical Environment
Manager (GEM) manages display, keyboard, mouse and even drag and drop
routines.
The classes
of the visual components
moka.x. Bevel : A decorative bevel
moka.x. Button : A push button
moka.x. Canvas : A canvas for
drawing
moka.x. CheckBox : A check box
moka.x. ComboBox : Displays a list
as a combo box
moka.x. Component : The class from
whom all visual components inherit
moka.x. Container : The class from whom all container (windows,
panels, etc.) inherit
moka.x. Frame : A graphical window
moka.x. GEM : The class who
definites the Graphical Environment Manager
moka.x. Image : Displays an
image
moka.x. Label : A text label
moka.x. List : Displays a list
moka.x. OptionPane: Propose many
methods to display various dialogs
moka.x. Panel : A panel able to
contain other components
moka.x. RadioButton : A select button
moka.x. TextArea : A text area
moka.x. TextField : A text field
moka.x.Menu : A menu
moka.x.MenuItem : A menu's item
moka.x.MenuBar : A bar of menus