classes called while enabling command buttons in forms

what are the classes called when we enable or disable a command buttons in invoice journal form