ftp.nice.ch/pub/next/developer/resources/classes/FileQueue.README

This is the README for FileQueue.s.tar.gz [Download] [Browse] [Up]

FileQueue


DESCRIPTION

The FileQueue Class is an Interface Builder Module to implement a queue of strings, like a list of files.  A panel can be displayed that will show the files in the queue, and allow the user to remove or adjust the order of items.  The calling object has the option of requesting items immediately, or via a target-action technique to receive files when the FileQueue instance is ready.


FEATURES

· The items can be returned via an immediate function to get the next item, or by notifying the queue to send the next available item - this target-action like technique allows the pause button to be used effectively.

· The control panel is configured in the IB, including the matrix used to hold the items.  This allows the font, spacing, and positioning to be set quite easily.

· The queue was designed to hold a list of files pending processing, but can hold any list of strings.

USAGE

Install the module in the Interface Builder by opening the Project Inspector panel and adding the .h&m, and .nib files to the Files section.  You must call one of the new class methods from your own code.  A GIF file viewing program is forthcoming that uses this module.

Since this is one of the first Public Domain NeXT objects, comments are welcomed to help make this code useful.  The code is intended to provide clear, correct use of the Application Kit, rather than fast, but dirty code.


Carl F. Sutter
Academic Software Development Consultant
University of Southern California
University Computing Services
(213) 743-3826   sutter@ozone.usc.edu (NeXT mail)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.