public class InstructionSwitch extends java.lang.Object implements Instruction, InstructionCollection
| Constructor and Description |
|---|
InstructionSwitch(Swimlane swimlane,
Instruction parent,
Display labelTest,
LinkRendering inlinkRendering,
HColor color,
ISkinParam skinParam) |
| Modifier and Type | Method and Description |
|---|---|
CommandExecutionResult |
add(Instruction ins) |
boolean |
addNote(Display note,
NotePosition position,
NoteType type,
Colors colors,
Swimlane swimlaneNote) |
boolean |
containsBreak() |
Ftile |
createFtile(FtileFactory factory) |
Gtile |
createGtile(ISkinParam skinParam,
StringBounder stringBounder) |
void |
endSwitch(LinkRendering nextLinkRenderer) |
protected Ftile |
eventuallyAddNote(FtileFactory factory,
Ftile ftile,
Swimlane swimlane,
VerticalAlignment verticalAlignment) |
LinkRendering |
getInLinkRendering() |
Instruction |
getLast() |
Instruction |
getParent() |
java.util.Collection<PositionedNote> |
getPositionedNotes() |
Swimlane |
getSwimlaneIn() |
Swimlane |
getSwimlaneOut() |
java.util.Set<Swimlane> |
getSwimlanes() |
boolean |
hasNotes() |
boolean |
kill() |
boolean |
switchCase(Display labelCase,
LinkRendering nextLinkRenderer) |
public InstructionSwitch(Swimlane swimlane, Instruction parent, Display labelTest, LinkRendering inlinkRendering, HColor color, ISkinParam skinParam)
public boolean containsBreak()
containsBreak in interface Instructionpublic CommandExecutionResult add(Instruction ins)
add in interface Instructionpublic Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder)
createGtile in interface Instructionpublic Ftile createFtile(FtileFactory factory)
createFtile in interface Instructionpublic final boolean kill()
kill in interface Instructionpublic LinkRendering getInLinkRendering()
getInLinkRendering in interface Instructionpublic java.util.Set<Swimlane> getSwimlanes()
getSwimlanes in interface Swimablepublic Swimlane getSwimlaneIn()
getSwimlaneIn in interface Swimablepublic Swimlane getSwimlaneOut()
getSwimlaneOut in interface Swimablepublic Instruction getLast()
getLast in interface InstructionCollectionpublic boolean switchCase(Display labelCase, LinkRendering nextLinkRenderer)
public Instruction getParent()
public void endSwitch(LinkRendering nextLinkRenderer)
public boolean addNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)
addNote in interface Instructionprotected final Ftile eventuallyAddNote(FtileFactory factory, Ftile ftile, Swimlane swimlane, VerticalAlignment verticalAlignment)
public java.util.Collection<PositionedNote> getPositionedNotes()
public boolean hasNotes()