|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjtoolbox.Linie
public class Linie
| Field Summary | |
|---|---|
protected java.lang.String |
farbe
|
protected int |
linienDicke
|
protected boolean |
sichtbar
|
protected int |
x1
|
protected int |
x2
|
protected int |
y1
|
protected int |
y2
|
| Constructor Summary | |
|---|---|
Linie()
Konstruktor fuer Hauptfenster |
|
Linie(IContainer behaelter)
Konstruktor |
|
Linie(IContainer behaelter,
int x1,
int y1,
int x2,
int y2)
allgemeiner Konstruktor |
|
Linie(int x1,
int y1,
int x2,
int y2)
Konstruktor fuer Hauptfenster |
|
| Method Summary | |
|---|---|
BasisComponente |
getBasisComponente()
Das Interface IComponente fordert eine Methode die eine BasisComponente zurueckliefert. |
void |
setzeEndpunkte(int neuesX1,
int neuesY1,
int neuesX2,
int neuesY2)
|
void |
setzeFarbe(java.lang.String neueFarbe)
|
void |
setzeLinienDicke(int neueDicke)
Liniendicke setzen |
void |
sichtbarMachen()
|
void |
unsichtbarMachen()
Mache unsichtbar. |
void |
verschieben(int dx,
int dy)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String farbe
protected int linienDicke
protected boolean sichtbar
protected int x1
protected int x2
protected int y1
protected int y2
| Constructor Detail |
|---|
public Linie()
public Linie(IContainer behaelter)
behaelter -
public Linie(IContainer behaelter,
int x1,
int y1,
int x2,
int y2)
behaelter - x2 - y2 -
public Linie(int x1,
int y1,
int x2,
int y2)
x1 - y1 - x2 - y2 - | Method Detail |
|---|
public BasisComponente getBasisComponente()
getBasisComponente in interface IComponente
public void setzeEndpunkte(int neuesX1,
int neuesY1,
int neuesX2,
int neuesY2)
neuesX1 - neuesY1 - neuesX2 - neuesY2 - public void setzeFarbe(java.lang.String neueFarbe)
public void setzeLinienDicke(int neueDicke)
neueDicke - public void sichtbarMachen()
public void unsichtbarMachen()
public void verschieben(int dx,
int dy)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||