From: Egon Willighagen <egon.willighagen@gm...> - 2014-01-07 06:16:29
On Tue, Jan 7, 2014 at 12:10 AM, Cyrus Harmon <ch-cdk@...> wrote:
> While I’m busy asking stupid CDK questions, what is the purpose of the silent.Foo classes?
The "normal" classes send around a cascade of change events when
something in the data model is changed. So, when a coordinate, flag,
or so, of an IAtom is changed, it sends a change event to all
listeners. One such listener is the IAtomContainer and IBond. They, in
turn, also send around change events to all listeners, like an
The "silent" classes are -silent- and do not send around such events.
That makes them faster, and in many cases you do not need such
listener/event set up (JChemPaint did).
Dr E.L. Willighagen
Department of Bioinformatics - BiGCaT
Maastricht University (http://www.bigcat.unimaas.nl/)