Package net.atmp
Class CucaDiagram
- All Implemented Interfaces:
EntityFactory
,Annotated
,Diagram
,GroupHierarchy
,PortionShower
,WithSprite
- Direct Known Subclasses:
AbstractEntityDiagram
,ActivityDiagram
public abstract class CucaDiagram
extends UmlDiagram
implements GroupHierarchy, PortionShower, EntityFactory
-
Field Summary
Fields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA
Fields inherited from interface net.sourceforge.plantuml.cucadiagram.PortionShower
ALL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
constraintOnLinks
(Link link1, Link link2, Display display) int
countByName
(String full) createGroup
(Quark<Entity> quark, GroupType groupType) final Entity
createLeaf
(Quark<Entity> quark, CucaDiagram diagram, LeafType entityType, Set<VisibilityModifier> hideVisibilityModifier) final Together
boolean
endGroup()
final void
exportDiagramGraphic
(UGraphic ug, FileFormatOption fileFormatOption) protected ImageData
exportDiagramInternal
(OutputStream os, int index, FileFormatOption fileFormatOption) firstWithName
(String full) final Collection<Entity>
getChildrenGroups
(Entity entity) final Entity
final String[]
final Entity
final Set<VisibilityModifier>
final Entity
final Link
getLinks()
getPortFor
(String entString, Quark<Entity> ident) protected final TextBlock
getTextMainBlock
(FileFormatOption fileFormatOption) getUniqueSequence
(String prefix) getUniqueSequence2
(String prefix) int
getVisibleStereotypeLabels
(Entity entity) final CommandExecutionResult
final CommandExecutionResult
final CommandExecutionResult
final Collection<Entity>
groups()
final Collection<Entity>
boolean
hasUrl()
Check if the Diagram have some links.final void
hideOrShow
(EntityGender gender, EntityPortion portions, boolean show) void
hideOrShow2
(String what, boolean show) void
hideOrShowVisibilityModifier
(Set<VisibilityModifier> visibilities, boolean show) void
final boolean
final boolean
final boolean
boolean
boolean
boolean
boolean
final boolean
isStandalone
(Entity ent) final boolean
boolean
isStereotypeRemoved
(Stereotype stereotype) final boolean
final Collection<Entity>
leafs()
quarkInContext
(boolean reuseExistingChild, String full) quarkInContextSafe
(boolean reuseExistingChild, String full) quarks()
final Entity
void
removeLink
(Link link) void
removeOrRestore
(String what, boolean show) removePortId
(String id) void
final void
setLastEntity
(Entity last) final void
setNamespaceSeparator
(String namespaceSeparator) void
setSeparator
(String namespaceSeparator) final void
setVisibilityModifierPresent
(boolean visibilityModifierPresent) final boolean
showPortion
(EntityPortion portion, Entity entity) void
startingPass
(ParserPass pass) protected void
updateLasts
(Entity result) Methods inherited from class net.sourceforge.plantuml.UmlDiagram
exportCmap, exportDiagramError, exportDiagramNow, getFailureText2, getFlashData, getFooterOrHeaderTeoz, getMinwidth, isRotation, setHideEmptyDescription, setMinwidth, setRotation
Methods inherited from class net.sourceforge.plantuml.TitledDiagram
addSprite, calculateBackColor, createImageBuilder, getCaption, getCurrentStyleBuilder, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, getNamespaceSeparator, getNbImages, getRequiredPass, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, isOk, makeDiagramReady, seed, setScale, setSplitPagesHorizontal, setSplitPagesVertical
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sourceforge.plantuml.Annotated
getCaption, getFooter, getHeader, getLegend, getMainFrame, getTitle
Methods inherited from interface net.sourceforge.plantuml.core.Diagram
exportDiagram, getDescription, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay
Methods inherited from interface net.sourceforge.plantuml.abel.EntityFactory
getSkinParam, getUmlDiagramType
Methods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
Constructor Details
-
CucaDiagram
-
-
Method Details
-
setNamespaceSeparator
- Overrides:
setNamespaceSeparator
in classAbstractPSystem
-
startingPass
- Overrides:
startingPass
in classAbstractPSystem
-
getPortFor
-
getCurrentGroup
-
currentTogether
-
cleanId
-
hasUrl
public boolean hasUrl()Description copied from interface:Diagram
Check if the Diagram have some links.- Specified by:
hasUrl
in interfaceDiagram
- Overrides:
hasUrl
in classAbstractPSystem
-
setLastEntity
-
updateLasts
-
reallyCreateLeaf
-
quarkInContext
-
quarkInContextSafe
-
removePortId
-
getPortId
-
getChildrenGroups
- Specified by:
getChildrenGroups
in interfaceGroupHierarchy
-
gotoTogether
-
gotoGroup
-
gotoGroup
-
endGroup
public boolean endGroup() -
getGroup
-
isGroup
-
isGroup
-
getDotStrings
-
getDotStringSkek
-
exportDiagramGraphic
- Specified by:
exportDiagramGraphic
in interfaceDiagram
- Overrides:
exportDiagramGraphic
in classTitledDiagram
-
getTextMainBlock
- Specified by:
getTextMainBlock
in classTitledDiagram
-
exportDiagramInternal
protected ImageData exportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormatOption) throws IOException - Specified by:
exportDiagramInternal
in classUmlDiagram
- Throws:
IOException
-
getWarningOrError
- Specified by:
getWarningOrError
in interfaceDiagram
- Overrides:
getWarningOrError
in classUmlDiagram
-
resetPragmaLabel
public void resetPragmaLabel() -
getLabeldistance
-
getLabelangle
-
isEmpty
- Specified by:
isEmpty
in interfaceGroupHierarchy
-
isVisibilityModifierPresent
public final boolean isVisibilityModifierPresent() -
setVisibilityModifierPresent
public final void setVisibilityModifierPresent(boolean visibilityModifierPresent) -
showPortion
- Specified by:
showPortion
in interfacePortionShower
-
hideOrShowVisibilityModifier
-
getVisibleStereotypeLabels
- Specified by:
getVisibleStereotypeLabels
in interfacePortionShower
-
hideOrShow
-
hideOrShow2
-
removeOrRestore
-
getHidesVisibilityModifier
-
isStandalone
-
isStandaloneForArgo
-
getLastLink
-
getTwoLastLinks
-
getLastEntity
-
applySingleStrategy
public void applySingleStrategy() -
isHideEmptyDescriptionForState
public boolean isHideEmptyDescriptionForState()- Specified by:
isHideEmptyDescriptionForState
in interfaceEntityFactory
-
constraintOnLinks
-
getDefaultMargins
- Overrides:
getDefaultMargins
in classTitledDiagram
-
getUniqueSequenceValue
public int getUniqueSequenceValue() -
getUniqueSequence
-
getUniqueSequence2
-
isStereotypeRemoved
-
isHidden
-
isRemoved
-
isRemovedIgnoreUnlinked
-
createLeaf
public final Entity createLeaf(Quark<Entity> quark, CucaDiagram diagram, LeafType entityType, Set<VisibilityModifier> hideVisibilityModifier) -
createGroup
-
leafs
-
groups
- Specified by:
groups
in interfaceEntityFactory
-
groupsAndRoot
-
incRawLayout
public void incRawLayout() -
getLinks
-
addLink
-
removeLink
-
quarks
-
getRootGroup
- Specified by:
getRootGroup
in interfaceEntityFactory
- Specified by:
getRootGroup
in interfaceGroupHierarchy
-
setSeparator
-
firstWithName
-
countByName
-