infovis.visualization.magicLens
Class ExcentricItem
java.lang.Object
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
ExcentricItem
public ExcentricItem(Visualization visualization,
int index)
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.