Uses of Class
org.eclipse.draw2d.Viewport
Packages that use Viewport
Package
Description
Primary package containing general interfaces and implementation classes.
This package contains some complex parts used with Draw2d.
-
Uses of Viewport in org.eclipse.draw2d
Subclasses of Viewport in org.eclipse.draw2dFields in org.eclipse.draw2d declared as ViewportModifier and TypeFieldDescriptionprotected Viewport
ScrollPane.viewport
The viewport being scrolledMethods in org.eclipse.draw2d that return ViewportModifier and TypeMethodDescriptionstatic Viewport
ViewportUtilities.getNearestCommonViewport
(IFigure firstFigure, IFigure secondFigure) static Viewport
ViewportUtilities.getNearestEnclosingViewport
(IFigure figure) static Viewport
ViewportUtilities.getNearestViewport
(IFigure figure) protected Viewport
ViewportAwareConnectionLayerClippingStrategy.getRootViewport()
Returns the root viewport, i.e. the nearest enclosing viewport of the connection layer, which corresponds to the nearest enclosing common viewport of primary and connection layer.static Viewport
ViewportUtilities.getRootViewport
(IFigure figure) FigureCanvas.getViewport()
Returns the Viewport.ScrollPane.getViewport()
Returns the ScrollPane'sViewport
.Methods in org.eclipse.draw2d that return types with arguments of type ViewportModifier and TypeMethodDescriptionViewportUtilities.getEnclosingViewportsPath
(IFigure figure) ViewportUtilities.getViewportsPath
(Viewport leafViewport, Viewport rootViewport) ViewportUtilities.getViewportsPath
(Viewport leafViewport, Viewport rootViewport, boolean includeRootViewport) Methods in org.eclipse.draw2d with parameters of type ViewportModifier and TypeMethodDescriptionprotected Rectangle
ViewportAwareConnectionLayerClippingStrategy.getAbsoluteViewportAreaAsCopy
(Viewport viewport) Returns the area covered by the viewport in absolute coordinates.ViewportUtilities.getViewportsPath
(Viewport leafViewport, Viewport rootViewport) ViewportUtilities.getViewportsPath
(Viewport leafViewport, Viewport rootViewport, boolean includeRootViewport) void
FigureCanvas.setViewport
(Viewport vp) Sets the Viewport.void
ScrollPane.setViewport
(Viewport vp) Sets the ScrollPane's Viewport to the passed value.static ScrollPaneSolver.Result
ScrollPaneSolver.solve
(Rectangle clientArea, Viewport viewport, int hVis, int vVis, int vBarWidth, int hBarHeight) Solves for the viewport area, insets, and visibility of horizontal and vertical scrollbars of a ScrollPaneMethod parameters in org.eclipse.draw2d with type arguments of type ViewportModifier and TypeMethodDescriptionprotected void
ViewportAwareConnectionLayerClippingStrategy.clipAtViewports
(Rectangle clipRect, List<Viewport> enclosingViewportsPath) Clips the given clipRect at all given viewports. -
Uses of Viewport in org.eclipse.draw2d.parts
Methods in org.eclipse.draw2d.parts that return ViewportModifier and TypeMethodDescriptionfinal Viewport
ScrollableThumbnail.getViewport()
Get the viewport used for this ScrollableThumbnailMethods in org.eclipse.draw2d.parts with parameters of type ViewportModifier and TypeMethodDescriptionvoid
ScrollableThumbnail.setViewport
(Viewport port) Sets the Viewport that this ScrollableThumbnail will synch with.Constructors in org.eclipse.draw2d.parts with parameters of type ViewportModifierConstructorDescriptionScrollableThumbnail
(Viewport port) Creates a new ScrollableThumbnail that synchs with the given Viewport.