public class HotspotViewport2D extends ComponentViewport2D
EMPTY_GEOMETRY| Constructor and Description |
|---|
HotspotViewport2D(Project project,
JComponent component) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHotSpot(GeometryFactory geometryFactory,
Point point,
String text,
String url) |
ViewportHotspot |
getHotspot(int x,
int y) |
String |
getToolTipText(int x,
int y) |
ZoomMode |
getZoomMode() |
BoundingBox |
setBoundingBox(BoundingBox boundingBox) |
void |
setZoomMode(ZoomMode zoomMode) |
getBoundingBox, getBoundingBox, getBoundingBox, getCursor, getMaxScale, getModelHeight, getModelToScreenUnit, getModelWidth, getRectangle, getScaleUnit, getScreenToModelUnit, getValidBoundingBox, propertyChange, repaint, setGeometryFactory, setInitialized, translate, update, updateCachedFieldscreateModelToScreenTransform, createScreenToModelTransform, drawGeometry, drawText, getBoundingBox, getBoundingBox, getBoundingBox, getBoundingBox, getGeometry, getGeometryFactory, getGraphics, getModelHeight, getModelHeightLength, getModelToScreenTransform, getModelUnitsPerViewUnit, getModelWidth, getModelWidthLength, getOriginX, getOriginY, getPixelsPerXUnit, getPixelsPerYUnit, getPixelsPerYUnit, getProject, getPropertyChangeSupport, getRoundedGeometry, getRoundedGeometryFactory, getScale, getScale, getScaleForUnitsPerPixel, getScales, getScreenResolution, getScreenToModelTransform, getScreenUnit, getUnitsPerPixel, getUnitsPerPixel, getViewAspectRatio, getViewHeightLength, getViewHeightPixels, getViewToModelUnit, getViewWidthLength, getViewWidthPixels, getZoomOutScale, isHidden, isInitialized, render, setBoundingBoxInternal, setScale, setScales, setViewHeight, setViewWidth, toDisplayValue, toDisplayValue, toModelCoordinates, toModelPoint, toModelPoint, toModelPoint, toModelPoint, toModelPoint, toModelPointRounded, toViewCoordinates, toViewPoint, toViewPointpublic HotspotViewport2D(Project project, JComponent component)
public void addHotSpot(GeometryFactory geometryFactory, Point point, String text, String url)
public ViewportHotspot getHotspot(int x, int y)
public String getToolTipText(int x, int y)
public ZoomMode getZoomMode()
public BoundingBox setBoundingBox(BoundingBox boundingBox)
setBoundingBox in class Viewport2Dpublic void setZoomMode(ZoomMode zoomMode)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.