I found this over at the Dallas Morning News Technology blog which does a great job of describing it, just click where you want the photo to focus and it does it.
That’s not some kind of special effect with multiple photos. The camera actually shoots everything in the frame in focus, and then lets you pick which area you want in focus in the final shot. Or you can have everything in focus.
More photos to play with here.