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

Quick Search    Search Deep

iiuf.util
Class RectMap  view RectMap download RectMap.java

java.lang.Object
  extended byiiuf.util.RectMap

public class RectMap
extends java.lang.Object

Map of Rectangles (c) 2001, DIUF

Version:
$Revision: 1.1 $

Field Summary
(package private)  java.util.List rectangles
           
 
Constructor Summary
RectMap()
           
 
Method Summary
 void add(java.awt.Rectangle r)
           
 void extract(RectMap rm)
           
 RectMap filter(RectMapFilter rmf)
           
 RectMap getContained(java.awt.Rectangle rect)
           
 RectMap getIntersecting(java.awt.Rectangle rect)
           
 RectMap getSurrounding(java.awt.Rectangle rect)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 java.util.Collection values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rectangles

java.util.List rectangles
Constructor Detail

RectMap

public RectMap()
Method Detail

add

public void add(java.awt.Rectangle r)

getIntersecting

public RectMap getIntersecting(java.awt.Rectangle rect)

getContained

public RectMap getContained(java.awt.Rectangle rect)

getSurrounding

public RectMap getSurrounding(java.awt.Rectangle rect)

extract

public void extract(RectMap rm)

values

public java.util.Collection values()

filter

public RectMap filter(RectMapFilter rmf)

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).