MASON-INTEREST-L Archives

November 2011

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Subject:
From:
Date:
Wed, 16 Nov 2011 19:21:10 -0500
Content-Transfer-Encoding:
8bit
Content-Type:
text/plain
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (19 lines)
Hi Guys,
Here is a GUI updating question.

According to the MASON manual, it says that the display should be updated 
by it self which means I don't need to bother to schedule the drawing.
But in reality I trid to rely on the customized portrayal(handles drawing by 
itself without delegatoin to the simple portrayal) to update based on the 
underlying field value change, it didn't work. Nothing was updated.
The sample files packaged with MASON never shceduled the drawing 
mechanism and they all updated properly. 

So if we add customized portryayal the updating of GUI has to be done by 
explicitly scheduling the drawing?
Does the MASON check all the portrayal's dirty flag to determine whether to 
update at each step? I don't know whether the mechanism works this way.

Regards,
Ge

ATOM RSS1 RSS2