如何在FLEX中创建包含Rich文本的列表控件?

时间:2022-01-04 15:49:59

I am a FLEX newbie, trying to port a Javascript-based prototype into FLEX. One thing my original prototype had was an unordered list (ul) which had list items that had rich text inside it, i.e. I had a mix of differently styled and colored text and some images inside each item. I looked at the List control for FLEX and it only supports displaying a simple string and an icon. How would I go about making a rich text capable list control?

我是一个FLEX新手,试图将基于Javascript的原型移植到FLEX中。我的原始原型有一个是无序列表(ul),其中包含列表项,其中包含丰富的文本,即我混合了不同样式和彩色文本以及每个项目内的一些图像。我查看了FLEX的List控件,它只支持显示一个简单的字符串和一个图标。我将如何制作富文本列表控件?

1 个解决方案

#1


1  

No help yet? I founded it. It's called ItemRenderers http://livedocs.adobe.com/flex/3/html/help.html?content=cellrenderer_1.html

没有帮助吗?我创立了它。它被称为ItemRenderers http://livedocs.adobe.com/flex/3/html/help.html?content=cellrenderer_1.html

Much like the renders in Java Swing.

就像Java Swing中的渲染一样。

#1


1  

No help yet? I founded it. It's called ItemRenderers http://livedocs.adobe.com/flex/3/html/help.html?content=cellrenderer_1.html

没有帮助吗?我创立了它。它被称为ItemRenderers http://livedocs.adobe.com/flex/3/html/help.html?content=cellrenderer_1.html

Much like the renders in Java Swing.

就像Java Swing中的渲染一样。