SEdit.Graphics
Class GIcon

java.lang.Object
  extended bySEdit.Graphics.GObject
      extended bySEdit.Graphics.GNode
          extended bySEdit.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


Field Summary
 
Fields inherited from class SEdit.Graphics.GNode
HANDLE_SIZE, resizable, selectedHandle
 
Fields inherited from class SEdit.Graphics.GObject
BOTTOM, bounds, CENTER, displayLabel, element, height, labelLocation, LEFT, RIGHT, selected, TOP, TOP_RIGHT, width, x, y
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
GIcon()
           
 
Method Summary
 String getImageAddress()
           
 boolean imageUpdate(Image img, int infoflags, int x, int y, int width, int height)
           
 void paint(Graphics g)
           
 void setImageAddress(String s)
           
 
Methods inherited from class SEdit.Graphics.GNode
contains, displayHandles, doDrag, doReSelect, getResizable, getSelectedHandle, intersection, isContainedIn, select, setResizable
 
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
 

Constructor Detail

GIcon

public GIcon()
Method Detail

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.