MASON-INTEREST-L Archives

September 2011

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

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

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Sat, 17 Sep 2011 19:00:14 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (67 lines)
What I meant was: when there are more than 25 properties, SimpleInspector only displays the first 25, but then adds a paging gizmo at the top of its list which allows you to page through to see the next 25, then the next 25, and so on.  It should say:

	Go to [0 ..............] < - > of 59

(or replace 59 with however many total properties you have).  

Sean


On Sep 17, 2011, at 6:57 PM, Vlasios Voudouris wrote:

> The idea of using a widget is useful for what I need to do. Is there any example how to do it?
> 
> Vlasios
> 
> 
> 
> On 17 Sep 2011, at 23:22, fraSean Luke <[log in to unmask]> wrote:
> Ful
>> Okay.
>> 
>> I have revised SimpleInspector out on SVN -- it seems to have escaped my combing-over when writing the manual.  SimpleInspector now has options for setting the maximum number of properties displayed: and that value is inherited by children generated by the SimpleInspector in question.  I've also added a new method to GUIState called getMaximumPropertiesForInspector() which you can override to provide a different value than 25.  Try it out and let me know if there are any bugs (it's only been lightly tested).
>> 
>> Just to be clear: even though you can only see 25 items at a time (by default), you can page through to see the other items via a widget at the top of the inspector.
>> 
>> Sean
>> 
>> 
>> On Sep 17, 2011, at 3:04 PM, Vlasios Voudouris wrote:
>> 
>>> Thanks - I will recheck my code but it seems that I can only see a subset (26 items). 
>>> 
>>> 
>>> 
>>> On 17 Sep 2011, at 19:41, Sean Luke <[log in to unmask]> wrote:
>>> 
>>>> No.
>>>> 
>>>> Sean
>>>> 
>>>> On Sep 17, 2011, at 9:41 AM, Vlasios Voudouris wrote:
>>>> 
>>>>> Is there any upper limit on the number of items (say 26) listed in the 'Model' tab?
>>>>> 
>>>>> Vlasios
>>>>> =============================================
>>>>> Dr Vlasios Voudouris  <[log in to unmask]> 
>>>>> CIBS Deputy Director
>>>>> Centre for International Business and Sustainability
>>>>> London Metropolitan Business School
>>>>> London Metropolitan University
>>>>> 84 Moorgate, London EC2M 6SQ, UK 
>>>>> 
>>>>> web (CIBS): http://www.londonmet.ac.uk/lmbs/research/cibs/
>>>>> web (gamlss): www.gamlss.com
>>>>> web(ACEGES): http://www.aceges.org/
>>>>> SSRN Author: http://ssrn.com/author=1145910 
>>>>> 
>>>>> Save a tree...please don't print this e-mail unless you really need to
>>>>> ==============================================
>>>>> 
>>>>> Companies Act 2006 : http://www.londonmet.ac.uk/companyinfo
>>>>> 
>>>>> 
>>> Companies Act 2006 : http://www.londonmet.ac.uk/companyinfo
> Companies Act 2006 : http://www.londonmet.ac.uk/companyinfo

ATOM RSS1 RSS2