Class InstructionSwitch
java.lang.Object
net.sourceforge.plantuml.activitydiagram3.InstructionSwitch
- All Implemented Interfaces:
Swimable
,Instruction
,InstructionCollection
-
Constructor Summary
ConstructorsConstructorDescriptionInstructionSwitch
(Swimlane swimlane, Instruction parent, Display labelTest, LinkRendering inlinkRendering, HColor color, ISkinParam skinParam) -
Method Summary
Modifier and TypeMethodDescriptionadd
(Instruction ins) boolean
boolean
createFtile
(FtileFactory factory) createGtile
(ISkinParam skinParam, StringBounder stringBounder) void
endSwitch
(LinkRendering nextLinkRenderer) protected final Ftile
eventuallyAddNote
(FtileFactory factory, Ftile ftile, Swimlane swimlane, VerticalAlignment verticalAlignment) getLast()
boolean
hasNotes()
final boolean
kill()
boolean
switchCase
(Display labelCase, LinkRendering nextLinkRenderer)
-
Constructor Details
-
InstructionSwitch
public InstructionSwitch(Swimlane swimlane, Instruction parent, Display labelTest, LinkRendering inlinkRendering, HColor color, ISkinParam skinParam)
-
-
Method Details
-
containsBreak
public boolean containsBreak()- Specified by:
containsBreak
in interfaceInstruction
-
add
- Specified by:
add
in interfaceInstruction
-
createGtile
- Specified by:
createGtile
in interfaceInstruction
-
createFtile
- Specified by:
createFtile
in interfaceInstruction
-
kill
public final boolean kill()- Specified by:
kill
in interfaceInstruction
-
getInLinkRendering
- Specified by:
getInLinkRendering
in interfaceInstruction
-
getSwimlanes
- Specified by:
getSwimlanes
in interfaceSwimable
-
getSwimlaneIn
- Specified by:
getSwimlaneIn
in interfaceSwimable
-
getSwimlaneOut
- Specified by:
getSwimlaneOut
in interfaceSwimable
-
getLast
- Specified by:
getLast
in interfaceInstructionCollection
-
switchCase
-
getParent
-
endSwitch
-
addNote
public boolean addNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote) - Specified by:
addNote
in interfaceInstruction
-
eventuallyAddNote
protected final Ftile eventuallyAddNote(FtileFactory factory, Ftile ftile, Swimlane swimlane, VerticalAlignment verticalAlignment) -
getPositionedNotes
-
hasNotes
public boolean hasNotes()
-