(1) misbehavior of any person in its presence or so near thereto as to obstruct the administration of justice;
(2) misbehavior of any of its officers in their official transactions; or
(3) disobedience or resistance to its lawful writ, process, order, rule, decree, or command.