public class CHierarchyTag extends CIntentionalTag
CShape
.
A CHierarchyTag(CShape s)
tags s and every shape havind s as an ancestor.
Constructor and Description |
---|
CHierarchyTag(CShape s)
Builds a
CHierarchyTag with the set composed of s and every shape having s as an ancestor.. |
Modifier and Type | Method and Description |
---|---|
boolean |
criterion(CShape s)
The method to override to specify the property a shape must check to be tagged by this tag.
|
getCollection, reset
above, aboveAll, action, action, addGhost, addTag, addTag, and, and, animate, attachSM, below, belowAll, contains, contains, contains, contains, detachSM, firstShape, fixReferenceShapeToCurrent, getAntialiasedShapes, getBoundingBox, getCanvas, getCenterX, getCenterY, getFilledShapes, getFirstAntialiasedShape, getFirstFilledShape, getFirstHavingTag, getFirstOutlinedShape, getIntersection, getMaxX, getMaxY, getMinX, getMinY, getOutlinedShapes, getTopLeastShape, getTopMostShape, hasNext, hasTag, hasTag, intersects, isAntialiased, isDrawable, isFilled, isOnOutline, isOutlined, isPickable, next, nextShape, or, or, removeGhost, removeTag, removeTag, rotateBy, rotateTo, scaleBy, scaleBy, scaleTo, scaleTo, setAntialiased, setClip, setDrawable, setFilled, setFillPaint, setOutlined, setOutlinePaint, setParent, setPickable, setReferencePoint, setRenderingHint, setShape, setStroke, setTransformToIdentity, setTransparencyFill, setTransparencyFill, setTransparencyOutline, setTransparencyOutline, tagsShape, translateBy, translateTo
public CHierarchyTag(CShape s)
CHierarchyTag
with the set composed of s and every shape having s as an ancestor..s
- The parent shape of the hierarchy.public boolean criterion(CShape s)
criterion
in class CIntentionalTag
s
- The shape.s
checks the property, false otherwise.