I’m sure even republicans can admit that about Obama.
He was classy and dignified when dealing with his ideological fellow travelers or when speaking to his constituents, absolutely. When dealing with those with whom he disagreed, however, he was often petulant, petty, and hostile. He also had a habit of making divisive and often inaccurate assumptions about racial incidents before any evidence had come in.
Basically, he knew how to appear calm and extend his pinky when sipping from a tea cup, had a good handle of expected decorum, but acted like a disgruntled and/or injured child in the face of any adversity whatsoever, so no. . . not someone I would call particularly classy or particularly dignified. He just happened to be passive enough to look dignified and classy when surrounded by supporters and sycophants, and by all accounts, he always generally saw to it that he was in such surroundings as often as possible.