public class ScrollableThumbnail extends Thumbnail
Figure.FigureIterator, Figure.IdentitySearchIFigure.NoInsetsbgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTipMAX_DIMENSION, MIN_DIMENSION, NO_INSETS| Constructor and Description |
|---|
ScrollableThumbnail()
Creates a new ScrollableThumbnail.
|
ScrollableThumbnail(Viewport port)
Creates a new ScrollableThumbnail that synchs with the given Viewport.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deactivate()
Deactivates this 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.
|
getPreferredSize, getScaleX, getScaleY, getSource, getSourceRectangle, getThumbnailImage, isDirty, notifyPainting, notifyValidating, paintFigure, setDirty, setSourceadd, 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, setBounds, 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, validatepublic ScrollableThumbnail()
public ScrollableThumbnail(Viewport port)
port - The Viewportpublic void deactivate()
Thumbnaildeactivate in class ThumbnailThumbnail.deactivate()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 ViewportCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.