I am currently working on an app that is using a TileList component with a custom item renderer (HBox) and had to address a similar situation.
As Mike stated the TileList reuses the current item renderers so you will have to add some logic into the renderer itself to accomplish this. I was able implement some logic into the custom item renderer that randomly changes the background color of the renderer itself based upon some MetaData value it was using as a type of "flag". You might also be able to create some randomized event in your renderer that would change your background color but have not proved that one up yet. Hope this helps, Kenny --- In [email protected], "juanprt123" <[EMAIL PROTECTED]> wrote: > > I'm trying to wrap my head around the TileList object model a bit better. > > I have a TileList, using a custom itemrenderer and want to be able to > render each 'tile' in the tilelist a little differently. For example, > I'd like to be able to give each tile a different background color. > But I'm not sure if the object model supports this. Is each 'tile' a > unique instance of the itemrenderer and therefore supports > customization or is the itemrenderer static? >
