FYI, that's because OMGraphicList subclasses OMGraphic and therefore has
all the methods of an OMGraphic. This is done so that you can have a
linked list of OMGraphics. In other words, you can graphic lists that
contain both OMGraphics and OMGraphicLists. It is basically a tree
structure, much like windows explorer or KDE Konqueror.
Martin
-----Original Message-----
From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com]
On Behalf Of Chris Hopkins
Sent: Thursday, November 06, 2003 8:11 AM
To: 'Bryan Tedesco'; openmap-users@bbn.com
Subject: RE: [OpenMap Users] Create own OMGraphic
Hi Bryan -
Check out OMGraphicList. It acts as a OMGraphic (in that it has a render
and generate method) but allows you to add multiple OMGraphic objects to
it to group them together.
- Chris
-----Original Message-----
From: Bryan Tedesco [mailto:btedesco@gestalt-llc.com]
Sent: Thursday, November 06, 2003 9:15 AM
To: openmap-users@bbn.com
Subject: [OpenMap Users] Create own OMGraphic
Hello,
I am trying to create my own OMGraphic that contains an OMCircle, OMLine
, OMRect and OMText. I tried and failed. So, I created a class that
adds all of the OMGraphics to a graphic list. Then I use this graphic
list throughout the rest of my code. So I am wondering if anyone can
point me somewhere or help me create this OMGraphic, so that it is a
single OMGraphic? So when I create an object of my class OMnewgraphic.
It creates a single OMGraphic object, instead of an object with an
OMGraphicList. I've looked around and there doesn't seem to be any
documentation on how to do this. Is there any sample code I could look
at, or am I missing something?
-Bryan
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Thu Nov 6 11:37:46 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT