With button rifling they push a "button" through the bore. That button has the rifling pattern around its circumference and it impresses the lands and grooves into the bore. Hammerforging is done by placing a mandrel with the lands and grooves on it into the blank barrel and pounding (hammering) the the barrel down onto the mandrel, impressing the rifling into the bore. Rifling is also cut into barrels. This involves actual removal of metal to form lands and grooves. The other two do not.