Package net.atmp
Class CucaDiagram
- All Implemented Interfaces:
Annotated
,Diagram
,GroupHierarchy
,ICucaDiagram
,PortionShower
,WithSprite
- Direct Known Subclasses:
AbstractEntityDiagram
,ActivityDiagram
public abstract class CucaDiagram
extends UmlDiagram
implements GroupHierarchy, PortionShower, ICucaDiagram
-
Field Summary
FieldsFields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
void
constraintOnLinks
(Link link1, Link link2, Display display) final Together
boolean
endGroup()
final void
exportDiagramGraphic
(UGraphic ug, FileFormatOption fileFormatOption) protected ImageData
exportDiagramInternal
(OutputStream os, int index, FileFormatOption fileFormatOption) firstWithName
(String name) final Collection<Entity>
getChildrenGroups
(Entity entity) final Entity
final String[]
final EntityFactory
final Entity
final Set<VisibilityModifier>
getHides()
final Entity
final Link
getLinks()
getPortFor
(String entString, Quark<Entity> ident) protected final TextBlock
getTextMainBlock
(FileFormatOption fileFormatOption) int
getUniqueSequence
(String prefix) getVisibleStereotypeLabels
(Entity entity) final CommandExecutionResult
final CommandExecutionResult
boolean
hasUrl()
Check if the Diagram have some links.void
hideOrShow
(Set<VisibilityModifier> visibilities, boolean show) final void
hideOrShow
(EntityGender gender, EntityPortion portions, boolean show) void
hideOrShow2
(String what, boolean show) protected void
final boolean
final boolean
final boolean
boolean
final boolean
isStandalone
(Entity ent) final boolean
final boolean
quarkInContext
(boolean reuseExistingChild, String full) final Entity
protected final void
removeLink
(Link link) void
removeOrRestore
(String what, boolean show) removePortId
(String id) void
final void
setLastEntity
(Entity foo) final void
setNamespaceSeparator
(String namespaceSeparator) final void
setVisibilityModifierPresent
(boolean visibilityModifierPresent) final boolean
showPortion
(EntityPortion portion, Entity entity) 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, 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.cucadiagram.ICucaDiagram
createImageBuilder, getCurrentStyleBuilder, getFlashData, getMetadata, getNamespaceSeparator, getPragma, getSkinParam, getSource, getUmlDiagramType, seed
Methods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
Field Details
-
entityFactory
-
lastEntity
-
-
Constructor Details
-
CucaDiagram
-
-
Method Details
-
setNamespaceSeparator
- Overrides:
setNamespaceSeparator
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
-
removePortId
-
getPortId
-
firstWithName
-
getChildrenGroups
- Specified by:
getChildrenGroups
in interfaceGroupHierarchy
-
gotoTogether
-
gotoGroup
-
endGroup
public boolean endGroup() -
getGroup
-
isGroup
-
isGroup
-
getRootGroup
- Specified by:
getRootGroup
in interfaceGroupHierarchy
-
addLink
-
removeLink
-
getLinks
- Specified by:
getLinks
in interfaceICucaDiagram
-
getDotStrings
-
getDotStringSkek
- Specified by:
getDotStringSkek
in interfaceICucaDiagram
-
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
-
getVisibleStereotypeLabels
- Specified by:
getVisibleStereotypeLabels
in interfacePortionShower
-
hideOrShow
-
hideOrShow
-
hideOrShow2
-
removeOrRestore
-
getHides
-
isStandalone
-
isStandaloneForArgo
-
getLastLink
-
getTwoLastLinks
-
getLastEntity
-
getEntityFactory
- Specified by:
getEntityFactory
in interfaceICucaDiagram
-
applySingleStrategy
public void applySingleStrategy() -
isHideEmptyDescriptionForState
public boolean isHideEmptyDescriptionForState()- Specified by:
isHideEmptyDescriptionForState
in interfaceICucaDiagram
-
incRawLayout
protected void incRawLayout() -
constraintOnLinks
-
getDefaultMargins
- Overrides:
getDefaultMargins
in classTitledDiagram
-
getUniqueSequence
public int getUniqueSequence()- Specified by:
getUniqueSequence
in interfaceICucaDiagram
-
getUniqueSequence
-