Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » org.eclipse.draw2d.AbstractHintLayout questions
org.eclipse.draw2d.AbstractHintLayout questions [message #243043] Tue, 20 May 2008 17:46 Go to next message
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
Re: org.eclipse.draw2d.AbstractHintLayout questions [message #243121 is a reply to message #243043] Sat, 24 May 2008 17:05 Go to previous message
Eclipse User
Originally posted by: juergen.scheffler.gmx.de

Are there no answers or did I do sth wrong @posting this ?!
Previous Topic:Add items in the palette at runtime
Next Topic:Drag and Drop in Logic Editor Example
Goto Forum:
  


Current Time: Sun Apr 20 12:33:05 EDT 2014

Powered by FUDForum. Page generated in 0.01624 seconds