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 TitledDiagram
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, DiagramType 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()protected ImageDataprotected ImageDataprotected ImageDataexportTxt(OutputStream os, int index, FileFormat fileFormat) protected ImageDataexportXmi(OutputStream os, FileFormat fileFormat) Exports this diagram in XMI format.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) getTextBlock12026(int num, 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()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.TitledDiagram
addChrome, addSprite, addWarning, calculateBackColor, exportCmap, getCaption, getCurrentStyleBuilder, getDiagramType, getFooter, getFooterOrHeaderTeoz, getHeader, getLegend, getMainFrame, getNamespaceSeparator, getPragma, getPrevious, getSkinParam, getTitle, getTitleDisplay, getWarnings, isHandwritten, isSkinParamUsed, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setCaption, setHideEmptyDescription, setLegend, setMainFrame, setParam, setSkinParamUsed, setTitle, setUseElk, setUseSmetana, updateFooter, updateHeaderMethods inherited from class net.sourceforge.plantuml.UgDiagram
exportDiagram, getExporterMethods inherited from class net.sourceforge.plantuml.core.AbstractDiagram
checkFinalError, executeCommand, getFlashData, getMetadata, getNbImages, getPathSystem, getPreprocessingArtifact, getRequiredPass, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, isIncomplete, 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.core.Diagram
getDescriptionMethods inherited from interface net.sourceforge.plantuml.abel.EntityFactory
getDiagramType, getSkinParam
-
Constructor Details
-
CucaDiagram
public CucaDiagram(UmlSource source, DiagramType type, Previous previous, PreprocessingArtifact preprocessing)
-
-
Method Details
-
setNamespaceSeparator
- Overrides:
setNamespaceSeparatorin classTitledDiagram
-
startingPass
- Overrides:
startingPassin classAbstractDiagram
-
getPortFor
-
getCurrentGroup
-
currentTogether
-
cleanId
-
hasUrl
public boolean hasUrl()- Specified by:
hasUrlin interfaceDiagram- Overrides:
hasUrlin classAbstractDiagram
-
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
-
exportXmi
Description copied from class:AbstractDiagramExports this diagram in XMI format. Returnsnullif this diagram type does not support XMI, allowing the caller to fall back to the standard TextBlock export path.- Overrides:
exportXmiin classAbstractDiagram- Throws:
IOException
-
exportScxml
- Overrides:
exportScxmlin classAbstractDiagram- Throws:
IOException- See Also:
-
exportGraphml
- Overrides:
exportGraphmlin classAbstractDiagram- Throws:
IOException- See Also:
-
exportTxt
- Overrides:
exportTxtin classAbstractDiagram- Throws:
IOException- See Also:
-
getTextBlock12026
public TextBlock getTextBlock12026(int num, FileFormatOption fileFormatOption) throws IOException, InterruptedException - Specified by:
getTextBlock12026in classUgDiagram- Throws:
IOExceptionInterruptedException
-
getWarningOrError
- Specified by:
getWarningOrErrorin interfaceDiagram- Overrides:
getWarningOrErrorin classTitledDiagram
-
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 classAbstractDiagram
-