int (boolean isPushed) { if (isPushed || myRollover && myMouseDown && isEnabled()) { return PUSHED; } else if (myRollover && isEnabled()) { return POPPED; } else if (isFocusOwner()) { return SELECTED; } else { return NORMAL; } }