|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--drawables.Drawable
|
+--drawables.FilledDrawable
|
+--drawables.DrawableRectangle
Class for drawable rectangles.
| Field Summary |
| Fields inherited from class drawables.FilledDrawable |
filled |
| Fields inherited from class drawables.Drawable |
AREALAYER, BITMAPLAYER, container, DEFMAXSCALE, DEFMINSCALE, layer, LINELAYER, maxScale, mbr, minScale, nextOfLayer, obj, POINTLAYER, pres, selected, TEXTLAYER |
| Constructor Summary | |
DrawableRectangle()
Konstruktor. |
|
DrawableRectangle(int x1,
int y1,
int x2,
int y2)
Konstruktor für nicht-gefülltes Rechteck. |
|
DrawableRectangle(int x1,
int y1,
int x2,
int y2,
boolean pFilled,
java.lang.String presName)
Konstruktor für Rechtecke. |
|
DrawableRectangle(int x1,
int y1,
int x2,
int y2,
boolean pFilled,
java.lang.String presName,
int pMinScale,
int pMaxScale)
Konstruktor für Rechtecke. |
|
DrawableRectangle(java.awt.Rectangle rect)
Konstruktor für nicht-gefülltes Rechteck. |
|
| Method Summary | |
protected void |
drawProtected(java.awt.Graphics g,
int scale,
int mode,
int value)
Zeichnet das Rechteck im Graphic Context g. |
EntryReadable |
read(EntryInput r)
Liest das Rechteck vom Entry-Input ein. |
protected void |
writeProtected(EntryWriter out,
int type)
Writes the rectangle. |
| Methods inherited from class drawables.FilledDrawable |
isFilled, setFilling |
| Methods inherited from class drawables.Drawable |
computeDistance, computeDistanceTo, contains, draw, draw, draw, draw, getContainer, getId, getLayer, getMaxScale, getMBR, getMinScale, getNextOfLayer, getObject, getPresentation, getPresentation, getType, interacts, intersects, intersects, intersects, isContainedBy, isVisible, readCoord, readCoord, readDrawable, readDrawable, setContainer, setLayer, setMaxScale, setMBR, setMinScale, setNextOfLayer, setObject, setPresentation, setSelection, toString, write, writeCoord, writeCoord, writeGML |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DrawableRectangle()
public DrawableRectangle(int x1,
int y1,
int x2,
int y2)
x1 - x-Koordinate eines Eckpunktesy1 - y-Koordinate eines Eckpunktesx2 - x-Koordinate des gegenüberliegenden Eckpunktesy2 - y-Koordinate des gegenüberliegenden Eckpunktes
public DrawableRectangle(int x1,
int y1,
int x2,
int y2,
boolean pFilled,
java.lang.String presName)
x1 - x-Koordinate eines Eckpunktesy1 - y-Koordinate eines Eckpunktesx2 - x-Koordinate des gegenüberliegenden Eckpunktesy2 - y-Koordinate des gegenüberliegenden EckpunktespFilled - gefüllt?presName - Name des Darstellungsobjekts
public DrawableRectangle(int x1,
int y1,
int x2,
int y2,
boolean pFilled,
java.lang.String presName,
int pMinScale,
int pMaxScale)
x1 - x-Koordinate eines Eckpunktesy1 - y-Koordinate eines Eckpunktesx2 - x-Koordinate des gegenüberliegenden Eckpunktesy2 - y-Koordinate des gegenüberliegenden EckpunktespFilled - gefüllt?presName - Name des DarstellungsobjektspMinScale - Mindest-Maßstab zum ZeichnenpMaxScale - Maximal-Maßstab zum Zeichnenpublic DrawableRectangle(java.awt.Rectangle rect)
rect - Rechteck| Method Detail |
protected void drawProtected(java.awt.Graphics g,
int scale,
int mode,
int value)
drawProtected in class Drawableg - aktueller Graphic Contextscale - aktueller Maßstabmode - aktueller Darstellungsmodusvalue - Darstellungswertpublic EntryReadable read(EntryInput r)
r - Entry-Input
protected void writeProtected(EntryWriter out,
int type)
writeProtected in class Drawableout - entry writertype - type of the output; meaning see read
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||