• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Ext_GWT: Image Gallery box using a ListView

 
Greenhorn
Posts: 6
Eclipse IDE Tomcat Server Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to build an image gallery, just like this "Chart Gallery" you can see in the example provided in this link http://www.sencha.com/examples/pages/charts/gallery.html.
In tihs example, I can see that the gallery is implemented with a ListView containing a ListStore, and that ListStore cointains some kind of ModelData.


And that GalleryChartModel is implemented this way


But I can't understand the inherent logic of this code: there are 3 properties in the model, how do the framework know how to interpret this properties? I mean: In this last class, there are two propperties (path and name) that seems to be used for rendering but i dont understand how.

There's another native method (something I don't understand) that is implemented tis way:


We can see "name", "path" and "shortName" words appearing here, but I don't know what this means.
Can anyone give me a clue?
 
Don't listen to Steve. Just read this tiny ad:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!