All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class fi.helsinki.cs.MapDrawer.StripeElement

java.lang.Object
   |
   +----fi.helsinki.cs.MapDrawer.MapElement
           |
           +----fi.helsinki.cs.MapDrawer.StripeElement

public class StripeElement
extends MapElement

Variable Index

 o ep

Constructor Index

 o StripeElement()

Method Index

 o draw(Graphics, MapDrawer, Stack, int)
Draws the shape of this stripe as open polygon.
 o interp(double)
Interpolates the endpoints into a vector of new size.
 o setProperty(MapDProp)
Supported properties: pt[nr], interp, deviate

Variables

 o ep
 protected Vector ep

Constructors

 o StripeElement
 public StripeElement()

Methods

 o draw
 public void draw(Graphics g,
                  MapDrawer contr,
                  Stack layout,
                  int level)
Draws the shape of this stripe as open polygon.

Overrides:
draw in class MapElement
 o interp
 protected void interp(double fact)
Interpolates the endpoints into a vector of new size.

Parameters:
fact - the factor by which the array size is multiplied.
 o setProperty
 public int setProperty(MapDProp p)
Supported properties: pt[nr], interp, deviate

Overrides:
setProperty in class MapElement

All Packages  Class Hierarchy  This Package  Previous  Next  Index