facets.core.app.avatar
Interface ZoomPanView

All Superinterfaces:
AvatarView, PlaneView, SView, Titled
All Known Implementing Classes:
ZoomPanViewWorks

public interface ZoomPanView
extends PlaneView

Policy for a viewer that zooms and pans over a bounded plane area.


Nested Class Summary
 
Nested classes/interfaces inherited from interface facets.core.app.avatar.PlaneView
PlaneView.ResizeResponse
 
Field Summary
 
Fields inherited from interface facets.core.app.avatar.PlaneView
INCH_PTS, ZOOM_IN, ZOOM_OUT
 
Fields inherited from interface facets.core.superficial.app.SView
NO_VIEW
 
Method Summary
 Point focusAt()
          The last position set with setFocusAt(Point).
 double originToLeft()
          The unscaled distance from the viewport origin to the left edge of the bounded plane.
 double originToTop()
          The unscaled distance from the viewport origin to the top edge of the bounded plane.
 double planeHeight()
          The unscaled height of the bounded plane.
 double planeWidth()
          The unscaled width of the bounded plane.
 void setFocusAt(Point at)
          Set a position within the bounded plane that should appear as near as possible to the centre of the viewport.
 
Methods inherited from interface facets.core.app.avatar.PlaneView
plotShift, resizeResponse, scale, setShowValues, showHeight, showWidth, stamp, ySign
 
Methods inherited from interface facets.core.app.avatar.AvatarView
avatars, backgroundStyle, doesDnD, markLeapPixels, markPixels, pickHitPixels
 
Methods inherited from interface facets.core.superficial.app.SView
allowMultipleSelection, isLive
 
Methods inherited from interface facets.util.Titled
title
 

Method Detail

originToLeft

double originToLeft()
The unscaled distance from the viewport origin to the left edge of the bounded plane.

Returns:
any double

originToTop

double originToTop()
The unscaled distance from the viewport origin to the top edge of the bounded plane.

Returns:
any double

planeHeight

double planeHeight()
The unscaled height of the bounded plane.

Returns:
a positive double

planeWidth

double planeWidth()
The unscaled width of the bounded plane.

Returns:
a positive double

focusAt

Point focusAt()
The last position set with setFocusAt(Point).


setFocusAt

void setFocusAt(Point at)
Set a position within the bounded plane that should appear as near as possible to the centre of the viewport.

Parameters:
at - should define a position within the bounded plane