Term: bravado asshole
Example:  the waitress was being rude, so i poured water over her head, left a 20 on the table, and walked out, swelling with the pride of a bravado asshole
Definition: someone who takes pleasure from saying or doing asshole things, but only when it's appropriate for that person to receive the asshole treatment