Basically if you eat good, you know, go for the most nutritious stuff, and basically broaden your pallet and try everything, other than McDonalds, its more than likely you'll avoid cancers, especially if you're fitness is good too.
The foods listed in the OP are by no means the only anti cancerous agents, but it's a good start for people who don't know.
Like Parsley, now that stuff is addictive.