Class NumberingSequencer
- java.lang.Object
-
- com.nomagic.magicdraw.uml.symbols.layout.sequence.NameSequencer
-
- com.nomagic.magicdraw.uml.symbols.layout.sequence.NumberingSequencer
-
- All Implemented Interfaces:
Sequencer,java.util.Comparator<ShapeElement>
@OpenApiAll public class NumberingSequencer extends NameSequencer
Sorts by numbering ID. Takes the numbering ID and sorts them alphanumerically. The shapes that do not have ID's are placed at the end
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAME
-
Constructor Summary
Constructors Constructor Description NumberingSequencer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(ShapeElement o1, ShapeElement o2)java.lang.StringgetName()The name of the sequencer-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.layout.sequence.NameSequencer
compareStrings
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:SequencerThe name of the sequencer- Specified by:
getNamein interfaceSequencer- Overrides:
getNamein classNameSequencer- Returns:
- sequencer name
-
compare
public int compare(ShapeElement o1, ShapeElement o2)
- Specified by:
comparein interfacejava.util.Comparator<ShapeElement>- Specified by:
comparein interfaceSequencer- Overrides:
comparein classNameSequencer
-
-