Class Interaktionsbrett.Geo
java.lang.Object
Interaktionsbrett.Geo
- Direct Known Subclasses:
Interaktionsbrett.Kreis,Interaktionsbrett.Linie,Interaktionsbrett.Punkt,Interaktionsbrett.Rechteck,Interaktionsbrett.Text
- Enclosing class:
- Interaktionsbrett
abstract class Interaktionsbrett.Geo
extends java.lang.Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Geo(int x, int y) -
Method Summary
Modifier and Type Method Description intgetX()intgetY()abstract booleanistEnthalten(int xx, int yy)voidsetX(int x)voidsetY(int y)voidverschieben(int xx, int yy)abstract voidzeichnen(java.awt.Graphics2D g)
-
Field Details
-
Constructor Details
-
Geo
public Geo(int x, int y)
-
-
Method Details
-
verschieben
public void verschieben(int xx, int yy) -
istEnthalten
public abstract boolean istEnthalten(int xx, int yy) -
zeichnen
public abstract void zeichnen(java.awt.Graphics2D g) -
getX
public int getX() -
getY
public int getY() -
setX
public void setX(int x) -
setY
public void setY(int y)
-