Class InstructionIf
- java.lang.Object
-
- net.sourceforge.plantuml.activitydiagram3.WithNote
-
- net.sourceforge.plantuml.activitydiagram3.InstructionIf
-
- All Implemented Interfaces:
Swimable
,Instruction
,InstructionCollection
public class InstructionIf extends WithNote implements Instruction, InstructionCollection
-
-
Constructor Summary
Constructors Constructor Description InstructionIf(Swimlane swimlane, Instruction parent, Display labelTest, LinkRendering whenThen, LinkRendering inlinkRendering, HColor color, ISkinParam skinParam, Url url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Instruction ins)
boolean
addNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)
boolean
containsBreak()
Ftile
createFtile(FtileFactory factory)
boolean
elseIf(LinkRendering inlabel, Display test, LinkRendering whenThen, LinkRendering nextLinkRenderer, HColor color)
void
endif(LinkRendering nextLinkRenderer)
LinkRendering
getInLinkRendering()
Instruction
getLast()
Instruction
getParent()
Swimlane
getSwimlaneIn()
Swimlane
getSwimlaneOut()
java.util.Set<Swimlane>
getSwimlanes()
boolean
kill()
void
outColor(LinkRendering outColor)
boolean
swithToElse2(LinkRendering whenElse, LinkRendering nextLinkRenderer)
-
Methods inherited from class net.sourceforge.plantuml.activitydiagram3.WithNote
eventuallyAddNote, getPositionedNotes, hasNotes
-
-
-
-
Constructor Detail
-
InstructionIf
public InstructionIf(Swimlane swimlane, Instruction parent, Display labelTest, LinkRendering whenThen, LinkRendering inlinkRendering, HColor color, ISkinParam skinParam, Url url)
-
-
Method Detail
-
containsBreak
public boolean containsBreak()
- Specified by:
containsBreak
in interfaceInstruction
-
add
public void add(Instruction ins)
- Specified by:
add
in interfaceInstruction
-
createFtile
public Ftile createFtile(FtileFactory factory)
- Specified by:
createFtile
in interfaceInstruction
-
getParent
public Instruction getParent()
-
swithToElse2
public boolean swithToElse2(LinkRendering whenElse, LinkRendering nextLinkRenderer)
-
elseIf
public boolean elseIf(LinkRendering inlabel, Display test, LinkRendering whenThen, LinkRendering nextLinkRenderer, HColor color)
-
endif
public void endif(LinkRendering nextLinkRenderer)
-
kill
public final boolean kill()
- Specified by:
kill
in interfaceInstruction
-
getInLinkRendering
public LinkRendering getInLinkRendering()
- Specified by:
getInLinkRendering
in interfaceInstruction
-
addNote
public boolean addNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)
- Specified by:
addNote
in interfaceInstruction
- Overrides:
addNote
in classWithNote
-
getSwimlanes
public java.util.Set<Swimlane> getSwimlanes()
- Specified by:
getSwimlanes
in interfaceSwimable
-
getSwimlaneIn
public Swimlane getSwimlaneIn()
- Specified by:
getSwimlaneIn
in interfaceSwimable
-
getSwimlaneOut
public Swimlane getSwimlaneOut()
- Specified by:
getSwimlaneOut
in interfaceSwimable
-
getLast
public Instruction getLast()
- Specified by:
getLast
in interfaceInstructionCollection
-
outColor
public void outColor(LinkRendering outColor)
-
-