Select a link in an IlvLinkBundle

Article ID: 2375
Last updated: 30 May, 2018
Article ID: 2375
Last updated: 30 May, 2018
Revision: 3
Views: 518
Posted: 23 Sep, 2010
by Dean J.
Updated: 30 May, 2018
by Gargani A.

Question

How do you select a single link in an IlvLinkBundle?

Answer

You can create your own custom select interactor by subclassing IlvSelectInteractor.
Override its mouseDown(MouseEvent event) method to listen for a mouse button down event when the user clicks on a sublink. When the mouse down event is triggered, you can get the sublink of the IlvLinkBundle and select it by calling the method IlvLinkBundle.setSelected(IlvLinkImage sublink, boolean select).

Here is a sample that demonstrates this technique.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2375
Last updated: 30 May, 2018
Revision: 3
Views: 518
Posted: 23 Sep, 2010 by Dean J.
Updated: 30 May, 2018 by Gargani A.
Also listed in


Others in this category