Package ucar.unidata.ui.drawing
Class ImageGlyph
java.lang.Object
ucar.unidata.ui.drawing.Glyph
ucar.unidata.ui.drawing.RectangleGlyph
ucar.unidata.ui.drawing.ImageGlyph
- All Implemented Interfaces:
ImageObserver,Cloneable
Class ImageGlyph
- Author:
- IDV development team
-
Field Summary
Fields inherited from class ucar.unidata.ui.drawing.RectangleGlyph
ATTR_RECTTYPE, bounds, CIRCLE, FCIRCLE, FRECTANGLE, FROUNDRECT, RECTANGLE, ROUNDRECT, TYPE_CIRCLE, TYPE_RECT, TYPE_RRECTFields inherited from class ucar.unidata.ui.drawing.Glyph
ATTR_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, underlineFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttrs()_more_getStretchPoint(int x, int y) _more_booleanimageUpdate(Image img, int flags, int x, int y, int width, int height) _more_voidinitDone()_more_voidpaint(Graphics g, DisplayCanvas c) _more_void_more_void_more_void_more_Methods inherited from class ucar.unidata.ui.drawing.RectangleGlyph
clone, distance, getBottom, getBounds, getEqualSides, getLeft, getPoint, getPositionAttr, getSymetricReshape, getTop, moveBy, moveTo, setPoints, setSize, setType, stretchToMethods inherited from class ucar.unidata.ui.drawing.Glyph
boundsChanged, 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, transformOutputY
-
Constructor Details
-
ImageGlyph
_more_- Parameters:
x-y-url-
-
ImageGlyph
public ImageGlyph(int x, int y) _more_- Parameters:
x-y-
-
-
Method Details
-
initDone
public void initDone()_more_ -
setImage
_more_- Parameters:
url-
-
setImage
_more_- Parameters:
image-
-
imageUpdate
_more_- Specified by:
imageUpdatein interfaceImageObserver- Parameters:
img-flags-x-y-width-height-- Returns:
- _more_
-
paint
_more_- Overrides:
paintin classRectangleGlyph- Parameters:
g-c-
-
getStretchPoint
_more_- Overrides:
getStretchPointin classRectangleGlyph- Parameters:
x-y-- Returns:
- _more_
-
getAttrs
_more_ -
setAttr
_more_- Overrides:
setAttrin classRectangleGlyph- Parameters:
name-value-
-