net.cscott.sdr.calls
Class NamedTaggedFormation
java.lang.Object
net.cscott.sdr.calls.Formation
net.cscott.sdr.calls.TaggedFormation
net.cscott.sdr.calls.NamedTaggedFormation
public class NamedTaggedFormation
- extends TaggedFormation
Associates a name with a canonical
formation. This makes string representations more compact!
- Tests:
Fetch tagged dancers from a TaggedFormation:
js> FormationList = FormationList.js(this); undefined;
js> f = FormationList.STATIC_SQUARE ; f.getClass()
class net.cscott.sdr.calls.NamedTaggedFormation
js> f.getName()
STATIC SQUARE
Methods inherited from class net.cscott.sdr.calls.TaggedFormation |
addTags, coerce, equals, hashCode, isTagged, isTagged, map, map, mapStd, move, select, tagged, tagged, tags |
Methods inherited from class net.cscott.sdr.calls.Formation |
bounds, bounds, dancerComparator, dancers, isCentered, isSelected, location, mirror, onlySelected, recenter, rotate, select, selectedDancers, sortedDancers, toStringDiagram, toStringDiagram, toStringDiagram, toStringDiagramWithDetails, toStringDiagramWithDetails, toStringDiagramWithDetails |
NamedTaggedFormation
public NamedTaggedFormation(String name,
net.cscott.sdr.calls.TaggedFormation.TaggedDancerInfo... tdi)
NamedTaggedFormation
public NamedTaggedFormation(String name,
Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
NamedTaggedFormation
public NamedTaggedFormation(String name,
TaggedFormation tf)
getName
public String getName()
toString
public String toString()
- Overrides:
toString
in class TaggedFormation
Copyright © 2006-2009 C. Scott Ananian