Sets a new view node.
The true value if the view node is successfully set; otherwise, the method returns false.