Contents:
The Leaf class represents the end objects of a composition.
A Leaf cannot have any children. It implements the base Component interface.
Public Functions
Constructs a Leaf with a given name.
name – The name of the leaf.
Performs the operation specific to the Leaf.