| Home >> All >> org >> mitre |
Package Samples:
org.mitre.cvw
org.mitre.cvw.console
org.mitre.cvw.docclnt
org.mitre.cvw.docserv
org.mitre.cvw.search
org.mitre.cvw.util
org.mitre.cvw.platform.window
Classes:
DSIController: A shell class to handle launching of DocServer threads. Other classes wishing to control the Document Server and get information should funnel all calls through this shell. This class also deals with user-interface issues and error reporting. The calling routine can call into here and never worry again about what happens. This allows DSIController to run multiple document server threads and control the results. In beginning, the document server availability was also tied to the availability of the Netscape plugin (NPDocServer), since this client was an applet. Now that it is an application, the ...
FileHandler: File system interface for Java Client. This class provides a generic file interface, regardless whether the file is text or binary. The file can either be opened for writing or reading, but not both (bad things happen). If opened for reading, only the read streams will be created. Likewise, only the write streams will be initialized if the file is opened for writing. Certain functions will be available depending on whether the file is text or binary. For text files, the methods available are: writeFile(String) readFile() getLastRead() getFileSize() close() And for binary files, the available functions ...
UserGroupSelection: This is a panel which represents the "Permissions", "Access" or "Members" tab of the "Get Information" dialog. It is used to add users/groups to permissions of any object, the access of a room members of a group It has three instances of SortedNameDescMultiList: one for listing current cvw users or groups, a second for specifying the users associated with this object , and a third for specifying the groups associated with this object. The Members tab for a Group Get Information dialog is the only panel that allows drag and drop, and actually it only allows ...
WindowMgr: This singleton class manages any open window. There is a vector to manage the tool windows and the popup pages window. Currently not used is a vector to manage system windows. To manage windows that represent CVWObjects, a hashtable of hashtables is used, where the object number of the CVWObject is the key into the first hashtable and the value of this element is a hashtable. This second hashtable is contains the window class name as the key and the instance to the window as the value. There is also a pointer to the Whiteboard Manager which has the same functions. This class has the following functions: ...
ImageApp: This is the class which process the user images. It is referred to as ImageApp because in the beginning it was a separate applet. It was built to be able to display the image version of the Contents panel and any folder, though this functionality was never tested. 8/26/99 dage - use awt label and scrollbar, in converting these to swing the scrolling behavior broke and I was not able to debug in less than a day. 2/2/00 dage - use awt panel for containr of label and sizeLabel, otherwise bold Users was not in the correct font on some systems
WhoUserProcessor: This class processes the results of a cvw-lookup-who-request or the old moo command "who". For each cvw-lookup-who-user that the CVW server sends, a formatted string is created with the proper spacing. The beginning of each string contains a time stamp of either the last active time or the last disconnect time of the user followed by >>!<< this is followed by the actual formatted string to be displayed. This time stamp is used by the sorting algorithm and stripped when the string is actually being displayed.
DragSourceAdapter: An abstract adapter class for receiving drag events. The methods in this class are empty. This class exists as convenience for creating listener objects. Extend this class to create a DragSourceEvent listener and override the methods for the events of interest. (If you implement the DragSourceListener interface, you have to define all of the methods in it. This abstract class defines null methods for them all, so you can only have to define methods for events you care about.)
RoomScrollbackLayout: The layout manager used by JScrollPane. JScrollPaneLayout is responsible for nine components: a viewport, two scrollbars, a row header, a column header, and four "corner" components. Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.
ConfirmationDialog: A generic confirmation dialog. This is as close to generic as we can be with java. The procedure takes an applet as the first parameter and an "enumerated" type as the second. So when a button is pressed, this will call .handle Response. with the parameter true/false (corresponds to ok/cancel) and a string which was passed in as the third parameter in the constructor. The fourth parameter, BTW, is the text to appear on the dialog.
StatusBar: This class is the gui for the status bar at the bottom of the window. It is semi configurable in that the host window can add icon images to the icon panel which is the right most panel. A system message can be shown with or with out a timer. With it will be displayed for 5 sec or until another message overrides it. If no timer is used then the window is responsible for clearing it or it will be cleared when another message gets set.
AuditListFrame: This class displays a static of objects owned by a CVW user. It also displays a list of objects that the user has permissions to edit. Because this list is static, the user must close and reopen the window. Currently this client only allows the current user to view their own objects, and not objects owned by a different user. This limitation is not in this code but as a filter on the code received from the CVW server.
CVWFontController: The CVWFontController class provides a mechanism to controls fonts in an application wide method. Right now there are only component wide settings (i.e. all text areas). We want to add support for cvw specific settings (i.e. error boxes, text input, text output, etc) in the future. This class is, for the most part, a proxy to the UIManager. This could probably be eliminated completely.
ObjectAccessPanel: although this is called the ObjectAccessPanel, it is used to display either the members of a group or the acl of a room. ObjectOwnerPanel displays the owners/access of all objects. The members of a group are the contents of that group... this makes sense... however the users on the acl of a room are considered the contents of the room, this doesnt make sense but it works.
AVToolFrame: This is a simple window with some instructions it is used to get the desired size and location from the user for the audio and video tools. This is because we can't get the dimensions of the actual audio/video tool, have the user save the location and size of a dummy window and then use those dimensions for the actual audio/video tool.
SortedNameDescMultiList: This is a panel which implements a specific type of MultiList. It contains two columns, the first is the name of the object and the second is a detailed name. It is specifically used for listing users and groups within the Permissions, Access and Members tab of the Get Information dialogs, as well as in the Group Manager.
SentCVWCmds: This is a class which has a vector which stores the a maximum number (MAX) of past cvw commands sent to the server. The storage structure is a circular vector so that the vector space is used over and over. However, the display of past commands is non-circular, that is there is a first command and a last command.
DnDJTabbedPane: This fixes the bug where a JTabbedPane does not do drag and drop to the correct target if the target is on a pane other than the first pane. This workaround was reported at the following web site http://developer.java.sun.com/developer/bugParade/bugs/4193463.html it was submitted by bazyl@process.com
UserMenuControl: User Popup menu controller This class will control the various user menus that may exist. Upon initialization, this class will create the different menus and save them in a hashtable. When requested a menu, the class will lookup the appropriate menu and activate its show() method.
CVWTreeMapWin: This is a window displaying hierarchical of rooms in the CVW. It handles both storage and display the map data. It is updated by the CVW server whenever map data changes (e.g. a floor is added or removed, a room's name changes, etc). Based off of org.mitre.cvw.CVWMapWin.
CVWPreferences: This class processes all user preferences whether stored locally on the user's workstation or on the CVW server. Note that the preferences stored on the CVW server are instance vars, whereas the preferences stored locally are part of a java.util.Properties instance.
UserMenu: This class will create a menu for a representation of a user in the client program. When a user right clicks on the user representation (image or list item), this menu will appear and allow for different communications or information about that user.
CVWMapWin: This is the window displaying the layout of rooms in the CVW. It handles both storage and visual display the map data. It is updated by the CVW server whenever map data changes (e.g. a floor is added or removed, a room's name changes, etc).
Authenticator: This class processes all cvw-auth MCP commands that are sent to and from the CVW server; it is a stub for future expansion of different more stringent authentication methods. Currently, this client only supports "basic".
NPDocServerUtils: native code utilities interface This class will provide the functions for finding and starting external programs on various machines. This class can't be instantiated directly, but created through a call to getInstance()
XmlCProperties: The XmlProperties class represents a persistent hashtable in which all entries are strings. The XmlProperties can be saved to a stream or loaded from a stream. XML is used as the external format.
| Home | Contact Us | Privacy Policy | Terms of Service |