|org.eclipse.draw2d.AbstractHintLayout questions [message #243043]
||Tue, 20 May 2008 21:46
Originally posted by: juergen.scheffler.gmx.de|
Im German and dont really understand this class. But I understand the
subclasses of it.
(BorderLayout, FlowLayout, ScrollPaneLayout, StackLayout, ToolbarLayout,
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
-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! ;)
Powered by FUDForum
. Page generated in 0.06632 seconds