Skip to content

MoveToFront

Manno edited this page May 1, 2016 · 2 revisions

An example of the common 'move to front' functionality. By clicking on an item it is taken out of the current order of elements and becomes the front most item. Useful for inspection of items like a card in a deck or hand of cards.

It uses the setChildIndex() method of the DisplayContainer class.

move to front

Clone this wiki locally