@Override public void doSendToFront() { if (selectedIndex > -1) { model.moveToFront(selectedIndex); selectedIndex = model.getShapes().size() - 1; } }