No comment. Sorry.
actionDownSelector:
actionUpSelector:
labelDown:
labelUp:
doButtonDownAction
doButtonUpAction
mouseDown:
Handle a mouse down event. The default response is to let my eventHandler, if any, handle it.
mouseUp:
if oldColor nil, it signals that mouse had not gone DOWN inside me, e.g. because of a cmd-drag; in this case we want to avoid triggering the action!
setDefaultLabel