|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tigris.gef.presentation.Fig
org.tigris.gef.presentation.FigImage
public class FigImage
Primitive Fig to paint images (such as icons) on a LayerDiagram.
| Field Summary | |
|---|---|
protected java.awt.Image |
_image
The Image being rendered |
protected java.net.URL |
_url
The URL of the Image being rendered |
| Fields inherited from class org.tigris.gef.presentation.Fig |
|---|
_allowsSaving, _context, _dashes, _dashPeriod, _dashStyle, _filled, _h, _w, _x, _y, an, annotationOwner, annotationStatus, BORDER, MIN_SIZE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
FigImage(int x,
int y,
java.awt.Image i)
Construct a new FigImage w/ the given position and image. |
|
FigImage(int x,
int y,
int w,
int h,
java.awt.Image img)
Construct a new FigImage with the given position, size, and Image. |
|
FigImage(int x,
int y,
java.net.URL imageUrl)
Construct a new FigImage w/ the given position and URL. |
|
| Method Summary | |
|---|---|
void |
createDrag(int anchorX,
int anchorY,
int x,
int y,
int snapX,
int snapY)
Resize the object for drag on creation. |
java.net.URL |
getURL()
USED BY SVG.tee |
boolean |
imageUpdate(java.awt.Image img,
int infoflags,
int x,
int y,
int w,
int h)
|
void |
paint(java.awt.Graphics g)
Paint this FigImage on the given Graphics. |
void |
setURL(java.net.URL newURL)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected transient java.awt.Image _image
protected java.net.URL _url
| Constructor Detail |
|---|
public FigImage(int x,
int y,
int w,
int h,
java.awt.Image img)
public FigImage(int x,
int y,
java.awt.Image i)
public FigImage(int x,
int y,
java.net.URL imageUrl)
| Method Detail |
|---|
public void createDrag(int anchorX,
int anchorY,
int x,
int y,
int snapX,
int snapY)
Fig
createDrag in class FigFigLine.createDrag(int, int, int, int, int, int)public java.net.URL getURL()
public boolean imageUpdate(java.awt.Image img,
int infoflags,
int x,
int y,
int w,
int h)
imageUpdate in interface java.awt.image.ImageObserverpublic void paint(java.awt.Graphics g)
paint in class Figpublic void setURL(java.net.URL newURL)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||