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) |
public InstructionIf(Swimlane swimlane, Instruction parent, Display labelTest, LinkRendering whenThen, LinkRendering inlinkRendering, HColor color, ISkinParam skinParam, Url url)
public boolean containsBreak()
containsBreak
in interface Instruction
public CommandExecutionResult add(Instruction ins)
add
in interface Instruction
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder)
createGtile
in interface Instruction
public Ftile createFtile(FtileFactory factory)
createFtile
in interface Instruction
public 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 Instruction
public LinkRendering getInLinkRendering()
getInLinkRendering
in interface Instruction
public boolean addNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)
addNote
in interface Instruction
public java.util.Set<Swimlane> getSwimlanes()
getSwimlanes
in interface Swimable
public Swimlane getSwimlaneIn()
getSwimlaneIn
in interface Swimable
public Swimlane getSwimlaneOut()
getSwimlaneOut
in interface Swimable
public Instruction getLast()
getLast
in interface InstructionCollection
public 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()