|
Re: IFigure - no getLocation() ?? [message #107343 is a reply to message #107331] |
Fri, 28 November 2003 08:40 |
Eclipse User |
|
|
|
Originally posted by: nospam.gmx.net
Hi Chris,
"Chris Heald" <chris.heald@m.eads.net> wrote in message
news:bq70af$803$1@eclipse.org...
> Why does IFigure not have a getLocation() method?
I don?t know...
> Not a big problem and I'm sure there's probably a good reason for it but
> after saerching the newsgroups I couldn't find anything so I thought I'd
> ask...
I?m also sure, there?s a reason.
Are you looking for an answer to your question
or a possibility to get the location? Then try figure.getBounds.getLocation!
>
> Thanks
> Chris Heald
Regards, Ingo
|
|
|
Re: IFigure - no getLocation() ?? [message #107413 is a reply to message #107331] |
Fri, 28 November 2003 13:13 |
Eclipse User |
|
|
|
Originally posted by: g.wagenknecht.intershop.de
Chris Heald wrote:
> Why does IFigure not have a getLocation() method?
Because they have bounds.
@see IFigure#getBounds
> Not a big problem and I'm sure there's probably a good reason for it
> but after saerching the newsgroups I couldn't find anything so I
> thought I'd ask...
Well, normally figures are placed (@see IFigure#setBounds) by their parents
with the help of a layout manager.
Cu, Gunnar
|
|
|
|
Powered by
FUDForum. Page generated in 0.02748 seconds