Class Interaktionsbrett.Linie

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

 class Interaktionsbrett.Linie
extends Interaktionsbrett.Geo


Field Summary
 
Fields inherited from class
x, y
 
Constructor Summary
Interaktionsbrett.Linie(int x, int y, int x2, int y2)
           
 
Method Summary
 boolean istEnthalten(int x1, int y1)
           
 void verschieben(int dx, int dy)
           
 void zeichnen(java.awt.Graphics2D g)
           
 
Methods inherited from class
getX, getY, setX, setY
 
Methods inherited from class
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interaktionsbrett.Linie

public Interaktionsbrett.Linie(int x,
                               int y,
                               int x2,
                               int y2)
Method Detail

istEnthalten

public boolean istEnthalten(int x1,
                            int y1)
Specified by:
istEnthalten in class Interaktionsbrett.Geo

verschieben

public void verschieben(int dx,
                        int dy)
Overrides:
verschieben in class Interaktionsbrett.Geo

zeichnen

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