|
Eclipse Draw2d 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.draw2d.Figure
org.eclipse.draw2d.parts.Thumbnail
org.eclipse.draw2d.parts.ScrollableThumbnail
A scaled image representation of a Figure. If the source Figure is not completely visible, a SelectorFigure is placed over the thumbnail representing the viewable area and can be dragged around to scroll the source figure.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.draw2d.Figure |
Figure.FigureIterator, Figure.IdentitySearch |
| Nested classes inherited from class org.eclipse.draw2d.IFigure |
IFigure.NoInsets |
| 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 | |
ScrollableThumbnail()
Creates a new ScrollableThumbnail. |
|
ScrollableThumbnail(Viewport port)
Creates a new ScrollableThumbnail that synchs with the given Viewport. |
|
| Method Summary | |
void |
deactivate()
Deactivates this Thumbnail. |
protected Rectangle |
getSourceRectangle()
Returns the rectangular region relative to the source figure which will be the basis of the thumbnail. |
protected void |
setScales(float scaleX,
float scaleY)
Reconfigures the SelectorFigure's bounds if the scales have changed. |
void |
setViewport(Viewport port)
Sets the Viewport that this ScrollableThumbnail will synch with. |
| Methods inherited from class org.eclipse.draw2d.parts.Thumbnail |
getPreferredSize, getScaleX, getScaleY, getSource, getThumbnailImage, isDirty, notifyPainting, notifyValidating, paintFigure, setDirty, setSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ScrollableThumbnail()
public ScrollableThumbnail(Viewport port)
port - The Viewport| Method Detail |
public void deactivate()
Thumbnail
deactivate in class ThumbnailThumbnail.deactivate()protected Rectangle getSourceRectangle()
Thumbnail
getSourceRectangle in class ThumbnailThumbnail.getSourceRectangle()
protected void setScales(float scaleX,
float scaleY)
setScales in class ThumbnailscaleX - The X scalescaleY - The Y scaleThumbnail.setScales(float, float)public void setViewport(Viewport port)
port - The Viewport
|
Eclipse Draw2d 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||