public class ANamedTag extends AExtensionalTag
A ANamedTag
tag is a AExtensionalTag
.
A ANamedTag
tag an be referenced using its key string.
AExtensionalTag
,
ATag
,
Animation
Constructor and Description |
---|
ANamedTag(java.lang.String n)
Builds a
ANamedTag tag. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of this tag.
|
static ANamedTag |
getTag(java.lang.String t)
Returns the tag object given its name.
|
static void |
initForApplet()
For internal use.
|
boolean |
setName(java.lang.String n)
Sets the name of this tag.
|
added, addTo, removed, removeFrom
action, action, addTag, addTag, hasNext, next, nextAnimation, removeTag, removeTag, reset, resume, setAnimatedElement, setDelay, setDurationLap, setFunction, setNbLaps, start, stop, suspend, tagsAnimation
getCollection, remove, size
public ANamedTag(java.lang.String n)
ANamedTag
tag.
Note that if a tag with the same name already exists, this new tag is not registered, and the results are undefined.n
- The name of the tagpublic static void initForApplet()
SwingStatesApplet
.SwingStatesApplet.init()
public static ANamedTag getTag(java.lang.String t)
t
- The name of the tagpublic java.lang.String getName()
public boolean setName(java.lang.String n)
n
- The name.