public class FixedThumbnail
extends org.eclipse.draw2d.Figure
implements org.eclipse.draw2d.UpdateListener
Constructor and Description |
---|
FixedThumbnail()
Creates a new Thumbnail.
|
FixedThumbnail(org.eclipse.draw2d.IFigure fig)
Creates a new Thumbnail with the given IFigure as its source figure.
|
Modifier and Type | Method and Description |
---|---|
void |
deactivate()
Deactivates this Thumbnail.
|
org.eclipse.draw2d.geometry.Dimension |
getPreferredSize(int wHint,
int hHint)
Returns the preferred size of this Thumbnail.
|
void |
notifyPainting(org.eclipse.draw2d.geometry.Rectangle damage,
java.util.Map dirtyRegions)
Notify painting.
|
void |
notifyValidating()
Notify validating.
|
void |
setDirty(boolean value)
Sets the dirty flag.
|
void |
setSource(org.eclipse.draw2d.IFigure fig)
Sets the source Figure.
|
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, 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, isOpaque, isRequestFocusEnabled, isShowing, isVisible, paint, remove, removeAll, 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, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, validate
public FixedThumbnail()
public FixedThumbnail(org.eclipse.draw2d.IFigure fig)
fig
- The source figurepublic void deactivate()
public org.eclipse.draw2d.geometry.Dimension getPreferredSize(int wHint, int hHint)
getPreferredSize
in interface org.eclipse.draw2d.IFigure
getPreferredSize
in class org.eclipse.draw2d.Figure
wHint
- The width hinthHint
- The height hintpublic void notifyPainting(org.eclipse.draw2d.geometry.Rectangle damage, java.util.Map dirtyRegions)
notifyPainting
in interface org.eclipse.draw2d.UpdateListener
damage
- the damagedirtyRegions
- the dirty regionsUpdateListener.notifyPainting(Rectangle, Map)
public void notifyValidating()
notifyValidating
in interface org.eclipse.draw2d.UpdateListener
UpdateListener.notifyValidating()
public void setDirty(boolean value)
value
- The dirty valuepublic void setSource(org.eclipse.draw2d.IFigure fig)
fig
- The source figure