Stephen wrote:It means that the person recognizes that the object is a fetter, an attachment.
I believe it to be that the mind is gladdened and made happy on account of the wholesome mind state of generosity. That this thought will be the support and cause for a heavenly future rebirth.
'This is an ornament for the mind, a support for the mind' — on the break-up of the body, after death, he reappears in the company of Brahma's Retinue. Then, having exhausted that action, that power, that status, that sovereignty, he is a non-returner. He does not come back to this world.
Also see this thread:viewtopic.php?f=13&t=3689
This is our foundation: to have sati, recollection, and sampajañña, self-awareness, whether standing, walking, sitting, or reclining. Whatever arises, just leave it be, don't cling to it. Be it like or dislike, happiness or suffering, doubt or certainty... Don't try to label everything, just know it. See that all the things that arise in the mind are simply sensations. They are transient. They arise, exist and cease. That's all there is to them, they have no self or being, they are neither ''us'' nor ''them.'' They are not worthy of clinging to, any of them. - Ajahn Chah