infovis.visualization.magicLens
Interface Fisheye

All Superinterfaces:
MagicLens
All Known Implementing Classes:
DefaultFisheye

public interface Fisheye
extends MagicLens

Class Fisheye

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

Field Summary
static String PROPERTY_FOCUS_HEIGHT
           
 
Fields inherited from interface infovis.visualization.MagicLens
PROPERTY_ENABLED, PROPERTY_LENS_POSITION_X, PROPERTY_LENS_POSITION_Y, PROPERTY_LENS_RADIUS
 
Method Summary
 float getFocusHeight()
          Returns the height of the focus area.
 void setFocusHeight(float h)
          Sets the height of the focus area.
 void transform(float[] coords, int npoints)
           
 Point2D transform(Point2D pt)
           
 void transform(Point2D src, Point2D dst)
           
 Shape transform(Shape s)
          Transforms the specified shape, returning its deformation through the Fisheye.
 
Methods inherited from interface infovis.visualization.MagicLens
addPropertyChangeListener, addPropertyChangeListener, getBounds, getLensRadius, getLensX, getLensY, isEnabled, removePropertyChangeListener, removePropertyChangeListener, setEnabled, setLens, setLensRadius, setLensX, setLensY
 

Field Detail

PROPERTY_FOCUS_HEIGHT

static final String PROPERTY_FOCUS_HEIGHT
See Also:
Constant Field Values
Method Detail

transform

Shape transform(Shape s)
Transforms the specified shape, returning its deformation through the Fisheye.

Parameters:
s - the initial shape
Returns:
the transformed shape

transform

Point2D transform(Point2D pt)

transform

void transform(Point2D src,
               Point2D dst)

transform

void transform(float[] coords,
               int npoints)

getFocusHeight

float getFocusHeight()
Returns the height of the focus area.

Returns:
the height of the focus area

setFocusHeight

void setFocusHeight(float h)
Sets the height of the focus area.

Parameters:
h - the height of the focus area.


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