[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] FigureCanvas vs. ScrollPane: a question
|
So, in the Draw2D API there are these two classes that can contain Figures
and provide scrolling: FigureCanvas, and ScrollPane.
FigureCanvas is lightweight (the O/S provides the scrollbars), and
ScrollPane is heavyweight (Draw2D paints the scrollbars).
Is the choice of which of these widgets to use purely aesthetic?
Are there any features other than how the scrollbars are rendered that you
get with using one versus using the other?
For instance, are each of these classes taking equal advantage of clipping
to the viewable area during repaints via DeferredUpdateManager, or is one of
these classes "smarter" about clipping than the other?
Thanks,
Mark