|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.lri.swingstates.sm.Tag
fr.lri.swingstates.animations.ATag
fr.lri.swingstates.animations.AExtensionalTag
public class AExtensionalTag
A AExtensionalTag tag is a tag that can be explicitely attached to and detached from an animation,
i.e. an animation can be added to or removed to the tag's collection.
ATag,
Animation| Constructor Summary | |
|---|---|
AExtensionalTag()
Builds a AExtensionalTag that can tag the animations. |
|
| Method Summary | |
|---|---|
void |
added(Animation a)
Method called when this tag is added to a Animation. |
AExtensionalTag |
addTo(Animation a)
Adds this tag to a given Animation. |
void |
removed(Animation a)
Method called when this tag is removed from an Animation. |
AExtensionalTag |
removeFrom(Animation a)
Removes this tag from a given Animation. |
| Methods inherited from class fr.lri.swingstates.animations.ATag |
|---|
action, action, addTag, addTag, hasNext, next, nextAnimation, removeTag, removeTag, reset, resume, setAnimatedElement, setDelay, setDurationLap, setFunction, setNbLaps, start, stop, suspend, tagsAnimation |
| Methods inherited from class fr.lri.swingstates.sm.Tag |
|---|
getCollection, remove, size |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AExtensionalTag()
AExtensionalTag that can tag the animations.
Animation| Method Detail |
|---|
public void added(Animation a)
Animation. By default, this method does nothing.
Redefine it in a subclass to specify side effects, such as changing the delay of the attached Animation.
a - The animationpublic void removed(Animation a)
Animation. By default, this method does nothing.
Redefine it in a subclass to specify side effects, such as changing the delay of the attached Animation.
a - The animation.public AExtensionalTag addTo(Animation a)
Animation.
This method calls added(Animation), which can be redefined in subclasses
to specify side effects, such as changing the delay of the attached animation when the tag is added.
a - The animation
added(Animation)public AExtensionalTag removeFrom(Animation a)
Animation.
This method calls removed(Animation), which can be redefined in subclasses
to specify side effects, such as changing the delay of the attached animation when the tag is removed.
a - The animation
removed(Animation)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||