Added_to_stage / removed_from_stage

when to use this in a classes?

is there any specific rule?

is it wrong to use this when you want to just access the stage that way?

or is it better to pass the reference to the stage in the class constructor?

could somebody give me an example, i really need to understand when to use Added_to_stage / removed_from_stage…