Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class draw2d.ImageFigure

    Object
       |
       +--draw2d.Figure
             |
             +--draw2d.Node
                   |
                   +--draw2d.ImageFigure

class draw2d.ImageFigure
extends draw2d.Node

Defined in ImageFigure.js
Version: 0.9.14
Author: Andreas Herz

Constructor Summary
`draw2d.ImageFigure (url)`

Method Summary
`boolean` | `isResizeable()` An image can't be resized.
`void` | `setImage( <String> url)` Set URL of the image.

Methods inherited from class draw2d.Node
`getPorts, getPort, addPort, removePort, setBackgroundColor, getBackgroundColor, setLineWidth`

Methods inherited from class draw2d.Figure
`getProperties, getProperty, setProperty, getId, getWorkflow, getParent, getZOrder, setZOrder, hasFixedPosition, getMinWidth, getMinHeight, setBorder, getContextMenu, onDoubleClick, onMouseEnter, onMouseLeave, onDragstart, setCanDrag, setAlpha, setDimension, setPosition, setResizeable, isSelectable, setSelectable, isStrechable, isDeleteable, setDeleteable, setCanSnapToHelper, getCanSnapToHelper, getSnapToGridAnchor, setSnapToGridAnchor, getBounds, getWidth, getHeight, getY, getX, getAbsoluteY, getAbsoluteX, onKeyDown, getPosition, isOver, attachMoveListener, detachMoveListener`

Constructor Detail

### draw2d.ImageFigure

    draw2d.ImageFigure(url)

Version: 0.9.14
Author: Andreas Herz

Method Detail

### isResizeable

    boolean isResizeable()

An image can't be resized. So - this function returns always false,

Returns:

Returns always false.

### setImage

    void setImage( <String> url)

Set URL of the image. This can be absolute like http://www.anydomain.de/myimage.gif or relative to the current server. directory

Parameters:

`url` - The url of the image.

Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Thu Feb 7 23:45:47 2008