SEdit.Graphics
Class GIcon

java.lang.Object
  extended by SEdit.Graphics.GObject
      extended by SEdit.Graphics.GNode
          extended by SEdit.Graphics.GIcon
All Implemented Interfaces:
java.awt.image.ImageObserver
Direct Known Subclasses:
GAnt, GEntity, GMobileEntity

public class GIcon
extends GNode
implements java.awt.image.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
 java.lang.String getImageAddress()
           
 boolean imageUpdate(java.awt.Image img, int infoflags, int x, int y, int width, int height)
           
 void paint(java.awt.Graphics g)
           
 void setImageAddress(java.lang.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(java.awt.Image img,
                           int infoflags,
                           int x,
                           int y,
                           int width,
                           int height)
Specified by:
imageUpdate in interface java.awt.image.ImageObserver

getImageAddress

public java.lang.String getImageAddress()

setImageAddress

public void setImageAddress(java.lang.String s)

paint

public void paint(java.awt.Graphics g)
Overrides:
paint in class GObject


Copyright © Madkit Team (O. Gutknecht, J. Ferber, F. Michel et al.) All Rights Reserved.