Re: ContentAvailable event generated by Grou

Andreas Kraft (kraft@fokus.gmd.de)
Thu, 8 Jan 1998 16:44:22 +0100 (MET)

Hello Guido and colleagues,

On Thu, 8 Jan 1998, Grassel Guido NRC/Hki wrote:

> 1. Definition of this event is in Root class, the consequence is that also
> Group classes inherit this event. Do Group objects need to send this event,
> and what could that be useful for?

I would say that Group objects do indeed inherit the event, but never
generate one because they have no content.

> 2. Do those Ingredient classes which are not allowed to have content data
> (f.ex. Rectangle class) generate the ContentAvailable event? The wording in
> section 8.2 is unclear about that.

I think it is not.

8.2 (Root, Events, ContentAvailable) says:
"This event is generated when the object and its content are available..."

Therefore, objects which have no Content do never generate the event.

Best regards,

Andreas

--
  o  _     Andreas Kraft
 (\_|_)      GMD FOKUS, kraft@fokus.gmd.de, +49 30 3463-7232
 T> ] [        The sky is the limit