Package | Description |
---|---|
org.eclipse.draw2d |
Primary package containing general interfaces and implementation classes.
|
org.eclipse.draw2d.parts |
This package contains some complex parts used with Draw2d.
|
Modifier and Type | Class and Description |
---|---|
class |
FreeformViewport
A viewport for
FreeformFigures . |
Modifier and Type | Field and Description |
---|---|
protected Viewport |
ScrollPane.viewport
The viewport being scrolled
|
Modifier and Type | Method and Description |
---|---|
static 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)
|
Viewport |
FigureCanvas.getViewport()
Returns the Viewport.
|
Viewport |
ScrollPane.getViewport()
Returns the ScrollPane's
Viewport . |
Modifier and Type | Method and Description |
---|---|
protected Rectangle |
ViewportAwareConnectionLayerClippingStrategy.getAbsoluteViewportAreaAsCopy(Viewport viewport)
Returns the area covered by the viewport in absolute coordinates.
|
static java.util.List |
ViewportUtilities.getViewportsPath(Viewport leafViewport,
Viewport rootViewport)
|
static java.util.List |
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 ScrollPane
|
Modifier and Type | Method and Description |
---|---|
void |
ScrollableThumbnail.setViewport(Viewport port)
Sets the Viewport that this ScrollableThumbnail will synch with.
|
Constructor and Description |
---|
ScrollableThumbnail(Viewport port)
Creates a new ScrollableThumbnail that synchs with the given Viewport.
|
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.