|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--drawables.Drawable
|
+--drawables.FilledDrawable
|
+--drawables.DrawablePolygon
|
+--drawables.DrawablePolyline
Class for drawable lines.
| Field Summary |
| Fields inherited from class drawables.DrawablePolygon |
num, outX, outY, xCoords, yCoords |
| 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 | |
protected |
DrawablePolyline()
Konstruktor. |
|
DrawablePolyline(int[] xpoints,
int[] ypoints,
int npoints,
java.lang.String presName)
Konstruktor; VERALTET! |
|
DrawablePolyline(int npoints,
int[] xpoints,
int[] ypoints)
Konstruktor. |
|
DrawablePolyline(int npoints,
int[] xpoints,
int[] ypoints,
java.lang.String presName)
Konstruktor. |
|
DrawablePolyline(int npoints,
int[] xpoints,
int[] ypoints,
java.lang.String presName,
int minScale,
int maxScale)
Konstruktor. |
| Method Summary | |
protected void |
drawProtected(java.awt.Graphics g,
int scale,
int mode,
int value)
Zeichnet den Linienzug im Graphic Context g, vorausgesetzt der aktuelle Maßstab wird eingehalten. |
boolean |
interacts(int x,
int y,
int scale)
Tests whether the primitive is selected by a given point or not. |
void |
writeGML(EntryWriter out)
Writes the primitive as GML tag. |
| Methods inherited from class drawables.DrawablePolygon |
computeMBR, getNumberOfPoints, read, read, write, writeProtected |
| 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, intersects, intersects, intersects, isContainedBy, isVisible, readCoord, readCoord, readDrawable, readDrawable, setContainer, setLayer, setMaxScale, setMBR, setMinScale, setNextOfLayer, setObject, setPresentation, setSelection, toString, write, writeCoord, writeCoord |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected DrawablePolyline()
public DrawablePolyline(int[] xpoints,
int[] ypoints,
int npoints,
java.lang.String presName)
public DrawablePolyline(int npoints,
int[] xpoints,
int[] ypoints)
npoints - Anzahl der Punktexpoints - Array mit x-Koordinaten (wird nicht kopiert!)ypoints - Array mit y-Koordinaten (wird nicht kopiert!)
public DrawablePolyline(int npoints,
int[] xpoints,
int[] ypoints,
java.lang.String presName)
npoints - Anzahl der Punktexpoints - Array mit x-Koordinaten (wird nicht kopiert!)ypoints - Array mit y-Koordinaten (wird nicht kopiert!)presName - Name des Darstellungsobjekts
public DrawablePolyline(int npoints,
int[] xpoints,
int[] ypoints,
java.lang.String presName,
int minScale,
int maxScale)
npoints - Anzahl der Punktexpoints - Array mit x-Koordinaten (wird nicht kopiert!)ypoints - Array mit y-Koordinaten (wird nicht kopiert!)presName - Name des DarstellungsobjektsminScale - Mindest-Maßstab zum ZeichnenmaxScale - Maximal-Maßstab zum Zeichnen| Method Detail |
protected void drawProtected(java.awt.Graphics g,
int scale,
int mode,
int value)
drawProtected in class DrawablePolygong - aktueller Graphic Contextscale - aktueller Maßstabmode - aktueller Darstellungsmodusvalue - Darstellungswert
public boolean interacts(int x,
int y,
int scale)
Drawable
interacts in class Drawablex - x-coordinate of the pointy - y-coordinate of the pointscale - actuals scale
public void writeGML(EntryWriter out)
writeGML in class DrawablePolygonout - entry writer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||