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, Display whenThen, LinkRendering inlinkRendering, HtmlColor color, ISkinParam skinParam)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Instruction ins)booleanaddNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)voidafterEndwhile(LinkRendering linkRenderer)FtilecreateFtile(FtileFactory factory)booleanelseIf(Display inlabel, Display test, Display whenThen, LinkRendering nextLinkRenderer, HtmlColor color)voidendif(LinkRendering nextLinkRenderer)LinkRenderinggetInLinkRendering()InstructiongetLast()InstructiongetParent()SwimlanegetSwimlaneIn()SwimlanegetSwimlaneOut()java.util.Set<Swimlane>getSwimlanes()booleankill()booleanswithToElse2(Display 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, Display whenThen, LinkRendering inlinkRendering, HtmlColor color, ISkinParam skinParam)
-
-
Method Detail
-
add
public void add(Instruction ins)
- Specified by:
addin interfaceInstruction
-
createFtile
public Ftile createFtile(FtileFactory factory)
- Specified by:
createFtilein interfaceInstruction
-
getParent
public Instruction getParent()
-
swithToElse2
public boolean swithToElse2(Display whenElse, LinkRendering nextLinkRenderer)
-
elseIf
public boolean elseIf(Display inlabel, Display test, Display whenThen, LinkRendering nextLinkRenderer, HtmlColor color)
-
endif
public void endif(LinkRendering nextLinkRenderer)
-
kill
public final boolean kill()
- Specified by:
killin interfaceInstruction
-
getInLinkRendering
public LinkRendering getInLinkRendering()
- Specified by:
getInLinkRenderingin interfaceInstruction
-
addNote
public boolean addNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)
- Specified by:
addNotein interfaceInstruction- Overrides:
addNotein classWithNote
-
getSwimlanes
public java.util.Set<Swimlane> getSwimlanes()
- Specified by:
getSwimlanesin interfaceSwimable
-
getSwimlaneIn
public Swimlane getSwimlaneIn()
- Specified by:
getSwimlaneInin interfaceSwimable
-
getSwimlaneOut
public Swimlane getSwimlaneOut()
- Specified by:
getSwimlaneOutin interfaceSwimable
-
getLast
public Instruction getLast()
- Specified by:
getLastin interfaceInstructionCollection
-
afterEndwhile
public void afterEndwhile(LinkRendering linkRenderer)
-
-