LeBron isn't in the dunk contest because his ego can't take the fact of losing. While he's a good powerful dunker he's never been extremely creative with it from what I can tell. You have the tomahawk, then the up and under reverse, etc.
Even when he played in Cleveland I didn't feel he was a flashy enough dunker for the dunk contest.
But I was interested in seeing what he could do at least.