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 int
getX()
int
getY()
abstract boolean
istEnthalten(int xx, int yy)
void
setX(int x)
void
setY(int y)
void
verschieben(int xx, int yy)
abstract void
zeichnen(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)
-