|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--drawables.Drawable
|
+--drawables.DrawableBitmap
Drawable class for bitmaps.
| Field Summary |
| 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 |
DrawableBitmap()
Constructor. |
|
DrawableBitmap(int x,
int y,
DrawableBitmap master)
Constructor. |
|
DrawableBitmap(int x,
int y,
int width,
int height,
java.net.URL url,
java.lang.String presName,
boolean scalable)
Constructor. |
|
DrawableBitmap(int x,
int y,
int width,
int height,
java.net.URL url,
java.lang.String presName,
boolean scalable,
int minScale,
int maxScale)
Constructor. |
|
DrawableBitmap(int x,
int y,
java.net.URL url)
Constructor of a non-scalable bitmap. |
| Method Summary | |
protected void |
drawProtected(java.awt.Graphics g,
int scale,
int mode,
int value)
Draws the bitmap. |
static void |
init(java.awt.image.ImageObserver newObserver)
Announces the image observer to the class. |
EntryReadable |
read(EntryInput r)
Read a bitmap from file. |
protected void |
writeProtected(EntryWriter out,
int type)
Writes the bitmap; not yet implemented. |
| 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 |
protected DrawableBitmap()
public DrawableBitmap(int x,
int y,
int width,
int height,
java.net.URL url,
java.lang.String presName,
boolean scalable)
x - left x-coordinatey - upper y-coordinatewidth - widthheight - heighturl - complete URLpresName - name of the presentationscalable - is the bitmap scalable?
public DrawableBitmap(int x,
int y,
int width,
int height,
java.net.URL url,
java.lang.String presName,
boolean scalable,
int minScale,
int maxScale)
x - left x-coordinatey - upper y-coordinatewidth - widthheight - heighturl - complete URLpresName - name of the presentationscalable - is the bitmap scalable?minScale - least detailed scale where the drawable is visiblemaxScale - most detailed scale where the drawable is visible
public DrawableBitmap(int x,
int y,
DrawableBitmap master)
x - left x-coordinatey - upper y-coordinatemaster - bitmap which delivers the required properties.
public DrawableBitmap(int x,
int y,
java.net.URL url)
x - left x-coordinatey - upper y-coordinateurl - complete URL| Method Detail |
protected void drawProtected(java.awt.Graphics g,
int scale,
int mode,
int value)
drawProtected in class Drawableg - graphical contextscale - actual scalemode - actual mode (has no influene)value - presentation value (has no influence)public static void init(java.awt.image.ImageObserver newObserver)
newObserver - the image observerpublic EntryReadable read(EntryInput r)
r - entry input
protected void writeProtected(EntryWriter out,
int type)
writeProtected in class Drawableout - entry writertype - type of the output
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||