|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
| ActionManager | The ActionManager manages sets of javax.swing.Action. |
| UIFactory | Creates user interface elements based on action-lists managed in an ActionManagaer. |
Contains classes which implement a higher level of functionality on top of the JFC/Swing API.
Some classes work together to create a user interface application framework based on an
XML described
javax.swing.Action
architecture. The architecture delegates the actionPerformed
method to any public method on a class. The architecture will also support multi state actions
(like toggle and radio actions).
The Action properties are specified in an XML document. Container components like menus and toolbars are represented as trees and lists of actions. The behavior of the Action is abstracted to a public method on another class. This allows for the re-use of the basic action properties between applications.
The notable classes in this package which contribute to this architecture are:
Reponsible for the management of the XML defined Actions contained in action-set documents. The action-set syntax is described in the action-set.dtd. The elements in an action-set have unique identifiers. Passing these identifiers into the ActionManager may retrieve the Actions and action-lists that are contained in the managed action-sets.
This class contains a set of factory methods to construct user interface elements. In particular, it uses the ActionManager to create composite user interface components from lists and trees of action like menus, toolbars and popups.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||