AccordionDrawer
Class Lens

java.lang.Object
  |
  +--AccordionDrawer.Lens

public class Lens
extends java.lang.Object

Author:
hilde To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
 int[] center
          center point, in pixel coordinates
 CellGeom item
           
 int[] max
          top right corner, in pixel coordinates
 GridCell[] maxc
           
 int[] min
          bottom left corner, in pixel coordinates
 GridCell[] minc
           
 int[] oldPos
           
 float[] pixels
          framebuffer pixels from last mouseover label drawn
 int[] pos
           
 int[] size
           
 float[] temp_max
           
 float[] temp_min
           
 int[] temp_size
           
 
Constructor Summary
Lens(GridCell[] minc, GridCell[] maxc, int[] pos, int[] _size, CellGeom item, AccordionDrawer d)
           
Lens(int[] _pos, int[] _max, int[] _min, int[] _center, int[] _size, AccordionDrawer d)
           
 
Method Summary
 void draw(java.awt.Color col, float linewidth, float plane)
           
 void drawFlowMenu()
           
 void drawLens()
           
 int[] getCenter()
           
 int[] getMax()
           
 int[] getMin()
           
 int[] getSize()
           
 void init()
           
 void setCenter(int[] xy)
           
 void setMax(int[] xy)
           
 void setMin(int[] xy)
           
 void setSize(int[] _size)
           
 void undrawLens()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

min

public int[] min
bottom left corner, in pixel coordinates


max

public int[] max
top right corner, in pixel coordinates


center

public int[] center
center point, in pixel coordinates


size

public int[] size

pos

public int[] pos

oldPos

public int[] oldPos

pixels

public float[] pixels
framebuffer pixels from last mouseover label drawn


temp_min

public float[] temp_min

temp_max

public float[] temp_max

temp_size

public int[] temp_size

minc

public GridCell[] minc

maxc

public GridCell[] maxc

item

public CellGeom item
Constructor Detail

Lens

public Lens(int[] _pos,
            int[] _max,
            int[] _min,
            int[] _center,
            int[] _size,
            AccordionDrawer d)

Lens

public Lens(GridCell[] minc,
            GridCell[] maxc,
            int[] pos,
            int[] _size,
            CellGeom item,
            AccordionDrawer d)
Method Detail

draw

public void draw(java.awt.Color col,
                 float linewidth,
                 float plane)

undrawLens

public void undrawLens()

init

public void init()

drawLens

public void drawLens()

drawFlowMenu

public void drawFlowMenu()

setMax

public void setMax(int[] xy)

setMin

public void setMin(int[] xy)

setCenter

public void setCenter(int[] xy)

setSize

public void setSize(int[] _size)

getSize

public int[] getSize()

getMax

public int[] getMax()

getMin

public int[] getMin()

getCenter

public int[] getCenter()