Class InstructionSwitch
java.lang.Object
net.sourceforge.plantuml.activitydiagram3.InstructionSwitch
- All Implemented Interfaces:
Swimable
,Instruction
,InstructionCollection
public class InstructionSwitch
extends java.lang.Object
implements 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) getLast()
java.util.Collection<PositionedNote>
java.util.Set<Swimlane>
boolean
hasNotes()
final boolean
kill()
boolean
switchCase
(Display labelCase, LinkRendering nextLinkRenderer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
getPositionedNotes
-
hasNotes
public boolean hasNotes()
-