Package com.partnersoft.gadgets

Interface Summary
ActivityProgressListener Something that's interested in an ActivityProgress's changes.
Selectable A selectable thing.
Selector This is an object which allows the selection of another object from a set of valid objects.
SpecificationListener A listener that hears SpecificationEvents.
Specifier This is an object which allows specification of another object, for example through a GUI.
Toggle A toggle is an on/off switch that broadcasts state changes to ToggleListeners.
ToggleListener A listener that hears ToggleEvents.
UndoableCommand An undoable/redoable command.
 

Class Summary
ActionBureau A bureau and dispatcher for named actions.
ActionGadget Handy gadget for announcing actions from an object.
ActivityProgress A model for tracking multi-stage, sequential tasks.
ActivityProgressEvent An event generated from an ActivityProgress model.
AsynchronousCommand  
AsynchronousCommandQueue A manager for asynchronous commands.
ChangeGadget Handy gadget for announcing changes to an object.
CogDeleteObjectsCommand An undoable/redoable command to delete multiple properties in a Cog structure.
CogSetObjectCommand An undoable/redoable command to set a property in a Cog structure.
CogSetObjectsCommand An undoable/redoable command to set multiple properties in a Cog structure.
CogUndoStack This provides a simple API for making undoable changes to a Cog.
EventMulticaster A utility for managing Event multicasting.
HardCache A basic hard reference caching implementation based on a hashed index.
HashedCache A fixed-size caching implementation based on a hashed index.
LoggingRatioCounter Pretty stupid - logs a ratio every so many increments based on a count.
LoggingThingCounter Pretty stupid - logs every so many increments based on a count.
LoopingThread Takes care of the (surprisingly annoying) case of repeating a task at a regular interval.
ProcessingQueue A little processing queue with its own thread.
ProgressTracker Seriously overdesigned progress tracking gadget.
SelectedToggle A toggle that is true when an specified item is non-null, and false otherwise.
SelectionAdaptor This class adapts one selector to another using a mapping items from one selection set to the other.
SoftCache A basic soft reference caching implementation based on a hashed index.
SpecificationEvent An event that announces that some object has been specified.
SpecificationPrinter Handy debug thing that prints specified items to System.out.
SpecifierCombiner Combines the output from a list of Specifiers, creating a single Specifier.
SpecifierCoupler A SpecifierCoupler couples a set of specifiers together so that when an item is specified on one, it is specified on the others.
SpecifierGadget A minimal implementation of Specifier.
StopWatch A basic stopwatch; handy for testing and such.
ToggleCombiner Combines the results of several toggles into one.
ToggleEvent An event that announces that some boolean switch has changed state.
ToggleGadget A minimal implementation of Toggle.
TogglingEventListener  
TriggeredThread Takes care of the (surprisingly annoying) case of running a task on a separate thread whenever some event occurs.
UndoableWithSideEffects This handles an annoying case in undo-land.
UndoStack Handles an undo/redo stack.