|
Eclipse Draw2d 3.7 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Viewport | |
|---|---|
| org.eclipse.draw2d | Primary package containing general interfaces and implementation classes. |
| org.eclipse.draw2d.parts | This package contains some complex parts used with Draw2d. |
| Uses of Viewport in org.eclipse.draw2d |
|---|
| Subclasses of Viewport in org.eclipse.draw2d | |
|---|---|
class |
FreeformViewport
A viewport for FreeformFigures. |
| Fields in org.eclipse.draw2d declared as Viewport | |
|---|---|
protected Viewport |
ScrollPane.viewport
The viewport being scrolled |
| Methods in org.eclipse.draw2d that return Viewport | |
|---|---|
static Viewport |
ViewportUtilities.getNearestCommonViewport(IFigure firstFigure,
IFigure secondFigure)
Returns the nearest common enclosing Viewport for two given
Figures. |
static Viewport |
ViewportUtilities.getNearestEnclosingViewport(IFigure figure)
Returns the nearest enclosing Viewport of a given IFigure
by walking up the figure's hierarchy. |
static Viewport |
ViewportUtilities.getNearestViewport(IFigure figure)
Returns the given figure in case it is a Viewport itself,
otherwise its nearest enclosing Viewport. |
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)
Returns the upper most enclosing Viewport for the given
IFigure. |
Viewport |
FigureCanvas.getViewport()
Returns the Viewport. |
Viewport |
ScrollPane.getViewport()
Returns the ScrollPane's Viewport. |
| Methods in org.eclipse.draw2d with parameters of type Viewport | |
|---|---|
protected Rectangle |
ViewportAwareConnectionLayerClippingStrategy.getAbsoluteViewportAreaAsCopy(Viewport viewport)
Returns the area covered by the viewport in absolute coordinates. |
static List |
ViewportUtilities.getViewportsPath(Viewport leafViewport,
Viewport rootViewport)
Returns a list containing the provided leaf Viewport as the first
element, and all its enclosing Viewports up to the root
Viewport, where the root Viewport forms the last element
of the list. |
static List |
ViewportUtilities.getViewportsPath(Viewport leafViewport,
Viewport rootViewport,
boolean includeRootViewport)
Returns a list containing the provided leaf Viewport as the first
element, and all its enclosing Viewports up to the root
Viewport. |
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 ScrollPane |
| Uses of Viewport in org.eclipse.draw2d.parts |
|---|
| Methods in org.eclipse.draw2d.parts with parameters of type Viewport | |
|---|---|
void |
ScrollableThumbnail.setViewport(Viewport port)
Sets the Viewport that this ScrollableThumbnail will synch with. |
| Constructors in org.eclipse.draw2d.parts with parameters of type Viewport | |
|---|---|
ScrollableThumbnail(Viewport port)
Creates a new ScrollableThumbnail that synchs with the given Viewport. |
|
|
Eclipse Draw2d 3.7 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||