Create a CheckBoxList with and IconImage

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Create a CheckBoxList with and IconImage

Postby robertho21 » Fri Oct 29, 2010 4:50 pm

Is any way to create a CheckBoxList populated in the following way:

[ImageIcon][Checkbox][Description]

I have reading maybe could be setting a new Cell Rendered, do you have an example of this.

Thanks.
robertho21
 
Posts: 10
Joined: Fri Oct 29, 2010 4:38 pm

Re: Create a CheckBoxList with and IconImage

Postby JIDE Support » Fri Oct 29, 2010 5:31 pm

If you use set cell renderer, you can only get [Checkbox][ImageIcon][Description]. To get [ImageIcon][Checkbox][Description] , you will have to override getCellRenderer and create your own cell renderer which includes a check box of its own. Of course, mouse listener also needs to be customized so that it can find the check box when clicking in it. Anyway, you can look at CheckBoxList source code for more details.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: Create a CheckBoxList with and IconImage

Postby robertho21 » Mon Nov 01, 2010 8:50 am

The List with [Checkbox][ImageIcon][Description] was ok. Thanks.
robertho21
 
Posts: 10
Joined: Fri Oct 29, 2010 4:38 pm


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 70 guests