de.cau.cs.kieler.kvid.visual
Class GmfGraphicsFigure

java.lang.Object
  extended by org.eclipse.draw2d.Figure
      extended by org.eclipse.draw2d.AbstractImageFigure
          extended by org.eclipse.draw2d.ImageFigure
              extended by org.eclipse.gmf.runtime.draw2d.ui.render.figures.ScalableImageFigure
                  extended by de.cau.cs.kieler.kvid.visual.GmfGraphicsFigure
All Implemented Interfaces:
IKvidFigure, IFigure, IImageFigure

Deprecated. Use GmfImageFigure instead

public class GmfGraphicsFigure
extends ScalableImageFigure
implements IKvidFigure

Figure who use a scalable image for visualization.

Rating red

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.draw2d.Figure
Figure.FigureIterator, Figure.IdentitySearch
 
Nested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure
IFigure.NoInsets
 
Nested classes/interfaces inherited from interface org.eclipse.draw2d.IImageFigure
IImageFigure.ImageChangedListener
 
Field Summary
 
Fields inherited from class org.eclipse.draw2d.Figure
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTip
 
Fields inherited from interface org.eclipse.draw2d.IFigure
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS
 
Constructor Summary
GmfGraphicsFigure(DataObject thedata, RenderedImage image)
          Deprecated. Constructor which expects a RenderedImage.
 
Method Summary
 IKvidFigure copy()
          Deprecated. Returns a copy of this figure.
 DataObject getData()
          Deprecated. Getter for the visualized DataObject.
 void updateData(DataObject thedata)
          Deprecated. Update the displayed data and create new visuals.
 
Methods inherited from class org.eclipse.gmf.runtime.draw2d.ui.render.figures.ScalableImageFigure
getImage, getPreferredSize, getRenderedImage, isAntiAlias, isMaintainAspectRatio, paintFigure, paintFigureWhileRendering, setAntiAlias, setBounds, setMaintainAspectRatio, setPreferredImageSize, setRenderedImage, useOriginalColors
 
Methods inherited from class org.eclipse.draw2d.ImageFigure
setAlignment, setImage
 
Methods inherited from class org.eclipse.draw2d.AbstractImageFigure
addImageChangedListener, notifyImageChanged, removeImageChangedListener
 
Methods inherited from class org.eclipse.draw2d.Figure
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isOpaque, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, layout, paint, paintBorder, paintChildren, paintClientArea, primTranslate, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setCursor, setEnabled, setFlag, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.draw2d.IFigure
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFont, getForegroundColor, getInsets, getLayoutManager, getLocalBackgroundColor, getLocalForegroundColor, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isOpaque, isRequestFocusEnabled, isShowing, isVisible, paint, remove, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setClippingStrategy, setConstraint, setCursor, setEnabled, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, validate
 

Constructor Detail

GmfGraphicsFigure

public GmfGraphicsFigure(DataObject thedata,
                         RenderedImage image)
Deprecated. 
Constructor which expects a RenderedImage. Use the RenderedImageFactory to receive one from an image file.

Parameters:
thedata - The DataObject to display with this figure
image - The image which will be used for display
Method Detail

updateData

public void updateData(DataObject thedata)
Deprecated. 
Update the displayed data and create new visuals.

Specified by:
updateData in interface IKvidFigure
Parameters:
thedata - The updated data

getData

public DataObject getData()
Deprecated. 
Getter for the visualized DataObject.

Specified by:
getData in interface IKvidFigure
Returns:
The visualized DataObject

copy

public IKvidFigure copy()
Deprecated. 
Returns a copy of this figure. The copy is independant in all means.

Specified by:
copy in interface IKvidFigure
Returns:
A identical copy of this figure