|
Re: Polyline.setPoints() [message #156516 is a reply to message #156509] |
Mon, 01 November 2004 21:57 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
This is a multi-part message in MIME format.
------=_NextPart_000_0009_01C4C033.E27EC380
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
It is an optimization which allows callers to reuse the PointList =
instance.
To avoid the notification, don't call setPoints() unless you have =
modified the list.
<jcorchis@hotmail.com> wrote in message =
news:cm68s7$rn3$1@eclipse.org...
Hi,=20
Why does Polyline.setPoints() always fire change events, where as =
Figure.setBounds() doesn't unless they've changed?=20
Thanks=20
Jon
------=_NextPart_000_0009_01C4C033.E27EC380
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1476" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>It is an optimization which allows =
callers to reuse=20
the PointList instance.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>To avoid the notification, don't call =
setPoints()=20
unless you have modified the list.</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><<A =
href=3D"mailto:jcorchis@hotmail.com">jcorchis@hotmail.com</A>>=20
wrote in message <A=20
=
href=3D"news:cm68s7$rn3$1@eclipse.org">news:cm68s7$rn3$1@eclipse.org</A>.=
...</DIV><BR><FONT=20
face=3Dsans-serif size=3D2>Hi, </FONT><BR><BR><FONT face=3Dsans-serif =
size=3D2>Why=20
does Polyline.setPoints() always fire change events, where as=20
Figure.setBounds() doesn't unless they've changed?</FONT> =
<BR><BR><BR><FONT=20
face=3Dsans-serif size=3D2>Thanks</FONT> <BR><BR><FONT =
face=3Dsans-serif=20
size=3D2>Jon</FONT></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0009_01C4C033.E27EC380--
|
|
|
Powered by
FUDForum. Page generated in 0.03401 seconds