Package net.atmp
Class CucaDiagram
- All Implemented Interfaces:
EntityFactory,Annotated,Diagram,GroupHierarchy,PortionShower,WarningHandler,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_SMETANAFields inherited from interface net.sourceforge.plantuml.cucadiagram.PortionShower
ALL -
Constructor Summary
ConstructorsConstructorDescriptionCucaDiagram(UmlSource source, UmlDiagramType type, Previous previous, PreprocessingArtifact preprocessing) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidconstraintOnLinks(Link link1, Link link2, Display display) intcountByName(String full) createGroup(LineLocation location, Quark<Entity> quark, GroupType groupType) final EntitycreateLeaf(LineLocation location, Quark<Entity> quark, CucaDiagram diagram, LeafType entityType, Set<VisibilityModifier> hideVisibilityModifier) final TogetherbooleanendGroup()final voidexportDiagramGraphic(UGraphic ug, FileFormatOption fileFormatOption) protected ImageDataexportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormatOption) firstWithName(String full) final Collection<Entity>getChildrenGroups(Entity entity) final Entityfinal String[]final Entityfinal Set<VisibilityModifier>final InstallationRequirementfinal Entityfinal LinkgetLinks()getPortFor(String entString, Quark<Entity> ident) protected final TextBlockgetTextMainBlock(FileFormatOption fileFormatOption) getUniqueSequence(String prefix) getUniqueSequence2(String prefix) intgetVisibleStereotypeLabels(Entity entity) final CommandExecutionResultfinal CommandExecutionResultgotoGroup(LineLocation location, Quark<Entity> quark, Display display, GroupType type, USymbol usymbol) final CommandExecutionResultfinal Collection<Entity>groups()final Collection<Entity>booleanhasUrl()Check if the Diagram have some links.final voidhideOrShow(EntityGender gender, EntityPortion portions, boolean show) voidhideOrShow2(String what, boolean show) voidhideOrShowVisibilityModifier(Set<VisibilityModifier> visibilities, boolean show) voidfinal booleanfinal booleanfinal booleanbooleanbooleanbooleanbooleanfinal booleanisStandalone(Entity ent) final booleanbooleanisStereotypeRemoved(Stereotype stereotype) final booleanfinal Collection<Entity>leafs()quarkInContext(boolean reuseExistingChild, String full) quarkInContextSafe(boolean reuseExistingChild, String full) quarks()final EntityreallyCreateLeaf(LineLocation location, Quark<Entity> ident, Display display, LeafType type, USymbol symbol) voidremoveLink(Link link) voidremoveOrRestore(String what, boolean show) removePortId(String id) voidfinal voidsetLastEntity(Entity last) final voidsetNamespaceSeparator(String namespaceSeparator) voidsetSeparator(String namespaceSeparator) final voidsetVisibilityModifierPresent(boolean visibilityModifierPresent) final booleanshowPortion(EntityPortion portion, Entity entity) voidstartingPass(ParserPass pass) protected voidupdateLasts(Entity result) Methods inherited from class net.sourceforge.plantuml.UmlDiagram
exportCmap, exportDiagramNow, getFooterOrHeaderTeoz, getMinwidth, getPrevious, isRotation, setHideEmptyDescription, setMinwidth, setRotationMethods inherited from class net.sourceforge.plantuml.TitledDiagram
addSprite, addWarning, calculateBackColor, createImageBuilder, getCaption, getCurrentStyleBuilder, getFlashData, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, getWarnings, isSkinParamUsed, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setCaption, setLegend, setMainFrame, setParam, setSkinParamUsed, setTitle, setUseElk, setUseSmetana, updateFooter, updateHeaderMethods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, getNamespaceSeparator, getNbImages, getPreprocessingArtifact, getRequiredPass, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, isOk, makeDiagramReady, seed, setScale, setSplitPagesHorizontal, setSplitPagesVerticalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sourceforge.plantuml.Annotated
getCaption, getFooter, getHeader, getLegend, getMainFrame, getTitleMethods inherited from interface net.sourceforge.plantuml.core.Diagram
exportDiagram, getDescription, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplayMethods inherited from interface net.sourceforge.plantuml.abel.EntityFactory
getSkinParam, getUmlDiagramTypeMethods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
Constructor Details
-
CucaDiagram
public CucaDiagram(UmlSource source, UmlDiagramType type, Previous previous, PreprocessingArtifact preprocessing)
-
-
Method Details
-
setNamespaceSeparator
- Overrides:
setNamespaceSeparatorin classAbstractPSystem
-
startingPass
- Overrides:
startingPassin classAbstractPSystem
-
getPortFor
-
getCurrentGroup
-
currentTogether
-
cleanId
-
hasUrl
public boolean hasUrl()Description copied from interface:DiagramCheck if the Diagram have some links.- Specified by:
hasUrlin interfaceDiagram- Overrides:
hasUrlin classAbstractPSystem
-
setLastEntity
-
updateLasts
-
reallyCreateLeaf
-
quarkInContext
-
quarkInContextSafe
-
removePortId
-
getPortId
-
getChildrenGroups
- Specified by:
getChildrenGroupsin interfaceGroupHierarchy
-
gotoTogether
-
gotoGroup
public final CommandExecutionResult gotoGroup(LineLocation location, Quark<Entity> quark, Display display, GroupType type) -
gotoGroup
public final CommandExecutionResult gotoGroup(LineLocation location, Quark<Entity> quark, Display display, GroupType type, USymbol usymbol) -
endGroup
public boolean endGroup() -
getGroup
-
isGroup
-
isGroup
-
getDotStrings
-
getDotStringSkek
-
exportDiagramGraphic
- Specified by:
exportDiagramGraphicin interfaceDiagram- Overrides:
exportDiagramGraphicin classTitledDiagram
-
getTextMainBlock
- Specified by:
getTextMainBlockin classTitledDiagram
-
exportDiagramInternal
protected ImageData exportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormatOption) throws IOException - Specified by:
exportDiagramInternalin classUmlDiagram- Throws:
IOException
-
getWarningOrError
- Specified by:
getWarningOrErrorin interfaceDiagram- Overrides:
getWarningOrErrorin classUmlDiagram
-
resetPragmaLabel
public void resetPragmaLabel() -
getLabeldistance
-
getLabelangle
-
isEmpty
- Specified by:
isEmptyin interfaceGroupHierarchy
-
isVisibilityModifierPresent
public final boolean isVisibilityModifierPresent() -
setVisibilityModifierPresent
public final void setVisibilityModifierPresent(boolean visibilityModifierPresent) -
showPortion
- Specified by:
showPortionin interfacePortionShower
-
hideOrShowVisibilityModifier
-
getVisibleStereotypeLabels
- Specified by:
getVisibleStereotypeLabelsin interfacePortionShower
-
hideOrShow
-
hideOrShow2
-
removeOrRestore
-
getHidesVisibilityModifier
-
isStandalone
-
isStandaloneForArgo
-
getLastLink
-
getTwoLastLinks
-
getLastEntity
-
applySingleStrategy
public void applySingleStrategy() -
isHideEmptyDescriptionForState
public boolean isHideEmptyDescriptionForState()- Specified by:
isHideEmptyDescriptionForStatein interfaceEntityFactory
-
constraintOnLinks
-
getDefaultMargins
- Overrides:
getDefaultMarginsin classTitledDiagram
-
getUniqueSequenceValue
public int getUniqueSequenceValue() -
getUniqueSequence
-
getUniqueSequence2
-
isStereotypeRemoved
-
isHidden
-
isRemoved
-
isRemovedIgnoreUnlinked
-
createLeaf
public final Entity createLeaf(LineLocation location, Quark<Entity> quark, CucaDiagram diagram, LeafType entityType, Set<VisibilityModifier> hideVisibilityModifier) -
createGroup
-
leafs
-
groups
- Specified by:
groupsin interfaceEntityFactory
-
groupsAndRoot
-
incRawLayout
public void incRawLayout() -
getLinks
-
addLink
-
removeLink
-
quarks
-
getRootGroup
- Specified by:
getRootGroupin interfaceEntityFactory- Specified by:
getRootGroupin interfaceGroupHierarchy
-
setSeparator
-
firstWithName
-
countByName
-
getInstallationRequirement
- Specified by:
getInstallationRequirementin interfaceDiagram- Overrides:
getInstallationRequirementin classAbstractPSystem
-