|
sdr 0.7 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TaggedFormation.Tag | |
---|---|
net.cscott.sdr.calls | This package contains the square dance choreography engine, and the basic types and interfaces required to communicate with it. |
Uses of TaggedFormation.Tag in net.cscott.sdr.calls |
---|
Methods in net.cscott.sdr.calls that return TaggedFormation.Tag | |
---|---|
TaggedFormation.Tag |
PhantomDancer.primitiveTag()
Phantoms can't be primitively-selected. |
TaggedFormation.Tag |
Dancer.primitiveTag()
Returns the most-specific primitive tag for the given dancer, or 'null' if the dancer is a phantom. |
TaggedFormation.Tag |
StandardDancer.primitiveTag()
|
static TaggedFormation.Tag |
TaggedFormation.Tag.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TaggedFormation.Tag[] |
TaggedFormation.Tag.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in net.cscott.sdr.calls that return types with arguments of type TaggedFormation.Tag | |
---|---|
Set<TaggedFormation.Tag> |
TaggedFormation.tags(Dancer d)
Return the non-primitive tags attached to this dancer. |
Methods in net.cscott.sdr.calls with parameters of type TaggedFormation.Tag | |
---|---|
boolean |
TaggedFormation.isTagged(Dancer d,
TaggedFormation.Tag tag)
Returns true if the dancer is tagged by the given tag. |
boolean |
PhantomDancer.matchesTag(TaggedFormation.Tag tag)
Phantoms aren't couple 1, dancer 2, boy/girl etc. |
boolean |
Dancer.matchesTag(TaggedFormation.Tag tag)
Certain dancer TaggedFormation.Tag s are inherent to a dancer,
for example 'DANCER_1', 'COUPLE_2', 'BOY' etc. |
boolean |
StandardDancer.matchesTag(TaggedFormation.Tag tag)
|
Set<Dancer> |
TaggedFormation.tagged(TaggedFormation.Tag tag)
Return the set of dancers tagged with the given tag. |
Method parameters in net.cscott.sdr.calls with type arguments of type TaggedFormation.Tag | |
---|---|
static void |
Tagger.addAutomatic(Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
|
static void |
Tagger.addFrom(TaggedFormation template,
Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
Find all instance of the tagged template formation in the given
given formation f , and add the tags from the template to the
set of tags on f given in tags . |
TaggedFormation |
TaggedFormation.addTags(MultiMap<Dancer,TaggedFormation.Tag> newTags)
Add additional tags to the given formation. |
boolean |
TaggedFormation.isTagged(Dancer d,
Set<TaggedFormation.Tag> tags)
Return true if the dancer is tagged by any tag in the given set of tags |
static void |
Tagger.tag2(Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
Discover 1x2 tags (BEAU/BELLE/LEADER/TRAILER) in the given formation. |
static void |
Tagger.tag4(Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
Discover 1x4 tags (NUMBER_1/2/3/4, CENTER/END) in the given formation. |
Set<Dancer> |
TaggedFormation.tagged(Set<TaggedFormation.Tag> tags)
Return the set of dancers tagged by any of the given set of tags. |
Constructor parameters in net.cscott.sdr.calls with type arguments of type TaggedFormation.Tag | |
---|---|
NamedTaggedFormation(String name,
Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
|
|
PhantomDancer(Set<TaggedFormation.Tag> tags)
Sometimes you want to create phantoms which match specific primitive dancer tags. |
|
TaggedFormation(Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
|
|
TaggedFormation(Map<Dancer,Position> location,
Set<Dancer> selected,
MultiMap<Dancer,TaggedFormation.Tag> tags)
|
|
sdr 0.7 | |||||||||
PREV NEXT | FRAMES NO FRAMES |