All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class element.Spline

java.lang.Object
   |
   +----java.awt.Component
           |
           +----element.GenericShape
                   |
                   +----element.NotBoundedShape
                           |
                           +----element.Line
                                   |
                                   +----element.Spline

public class Spline
extends Line
This class implements the spline functionality


Constructor Index

 o Spline()

Method Index

 o draw(Graphics)
Draws the shape on the screen
 o getShapeAsInt()
Returns the shape's type
 o shapeText()
Returns the pic text assotiated with this shape

Constructors

 o Spline
 public Spline()

Methods

 o draw
 public void draw(Graphics graphics)
Draws the shape on the screen

Overrides:
draw in class Line
 o getShapeAsInt
 public int getShapeAsInt()
Returns the shape's type

Overrides:
getShapeAsInt in class Line
 o shapeText
 public String shapeText()
Returns the pic text assotiated with this shape

Overrides:
shapeText in class Line

All Packages  Class Hierarchy  This Package  Previous  Next  Index