|
JHotDraw 7.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImageHolderFigure
The interface of a figure that has some editable image contents.
Method Summary | |
---|---|
java.awt.image.BufferedImage |
getBufferedImage()
Gets the buffered image from the figure. |
void |
loadImage(java.io.File f)
Loads an image from a File. |
void |
loadImage(java.io.InputStream in)
Loads an image from an Input Stream. |
void |
setBufferedImage(java.awt.image.BufferedImage image)
Sets the buffered image for the figure. |
Methods inherited from interface org.jhotdraw.draw.Figure |
---|
addFigureListener, addNotify, canConnect, changed, clone, contains, createHandles, draw, findCompatibleConnector, findConnector, findFigureInside, getActions, getAttribute, getAttributes, getAttributesRestoreData, getBounds, getConnectors, getCursor, getDecomposition, getDrawingArea, getEndPoint, getLayer, getPreferredSize, getStartPoint, getTool, getToolTipText, getTransformRestoreData, handleDrop, handleMouseClick, includes, isRemovable, isSelectable, isTransformable, isVisible, remap, removeFigureListener, removeNotify, requestRemove, restoreAttributesTo, restoreTransformTo, setAttribute, setBounds, transform, willChange |
Methods inherited from interface org.jhotdraw.xml.DOMStorable |
---|
read, write |
Method Detail |
---|
void loadImage(java.io.File f) throws java.io.IOException
java.io.IOException
void loadImage(java.io.InputStream in) throws java.io.IOException
java.io.IOException
java.awt.image.BufferedImage getBufferedImage()
void setBufferedImage(java.awt.image.BufferedImage image)
|
Copyright 1996-2007 (c) JHotDraw.org. Some rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |