Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jac.aspects.gui.reports.* (1)jac.aspects.gui.swing.* (67)jac.aspects.gui.web.* (76)
jac.aspects.gui.web.html.* (2)

jac.aspects.gui: Javadoc index of package jac.aspects.gui.


Package Samples:

jac.aspects.gui.web.html: Provides a simple and generic GUI (Graphical User Interface) aspect generating HTML pages.  
jac.aspects.gui.reports: Provides a simple and generic GUI (Graphical User Interface) aspect.  
jac.aspects.gui.web: Provides a simple and generic GUI (Graphical User Interface) aspect.  
jac.aspects.gui.swing

Classes:

InputSequence: This class allows a GUI programmer to create input sequences to ask the user to fill a set of parameters when invoking a method. By default, when invoking a method through the GUI, an InputWrapper opens a dialog to fill the parameters values when needed. If an input sequence is attached to this method (see GuiAC.setInputSequence ), then the input wrappers will ask for the parameters using several input dialogs, each one corresponding to a step of the input sequence. Defining a new input sequence is done by concretizing this class. For instance, the following class defines a sequence with two steps ...
TableSorter: A sorter for TableModels. The sorter has a model (conforming to TableModel) and itself implements TableModel. TableSorter does not store or copy the data in the TableModel, instead it maintains an array of integers which it keeps the same size as the number of rows in its model. When the model changes it notifies the sorter that something has changed eg. "rowsAdded" so that its internal array of integers can be reallocated. As requests are made of the sorter (like getValueAt(row, col) it redirects them to its model via the mapping array. That way the TableSorter appears to hold another copy of ...
CustomizedGUI: This class allows the programmer to create simple customized GUIs. The idea is to define sub-panels that can contain views on the objects of the application. The geometric placement of the sub-panel is defined by the setSubPanesGeometry method that has to be called at contruction-time. Once the geometry is chosen, you can tell a pane to contain a view on a given object by using the setObjectForPane or the addReferenceToPane methods. This class must be subclassed by the porgrammer of a JAC application to provide a customized GUI.
CustomizedFileFilter: A convenience implementation of FileFilter that filters out all files except for those type extensions that it knows about. Extensions are of the type ".foo", which is typically found on Windows and Unix boxes, but not on Macinthosh. Case is ignored. Example - create a new filter that filerts out all files but gif and jpg image files: JFileChooser chooser = new JFileChooser(); ExampleFileFilter filter = new ExampleFileFilter( new String{"gif", "jpg"}, "JPEG & GIF Images") chooser.addChoosableFileFilter(filter); chooser.showOpenDialog(this);
InvokeThread: This class allows the programmer to invoke a given method in a new thread. JAC programmers should use JAC to pass some attibutes of the current thread to the new thread. Typical use: InvokeThread.run( myObject, "myMethodName", new Object[] { arg0, ...}, new String[] { attrName0, ... }, new Object[] { attrValue0, ... }, new String[] { lattrName0, ... }, new Object[] { lattrValue0, ... } );
DisplayContext: This class implements a display context. A display context contains a display (i.e. means to interact with the user and to create new view in customized vindows), and a customized view (i.e a root window of a GUI). A display context is passed in the interaction's flow so that each element of the GUI can construct the right GUI elements using the contextual factory. It is a defined as a collaboration attribute used by aspects needing to interact with the GUI (e.g. authentication, confirmation).
TableMap: In a chain of data manipulators some behaviour is common. TableMap provides most of this behavour and can be subclassed by filters that only need to override a handful of specific methods. TableMap implements TableModel by routing all requests to its model, and TableModelListener by routing all events to its listeners. Inserting a TableMap which has not been subclassed into a chain of table filters should have no effect.
FieldEditor: This class defines a Swing component editor for primitive fields in objects. By default this view constructs an embedded JTextField containing the string representation of the field value. However, the field can be attributed to be displayed with a customized rendering by the GUI aspect component. When the field of an object is a collection of a reference, then other types of wiews are used.
FieldView: This class defines a Swing component view for primitive fields in objects. By default this view constructs an embedded JLabel containing the string representation of the field value. However, the field can be attributed to be displayed with a customized rendering by the GUI aspect component. When the field of an object is a collection of a reference, then other types of wiews are used.
Actions: This class is a container of commonly used GUI actions static methods. Usually, a GUI action takes in parameter the display context. Using the context, is can then know the customized window to use to interact with the users. When an action does not take any display context, it means that it does not need any interaction with the GUI or that the display context is retrieved throught the collaboration.
WebGui: This class provides a server for web clients using a thin client protocol and implements the Display interface to assume data inputs and outputs between JAC objects and web clients. This inferface is typically used by Java web clients and more specifically by servlets. The implementation provided by JAC is JacServlet .
WebDisplay: This class provides a server for web clients using a thin client protocol and implements the Display interface to assume data inputs and outputs between JAC objects and web clients. This inferface is typically used by Java web clients and more specifically by servlets. The implementation provided by JAC is JacServlet .
ViewControlWrapper: This wrapper updates the views of a given object when its state changes, that is to say when a write method is called on the wrappee. A view controller can control several views of the same wrappee at the same time. This mecanism is similar to the famous MVC design pattern. The model is the wrappee and the controller is the wrapper.
CollectionView: This class defines a Swing component view for collections of objects. By default this view constructs an embedded JList containing the string representation of the contained object. However, depending on the attributes defined on the collection by the GUI aspect component, the view can be customized.
ReferenceView: This class defines a Swing component view for references in objects. By default this view constructs an embedded JLabel containing the string representation of the referenced object. However, the field can be attributed to be displayed with a customized rendering by the GUI aspect component.
ReferenceView: This class defines a Swing component view for references in objects. By default this view constructs an embedded JLabel containing the string representation of the referenced object. However, the field can be attributed to be displayed with a customized rendering by the GUI aspect component.
ReferenceView: This class defines a Swing component view for references in objects. By default this view constructs an embedded JLabel containing the string representation of the referenced object. However, the field can be attributed to be displayed with a customized rendering by the GUI aspect component.
GuiAC: This aspect component implements a very simple GUI that allows the user to browse the named object of the system and call methods on them. It implements a MVC design pattern where the controllers are implemented by ViewWrapper instances.
AppletView: This class allows the programmer to insert specialized object views defined as applets. This is useful when views can be used by an Internet browser at client-side. The programmer must subclass this class and overload the init method.
AbstractSwingDisplay: This class provides the base impllementation of a display for the Swing toolkit. It is a frame (top-level window) that implements default behaviors for the Display insterface except the show method.
Request: This class defines requests that come from web clients. When a request is performed to a AbstractServer , a new instance of this class is created and is pushed on the request stack of the current session.
ProgramView: This class implements the default view that allows the user to introspect and manipulate JAC programs (an that objects that run whithin the system). This display is used for the JAC administration interface.
DefaultCompletionEngine: This class implements a default completion engines for editors. It is non contextual (i.e. the proposed completions are always the same and are the ones defined by addBaseWord .
ObjectView: This class defines a generic view on JAC objects. It contains the fields and an action button for each method. For each field and depending on its type, it embeds the needed view.
Block: HTML Block Composite. Block of predefined or arbitrary type. Block types are predefined for PRE, BLOCKQUOTE, CENTER, LISTING, PLAINTEXT, XMP, DIV (Left and Right) and SPAN.

Home | Contact Us | Privacy Policy | Terms of Service