public class ImageGlyph extends RectangleGlyph implements java.awt.image.ImageObserver
ATTR_RECTTYPE, bounds, CIRCLE, FCIRCLE, FRECTANGLE, FROUNDRECT, RECTANGLE, ROUNDRECT, TYPE_CIRCLE, TYPE_RECT, TYPE_RRECTATTR_BGCOLOR, ATTR_CHILDREN, ATTR_CLASS, ATTR_COLOR, ATTR_FILL, ATTR_HEIGHT, ATTR_IMAGE, ATTR_LINEWIDTH, ATTR_PARENT, ATTR_PTS, ATTR_STRETCHY, ATTR_TEXT, ATTR_TYPE, ATTR_WIDTH, baseline, H_SEL_WIDTH, highlightColor, idToGlyph, MIN_DISTANCE_TO_STRETCH, PT_CENTER, PT_H_LEFT, PT_H_MIDDLE, PT_H_RIGHT, PT_LL, PT_LM, PT_LR, PT_ML, PT_MM, PT_MR, PT_P1, PT_P2, PT_PREFIX, PT_UL, PT_UM, PT_UR, PT_V_LOWER, PT_V_MIDDLE, PT_V_UPPER, RECTPOINTNAMES, RECTPOINTS, SEL_WIDTH, TAG_GLYPH, underline| Constructor and Description |
|---|
ImageGlyph(int x,
int y)
_more_
|
ImageGlyph(int x,
int y,
java.lang.String url)
_more_
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttrs()
_more_
|
java.lang.String |
getStretchPoint(int x,
int y)
_more_
|
boolean |
imageUpdate(java.awt.Image img,
int flags,
int x,
int y,
int width,
int height)
_more_
|
void |
initDone()
_more_
|
void |
paint(java.awt.Graphics g,
DisplayCanvas c)
_more_
|
void |
setAttr(java.lang.String name,
java.lang.String value)
_more_
|
void |
setImage(java.awt.Image image)
_more_
|
void |
setImage(java.lang.String url)
_more_
|
clone, distance, getBottom, getBounds, getEqualSides, getLeft, getPoint, getPositionAttr, getSymetricReshape, getTop, moveBy, moveTo, setPoints, setSize, setType, stretchToboundsChanged, canStretch, distance, doRemove, flipY, getBackground, getBackground, getBeingCreated, getCreateCommand, getCursor, getFilled, getForeground, getId, getLineWidth, getMoveCommand, getPersistent, getPointOnRect, getPointOnRect, getRectPointName, getRepaintBounds, getStretchPoint, getStretchy, getXml, makeAttr, notifyChange, paintHighlight, paintSelection, paintSelectionPoints, pickable, processAttrs, setBackground, setBeingCreated, setFilled, setForeground, setId, setLineWidth, setParent, setStretchy, stretchTo, stretchTo, toRect, transformOutput, transformOutput, transformOutputX, transformOutputYpublic ImageGlyph(int x,
int y,
java.lang.String url)
x - y - url - public ImageGlyph(int x,
int y)
x - y - public void setImage(java.lang.String url)
url - public void setImage(java.awt.Image image)
image - public boolean imageUpdate(java.awt.Image img,
int flags,
int x,
int y,
int width,
int height)
imageUpdate in interface java.awt.image.ImageObserverimg - flags - x - y - width - height - public void paint(java.awt.Graphics g,
DisplayCanvas c)
paint in class RectangleGlyphg - c - public java.lang.String getStretchPoint(int x,
int y)
getStretchPoint in class RectangleGlyphx - y - public java.lang.String getAttrs()
public void setAttr(java.lang.String name,
java.lang.String value)
setAttr in class RectangleGlyphname - value -