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

    Fields 
    Modifier and Type Field Description
    protected int x  
    protected int y  
  • 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)  

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      protected int x
    • y

      protected int y
  • 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)