|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsm.SMTag
sm.SMHierarchyTag
A SMHierarchyTag(SMShape s) tags s and every shape whose s is an ancestor.
| Constructor Summary | |
SMHierarchyTag(SMHierarchy h)
Builds a SMHierarchyTag with the set of shapes contained in a hierarchy. |
|
SMHierarchyTag(SMShape s)
Builds a SMHierarchyTag with the set composed of s and every shape whose s is an ancestor.. |
|
| Method Summary | |
SMHierarchy |
getHierarchy()
Returns the collection of this tag as a hierarchy. |
boolean |
hasNext()
Tests if there is other shapes tagged by this tag. |
SMShape |
nextShape()
|
void |
reset()
Inits the tag's iterator. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SMHierarchyTag(SMHierarchy h)
SMHierarchyTag with the set of shapes contained in a hierarchy.
h - The hierarchy.public SMHierarchyTag(SMShape s)
SMHierarchyTag with the set composed of s and every shape whose s is an ancestor..
s - The parent shape of the hierarchy.| Method Detail |
public void reset()
SMTag
reset in class SMTagpublic boolean hasNext()
SMTag
hasNext in interface java.util.IteratorhasNext in class SMTagIterator.hasNext()public SMHierarchy getHierarchy()
SMHierarchypublic SMShape nextShape()
nextShape in class SMTag
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||