Replacement method

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.

Replacement method

Postby RajaRajeswari_V » Wed May 06, 2009 3:11 am

Hi

i am sorry if this question appears to be silly. Wanted to know which is the replacement method for getSelectedObjects() method of com.jidesoft.swing.CheckBoxList class.In the old versions of Jide-common.jar, in the documentation they have mentioned that getSelectedObjects is different from getSelectedValues() which comes from the superclass JList.

Earlier in my code i used
checkBoxListObject.getSelectedObjects();

Now i m using
checkBoxListObject.getCheckBoxListSelectedValues();

Both these methods return a object [] . but not sure if they return same elements. Please clarify

Thanks
Rajeswari
RajaRajeswari_V
 
Posts: 25
Joined: Tue Apr 28, 2009 8:33 pm

Re: Replacement method

Postby JIDE Support » Wed May 06, 2009 9:08 am

Yes. You are correct. getCheckBoxListSelectedValues() is the right method to replace getSelectedObjects().

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


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

Who is online

Users browsing this forum: Google [Bot] and 78 guests