|
Eclipse Draw2d 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.draw2d.ScrollPaneSolver
This class handles the calculation of solving for the area of a
ScrollPane's viewport and insets. Also determines if
the horizontal and vertical scrollbars should be visible.
| Nested Class Summary | |
static class |
ScrollPaneSolver.Result
Container class for the results of ScrollPaneSolver's solve method |
| Field Summary | |
static int |
ALWAYS
Scrollbar visibility constants -- always show scrollbars |
static int |
AUTOMATIC
Scrollbar visibility constants -- show scrollbars automatically |
static int |
NEVER
Scrollbar visibility constants -- never show scrollbars |
| Constructor Summary | |
ScrollPaneSolver()
|
|
| Method Summary | |
static ScrollPaneSolver.Result |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int NEVER
public static final int AUTOMATIC
public static final int ALWAYS
| Constructor Detail |
public ScrollPaneSolver()
| Method Detail |
public static ScrollPaneSolver.Result solve(Rectangle clientArea,
Viewport viewport,
int hVis,
int vVis,
int vBarWidth,
int hBarHeight)
clientArea - The ScrollPane's client areaviewport - The ScrollPane's ViewporthVis - Horizontal scrollbar visibilityvVis - Vertical scrollbar visibilityvBarWidth - Width of vertical scrollbarhBarHeight - Height of horizontal scrollbar
|
Eclipse Draw2d 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||