Skip to main content


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 21:46 Go to next message
Eclipse UserFriend
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 21:05 Go to previous message
Eclipse UserFriend
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: Thu Sep 19 01:44:22 GMT 2024

Powered by FUDForum. Page generated in 0.03700 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top