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
Constructors Constructor Description InstructionSwitch(Swimlane swimlane, Instruction parent, Display labelTest, LinkRendering inlinkRendering, HColor color, ISkinParam skinParam)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandExecutionResultadd(Instruction ins)booleanaddNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)booleancontainsBreak()FtilecreateFtile(FtileFactory factory)GtilecreateGtile(ISkinParam skinParam, StringBounder stringBounder)voidendSwitch(LinkRendering nextLinkRenderer)protected FtileeventuallyAddNote(FtileFactory factory, Ftile ftile, Swimlane swimlane, VerticalAlignment verticalAlignment)LinkRenderinggetInLinkRendering()InstructiongetLast()InstructiongetParent()java.util.Collection<PositionedNote>getPositionedNotes()SwimlanegetSwimlaneIn()SwimlanegetSwimlaneOut()java.util.Set<Swimlane>getSwimlanes()booleanhasNotes()booleankill()booleanswitchCase(Display labelCase, LinkRendering nextLinkRenderer)
-
-
-
Constructor Detail
-
InstructionSwitch
public InstructionSwitch(Swimlane swimlane, Instruction parent, Display labelTest, LinkRendering inlinkRendering, HColor color, ISkinParam skinParam)
-
-
Method Detail
-
containsBreak
public boolean containsBreak()
- Specified by:
containsBreakin interfaceInstruction
-
add
public CommandExecutionResult add(Instruction ins)
- Specified by:
addin interfaceInstruction
-
createGtile
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder)
- Specified by:
createGtilein interfaceInstruction
-
createFtile
public Ftile createFtile(FtileFactory factory)
- Specified by:
createFtilein interfaceInstruction
-
kill
public final boolean kill()
- Specified by:
killin interfaceInstruction
-
getInLinkRendering
public LinkRendering getInLinkRendering()
- Specified by:
getInLinkRenderingin interfaceInstruction
-
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
-
switchCase
public boolean switchCase(Display labelCase, LinkRendering nextLinkRenderer)
-
getParent
public Instruction getParent()
-
endSwitch
public void endSwitch(LinkRendering nextLinkRenderer)
-
addNote
public boolean addNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)
- Specified by:
addNotein interfaceInstruction
-
eventuallyAddNote
protected final Ftile eventuallyAddNote(FtileFactory factory, Ftile ftile, Swimlane swimlane, VerticalAlignment verticalAlignment)
-
getPositionedNotes
public java.util.Collection<PositionedNote> getPositionedNotes()
-
hasNotes
public boolean hasNotes()
-
-