|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SMTag | |
sm |
Uses of SMTag in sm |
Subclasses of SMTag in sm | |
class |
SMAndTag
A SMAndTag is a tag corresponding to the set of shapes tagged by a tag t1 and a tag t2. |
class |
SMExtensionalTag
A SMExtensionalTag tag is a tag that can be explicitely attached to and detached from a shape,
i.e. a shape can be added to or removed to the tag's collection. |
class |
SMHierarchyTag
A SMHierarchyTag(SMShape s) tags s and every shape whose s is an ancestor. |
class |
SMNamedTag
A SMNamedTag tag is a SMVolatileTag .
|
class |
SMOrTag
A SMOrTag is a tag corresponding to the set of shapes tagged by a tag t1 or a tag t2. |
Methods in sm that return SMTag | |
SMTag |
StateMachine.State.EventOnTag.getTagObject()
Returns the tag instance attached to the SMShape on which the mouse event firing this transition has occured. |
SMTag |
SMTag.and(SMTag t)
Builds a tag corresponding to the set of shapes tagged by this tag and by t. |
SMTag |
SMTag.and(java.lang.String t)
Builds a tag corresponding to the set of shapes tagged by this tag and by the SMNamedTag t. |
SMTag |
SMTag.or(SMTag t)
Builds a tag corresponding to the set of shapes tagged by this tag or by t. |
SMTag |
SMTag.or(java.lang.String t)
Builds a tag corresponding to the set of shapes tagged by this tag or by the SMNamedTag t. |
SMTag |
SMTag.action()
Calls action(SMShape s) for every SMShape s that has this tag. |
SMTag |
SMTag.setShape(java.awt.Shape sh)
Calls setShape(Shape sh) for every SMShape that has this tag. |
SMTag |
SMTag.setParent(SMShape parent)
Calls setParent(SMShape parent) for every SMShape that has this tag. |
SMTag |
SMTag.setStroke(java.awt.Stroke str)
Calls setStroke(Shape sh) for every SMShape that has this tag. |
SMTag |
SMTag.setTransparency(float alpha)
Calls setTransparency(float alpha) for every SMShape that has this tag. |
SMTag |
SMTag.setFillPaint(java.awt.Paint fp)
Calls setFillPaint(Paint fp) for every SMShape that has this tag. |
SMTag |
SMTag.setOutlinePaint(java.awt.Paint op)
Calls setOutlinePaint(Paint op) for every SMShape that has this tag. |
SMTag |
SMTag.setAntialiased(boolean a)
Calls setAntialiased(boolean) for every SMShape that has this tag. |
SMTag |
SMTag.setFilled(boolean f)
Calls setFilled(boolean) for every SMShape that has this tag |
SMTag |
SMTag.setOutlined(boolean f)
Calls setOutlined(boolean) for every SMShape that has this tag |
SMTag |
SMTag.setDrawable(boolean f)
Calls setDrawable(boolean) for every SMShape that has this tag |
SMTag |
SMTag.setPickable(boolean pick)
Calls setPickable(boolean) for every SMShape that has this tag. |
SMTag |
SMTag.setReferencePoint(double x,
double y)
Calls setReferencePoint(double x, double y) for every SMShape that has this tag. |
SMTag |
SMTag.translateBy(double tx,
double ty)
Calls translateBy(double tx, double ty) for every SMShape that has this tag. |
SMTag |
SMTag.translateTo(double tx,
double ty)
Calls translateTo(double tx, double ty) every SMShape that has this tag |
SMTag |
SMTag.scaleBy(double sx,
double sy)
Calls scale(double sx, double sy) for every SMShape that has this tag |
SMTag |
SMTag.scaleBy(double s)
Calls scaleBy(double s) for every SMShape that has this tag |
SMTag |
SMTag.scaleTo(double sx,
double sy)
Calls scaleTo(double sx, double sy) for every SMShape that has this tag |
SMTag |
SMTag.scaleTo(double s)
Calls scaleTo(double s) for every SMShape that has this tag |
SMTag |
SMTag.rotateBy(double theta)
Calls rotateBy(double theta) for every SMShape that has this tag |
SMTag |
SMTag.rotateTo(double theta)
Calls rotateTo(double theta) for every SMShape that has this tag |
SMTag |
SMTag.above(SMShape before)
Calls above(SMShape before) for every SMShape that has this tag. |
SMTag |
SMTag.aboveAll()
Calls aboveAll() for every SMShape that has this tag. |
SMTag |
SMTag.below(SMShape after)
Calls below(SMShape after) for every SMShape that has this tag. |
SMTag |
SMTag.belowAll()
Calls belowAll() for every SMShape that has this tag. |
SMTag |
SMTag.setClip(SMShape clip)
Calls setClip(SMShape clip) for every SMShape that has this tag. |
SMTag |
SMTag.removeGhost()
Calls removeGhost() on every SMShape that has this tag |
SMTag |
SMTag.addTag(SMExtensionalTag t)
Calls addTag(SMCanvas.Tag t) for every SMShape that has this tag. |
SMTag |
SMTag.addTag(java.lang.String t)
Calls addTag(String t) for every SMShape that has this tag. |
SMTag |
SMTag.removeTag(SMTag t)
Calls removeTag(SMTag t) for every SMShape that has this tag only if t is a SMVolatileTag ,
does nothing otherwise. |
SMTag |
SMTag.removeTag(java.lang.String t)
Calls removeTag(String t) for every SMShape that has this tag. |
Methods in sm with parameters of type SMTag | |
SMTag |
SMTag.and(SMTag t)
Builds a tag corresponding to the set of shapes tagged by this tag and by t. |
SMTag |
SMTag.or(SMTag t)
Builds a tag corresponding to the set of shapes tagged by this tag or by t. |
SMShape |
SMTag.getFirstHavingTag(SMTag t)
Returns the topmost SMShape that has tag t. |
boolean |
SMTag.hasTag(SMTag t)
Returns true if every shape with this tag also has tag t. |
SMTag |
SMTag.removeTag(SMTag t)
Calls removeTag(SMTag t) for every SMShape that has this tag only if t is a SMVolatileTag ,
does nothing otherwise. |
SMShape |
SMShape.addTag(SMTag t)
Adds a tag to this shape only if the tag is a SMVolatileTag , does anything otherwise. |
boolean |
SMShape.hasTag(SMTag t)
Tests whether this shape has a given tag. |
SMShape |
SMShape.removeTag(SMTag t)
Removes a tag from this shape only if the tag is a SMVolatileTag . |
Constructors in sm with parameters of type SMTag | |
StateMachine.State.EventOnTag(SMTag t,
java.lang.String e)
Constructs a transition with any modifier on a tagged shape that loops on the current state. |
|
StateMachine.State.EventOnTag(SMTag t,
java.lang.String e,
int m)
Constructs a transition on a tagged shape that loops on the current state. |
|
StateMachine.State.EventOnTag(SMTag t,
java.lang.String e,
java.lang.String a)
Constructs a transition with any modifier on a tagged shape. |
|
StateMachine.State.EventOnTag(SMTag t,
java.lang.String e,
int m,
java.lang.String a)
Constructs a transition on a tagged shape that loops on the current state. |
|
StateMachine.State.MouseOnTag(SMTag t,
java.lang.String e,
int b,
int m,
java.lang.String a)
Constructs a mouse transition on tagged shape. |
|
StateMachine.State.MouseOnTag(SMTag t,
java.lang.String e,
int b,
int m)
Constructs a mouse transition on tagged shape that loops on the current state. |
|
StateMachine.State.MouseOnTag(SMTag t,
java.lang.String e,
int b,
java.lang.String a)
Constructs a mouse transition with no modifier on tagged shape. |
|
StateMachine.State.MouseOnTag(SMTag t,
java.lang.String e,
int b)
Constructs a mouse transition with no modifier on tagged shape that loops on the current state. |
|
StateMachine.State.EnterOnTag(SMTag t)
Constructs a transition triggered when the cursor enters with any modifier in a tagged shape. |
|
StateMachine.State.EnterOnTag(SMTag t,
int m)
Constructs a transition triggered when the cursor enters in a tagged shape. |
|
StateMachine.State.EnterOnTag(SMTag t,
java.lang.String a)
Constructs a transition triggered when the cursor enters with any modifier in a tagged shape. |
|
StateMachine.State.EnterOnTag(SMTag t,
int m,
java.lang.String a)
Constructs a transition triggered when the cursor enters in a tagged shape. |
|
StateMachine.State.LeaveOnTag(SMTag t)
Constructs a transition triggered when the cursor leaves with any modifier a tagged shape. |
|
StateMachine.State.LeaveOnTag(SMTag t,
int m)
Constructs a transition triggered when the cursor leaves a tagged shape. |
|
StateMachine.State.LeaveOnTag(SMTag t,
java.lang.String a)
Constructs a transition triggered when the cursor leaves with any modifier a tagged shape. |
|
StateMachine.State.LeaveOnTag(SMTag t,
int m,
java.lang.String a)
Constructs a transition triggered when the cursor leaves a tagged shape. |
|
StateMachine.State.PressOnTag(SMTag t,
int b)
Constructs a transition triggered by a mouse pressed event with any modifier on a tagged shape that loops on the current state. |
|
StateMachine.State.PressOnTag(SMTag t,
int b,
int m)
Constructs a transition triggered by a mouse pressed event on a tagged shape that loops on the current state. |
|
StateMachine.State.PressOnTag(SMTag t,
int b,
java.lang.String a)
Constructs a transition triggered by a mouse pressed event with any modifier on a tagged shape. |
|
StateMachine.State.PressOnTag(SMTag t,
int b,
int m,
java.lang.String a)
Constructs a transition triggered by a mouse pressed event on a tagged shape. |
|
StateMachine.State.ReleaseOnTag(SMTag t,
int b)
Constructs a transition triggered by a mouse released event with any modifier on a tagged SMShape that loops on the current state. |
|
StateMachine.State.ReleaseOnTag(SMTag t,
int b,
int m)
Constructs a transition triggered by a mouse released event on a tagged SMShape that loops on the current state. |
|
StateMachine.State.ReleaseOnTag(SMTag t,
int b,
java.lang.String a)
Constructs a transition triggered by a mouse released event with any modifier on a tagged SMShape. |
|
StateMachine.State.ReleaseOnTag(SMTag t,
int b,
int m,
java.lang.String a)
Constructs a transition triggered by a mouse released event on a tagged SMShape. |
|
StateMachine.State.ClickOnTag(SMTag t,
int b)
Constructs a transition triggered by a mouse clicked event with any modifier on a tagged SMShape that loops on the current state. |
|
StateMachine.State.ClickOnTag(SMTag t,
int b,
int m)
Constructs a transition triggered by a mouse clicked event on a tagged SMShape that loops on the current state. |
|
StateMachine.State.ClickOnTag(SMTag t,
int b,
java.lang.String a)
Constructs a transition triggered by a mouse clicked event with any modifier on a tagged SMShape. |
|
StateMachine.State.ClickOnTag(SMTag t,
int b,
int m,
java.lang.String a)
Constructs a transition triggered by a mouse clicked event on a tagged SMShape. |
|
StateMachine.State.DragOnTag(SMTag t,
int b)
Constructs a transition triggered by a mouse dragged event with any modifier on a shape that loops on the current state. |
|
StateMachine.State.DragOnTag(SMTag t,
int b,
int m)
Constructs a transition triggered by a mouse dragged event on a shape that loops on the current state. |
|
StateMachine.State.DragOnTag(SMTag t,
int b,
java.lang.String a)
Constructs a transition triggered by a mouse dragged event with any modifier on a shape. |
|
StateMachine.State.DragOnTag(SMTag t,
int b,
int m,
java.lang.String a)
Constructs a transition triggered by a mouse dragged event on a shape. |
|
StateMachine.State.MoveOnTag(SMTag t)
Constructs a transition triggered by a mouse motion event with any modifier on a tagged SMShape that loops on the current state. |
|
StateMachine.State.MoveOnTag(SMTag t,
int m)
Constructs a transition triggered by a mouse motion event on a tagged SMShape that loops on the current state. |
|
StateMachine.State.MoveOnTag(SMTag t,
java.lang.String a)
Constructs a transition triggered by a mouse motion event with any modifier on a tagged SMShape. |
|
StateMachine.State.MoveOnTag(SMTag t,
int m,
java.lang.String a)
Constructs a transition triggered by a mouse motion event on a tagged SMShape. |
|
SMOrTag(SMTag t1,
SMTag t2)
Builds a SMAndTag tag corresponding to the set of shapes tagged by a tag t1 or a tag t2. |
|
SMAndTag(SMTag t1,
SMTag t2)
Builds a SMAndTag tag corresponding to the set of shapes tagged by a tag t1 and a tag t2. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |