public class InstructionIf extends java.lang.Object implements Instruction, InstructionCollection
| Constructor and Description |
|---|
InstructionIf(Swimlane swimlane,
Instruction parent,
Display labelTest,
LinkRendering whenThen,
LinkRendering inlinkRendering,
HColor color,
ISkinParam skinParam,
Url url,
Stereotype stereotype) |
public InstructionIf(Swimlane swimlane, Instruction parent, Display labelTest, LinkRendering whenThen, LinkRendering inlinkRendering, HColor color, ISkinParam skinParam, Url url, Stereotype stereotype)
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 Instruction getParent()
public boolean swithToElse2(LinkRendering whenElse, LinkRendering nextLinkRenderer)
public boolean elseIf(LinkRendering inlabel, Display test, LinkRendering whenThen, LinkRendering nextLinkRenderer, HColor color)
public void endif(LinkRendering nextLinkRenderer)
public final boolean kill()
kill in interface Instructionpublic LinkRendering getInLinkRendering()
getInLinkRendering in interface Instructionpublic boolean addNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)
addNote 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 void outColor(LinkRendering outColor)
protected final Ftile eventuallyAddNote(FtileFactory factory, Ftile ftile, Swimlane swimlane, VerticalAlignment verticalAlignment)
public java.util.Collection<PositionedNote> getPositionedNotes()
public boolean hasNotes()