public class ClassTag extends CIntentionalTag
ClassTag is an intentional tag
corresponding to a group of shape tagged by a
tag of a given class.| 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.
|
static ClassTag |
getTag(Canvas c,
java.lang.Class tagClass)
Returns the existing
ClassTag
registered on a given canvas or creates it if
it does not exist. |
getCollection, resetabove, 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, translateTopublic boolean criterion(CShape s)
criterion in class CIntentionalTags - The shape.s checks the property, false otherwise.