infovis.visualization.magicLens
Class ExcentricItem

java.lang.Object
  extended by infovis.visualization.magicLens.ExcentricItem
All Implemented Interfaces:
LabeledComponent.LabeledItem
Direct Known Subclasses:
StrokingExcentricItem

public class ExcentricItem
extends Object
implements LabeledComponent.LabeledItem

Class ExcentricItem

Version:
$Revision: 1.5 $
Author:
Jean-Daniel Fekete

Constructor Summary
ExcentricItem(Visualization visualization, int index)
           
 
Method Summary
 boolean equals(Object obj)
           
 Point2D getCenterIn(Rectangle2D focus, Point2D ptOut)
           
 Color getColor()
           
 Component getComponent()
           
 int getIndex()
           
 String getLabel()
           
static Point2D getPreciseShapeCenterIn(Shape s, Rectangle2D focus, Point2D ptOut)
           
 Shape getShape()
           
static Point2D getShapeCenterIn(Shape s, Rectangle2D focus, Point2D ptOut)
           
 Table getTable()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExcentricItem

public ExcentricItem(Visualization visualization,
                     int index)
Method Detail

getPreciseShapeCenterIn

public static Point2D getPreciseShapeCenterIn(Shape s,
                                              Rectangle2D focus,
                                              Point2D ptOut)

getShapeCenterIn

public static Point2D getShapeCenterIn(Shape s,
                                       Rectangle2D focus,
                                       Point2D ptOut)

getComponent

public Component getComponent()
Specified by:
getComponent in interface LabeledComponent.LabeledItem

getShape

public Shape getShape()
Specified by:
getShape in interface LabeledComponent.LabeledItem

getCenterIn

public Point2D getCenterIn(Rectangle2D focus,
                           Point2D ptOut)
Specified by:
getCenterIn in interface LabeledComponent.LabeledItem

getColor

public Color getColor()
Specified by:
getColor in interface LabeledComponent.LabeledItem

getLabel

public String getLabel()
Specified by:
getLabel in interface LabeledComponent.LabeledItem

toString

public String toString()
Overrides:
toString in class Object

getTable

public Table getTable()

getIndex

public int getIndex()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.