edu.mit.sketch.system
Class SketchItemIndex

java.lang.Object
  |
  +--edu.mit.sketch.system.SketchItemIndex

public class SketchItemIndex
extends Object

This provides an index of sketch items that can be accessed either by time, or space, or some combination of these indexes. It provides access methods that themselves return other SketchItemIndex objects so that they can act as a series of filters.

TODO: This class is currently missing all but the most basic accessor methods to the data.

Created: Mon Nov 5 16:24:31 2001 Copyright: Copyright (C) 2001 by MIT. All rights reserved.


Constructor Summary
SketchItemIndex()
           
SketchItemIndex(SketchItemIndex wi)
           
 
Method Summary
 void addItem(BBItem item)
          Add an item to the index.
 SketchItemIndex getWithinBounds(Rectangle rectangle)
           
 SketchItemIndex getWithinBounds(Rectangle bounds, int distance)
           
 Iterator iterator()
          An iterator over all of the items this index knows about.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SketchItemIndex

public SketchItemIndex()

SketchItemIndex

public SketchItemIndex(SketchItemIndex wi)
Method Detail

getWithinBounds

public SketchItemIndex getWithinBounds(Rectangle rectangle)

getWithinBounds

public SketchItemIndex getWithinBounds(Rectangle bounds,
                                       int distance)

addItem

public void addItem(BBItem item)
Add an item to the index.

iterator

public Iterator iterator()
An iterator over all of the items this index knows about.