swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying Model State Data


From: glen e. p. ropella
Subject: Re: Displaying Model State Data
Date: Mon, 13 Jan 1997 08:28:04 -0700

> I've been looking at the "Rise of Banking" application and thought it
> would be a good idea to add a table showing state data for each of the
> entities. I'm hoping this will not be too hard and will help me to start
> getting some real practice with Swarm. 
> 
> Does a Swarm object exist for displaying data in table form? If so, what
> class is it in? Does any sample code make use of it?

This sounds like a good thing to try.  It will be a good intro to
Swarm programming, especially since I don't think there is a special
"table" object with which you can display data.  (You might have a
good look at BLT, which is what provides the graphs and
histograms...if it's anywhere, it's there.)  But, writing one
shouldn't be too difficult.  Did you want the table to be modifyable
through mouse clicks and such on the display?  If so, then you might
browse the probe-related code in the simtools library.  This is only
the widgetry for the probes; but, it might give you an idea of how you
would code a table display.  You might be able to design a custom
display that probes an object and displays the data from that, thereby
not really creating a "table object," only a "table display object."

Needless to say, if and when you get this written, we'd like to add it
to our user contrib area.

glen


reply via email to

[Prev in Thread] Current Thread [Next in Thread]