Class 2 |
Intermediate Java 30-IT-397 |
|
Nesting Tags
-
Tags can be nested, and share information with each other.
-
Use findAncestorWithClass(this, ParentTag.class) to find the parent tag
of the nested tag.
-
You can use the object returned from that method to access methods of the
class.
Putting it all together: A Blackjack Example

Created by: Brandan Jones
December 17, 2001