Class Interaktionsbrett.Rechteck

java.lang.Object
  extended by Interaktionsbrett.Geo
      extended by Interaktionsbrett.Rechteck
Enclosing class:
Interaktionsbrett

 class Interaktionsbrett.Rechteck
extends Interaktionsbrett.Geo


Field Summary
 
Fields inherited from class Interaktionsbrett.Geo
x, y
 
Constructor Summary
Interaktionsbrett.Rechteck(int x, int y, int breite, int hoehe)
           
 
Method Summary
 int getBreite()
           
 int getHoehe()
           
 boolean istEnthalten(int x, int y)
           
 void setBreite(int breite)
           
 void setHoehe(int hoehe)
           
 void zeichnen(java.awt.Graphics2D g)
           
 
Methods inherited from class Interaktionsbrett.Geo
getX, getY, setX, setY, verschieben
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interaktionsbrett.Rechteck

public Interaktionsbrett.Rechteck(int x,
                                  int y,
                                  int breite,
                                  int hoehe)
Method Detail

getBreite

public int getBreite()

getHoehe

public int getHoehe()

istEnthalten

public boolean istEnthalten(int x,
                            int y)
Specified by:
istEnthalten in class Interaktionsbrett.Geo

setBreite

public void setBreite(int breite)

setHoehe

public void setHoehe(int hoehe)

zeichnen

public void zeichnen(java.awt.Graphics2D g)
Specified by:
zeichnen in class Interaktionsbrett.Geo