org.eclipse.draw2d.AbstractHintLayout questions [message #243043] |
Tue, 20 May 2008 17:46  |
Eclipse User |
|
|
|
Originally posted by: juergen.scheffler.gmx.de
Hi everybody,
Im German and dont really understand this class. But I understand the
subclasses of it.
(BorderLayout, FlowLayout, ScrollPaneLayout, StackLayout, ToolbarLayout,
ViewportLayout)
1. Which function does AbstractHintLayout layout have and what does the
sentense "The foundation for layout managers which are sensitive to
width and/or height hints. This class will cache preferred and minimum
sizes for a given set of hints." mean?
2. Mabye you can help me, if you explain one of these methods:
-Dimension calculateMinimumSize(IFigure container, int wHint, int hHint)
Calculates the minimum size using the given width and height
hints.
-Dimension getMinimumSize(IFigure container, int w, int h)
Returns the minimum size of the given figure.
-Dimension getPreferredSize(IFigure container, int w, int h)
Returns the preferred size of the given figure, using width
and height hints.
please help! ;)
Greetings
JS
|
|
|
|
Powered by
FUDForum. Page generated in 0.02454 seconds