SEdit.Graphics
Class GIcon
java.lang.Object
SEdit.Graphics.GObject
SEdit.Graphics.GNode
SEdit.Graphics.GIcon
- All Implemented Interfaces:
- ImageObserver
- Direct Known Subclasses:
- GAnt, GMobileEntity
- public class GIcon
- extends GNode
- implements ImageObserver
Graphic element which draws an iconic representation
of a node
Fields inherited from class SEdit.Graphics.GObject |
BOTTOM, bounds, CENTER, displayLabel, element, height, labelLocation, LEFT, RIGHT, selected, TOP, TOP_RIGHT, width, x, y |
Constructor Summary |
GIcon()
|
Methods inherited from class SEdit.Graphics.GObject |
alignHorizontalTo, alignVerticalTo, delete, displayName, drag, getBounds, getCenter, getDimension, getDisplayLabel, getEditor, getForeground, getHeight, getLabelLocation, getLocation, getRectangle, getSElement, getWidth, init, intersection, isContainedIn, isSelectable, isSelected, reInstall, setCenter, setCenter, setDimension, setDisplayLabel, setEditor, setForeground, setHeight, setLabelLocation, setLocation, setLocation, setSElement, setSize, setWidth, snapToGrid, translate, translateBound, translateWrap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GIcon
public GIcon()
imageUpdate
public boolean imageUpdate(Image img,
int infoflags,
int x,
int y,
int width,
int height)
- Specified by:
imageUpdate
in interface ImageObserver
getImageAddress
public String getImageAddress()
setImageAddress
public void setImageAddress(String s)
paint
public void paint(Graphics g)
- Overrides:
paint
in class GObject
Copyright © J. Ferber, O. Gutknecht All Rights Reserved.