praktikum9
Class Ovaal

java.lang.Object
  extended by java.awt.geom.RectangularShape
      extended by java.awt.geom.Rectangle2D
          extended by java.awt.Rectangle
              extended by praktikum9.Kujund
                  extended by praktikum9.Ovaal
All Implemented Interfaces:
Shape, Serializable, Cloneable

public class Ovaal
extends Kujund

Ovaali klass. Klassi Kujund alamklass. Kujundi ankrupunkt ja mõõdud pärinevad ülemklassist.

Version:
10.03.2009
Author:
Jüri Kiho
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D
Rectangle2D.Double, Rectangle2D.Float
 
Field Summary
 
Fields inherited from class praktikum9.Kujund
täis, värv
 
Fields inherited from class java.awt.Rectangle
height, width, x, y
 
Fields inherited from class java.awt.geom.Rectangle2D
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
 
Constructor Summary
Ovaal()
           
 
Method Summary
 void joonistada(Graphics g)
          Kujundi joonistamine.
 
Methods inherited from class praktikum9.Kujund
joonistadaAla
 
Methods inherited from class java.awt.Rectangle
add, add, add, contains, contains, contains, contains, createIntersection, createUnion, equals, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, move, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, toString, translate, union
 
Methods inherited from class java.awt.geom.Rectangle2D
add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union
 
Methods inherited from class java.awt.geom.RectangularShape
clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.Shape
contains, contains, contains, contains, getPathIterator, getPathIterator, intersects, intersects
 

Constructor Detail

Ovaal

public Ovaal()
Method Detail

joonistada

public void joonistada(Graphics g)
Description copied from class: Kujund
Kujundi joonistamine.

Specified by:
joonistada in class Kujund
Parameters:
g - graafikakontekst