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
Fields Modifier and Type Field Description protected EntityFactory
entityFactory
protected Entity
lastEntity
-
Fields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA
-
-
Constructor Summary
Constructors Constructor Description CucaDiagram(UmlSource source, UmlDiagramType type, Map<String,String> orig)
-
Method Summary
-
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, getAnimation, getCaption, getCurrentStyleBuilder, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setAnimation, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
-
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, 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, getPragma, getSkinParam, getSource, getUmlDiagramType, seed
-
Methods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
-
-
-
Field Detail
-
entityFactory
protected final EntityFactory entityFactory
-
lastEntity
protected Entity lastEntity
-
-
Constructor Detail
-
CucaDiagram
public CucaDiagram(UmlSource source, UmlDiagramType type, Map<String,String> orig)
-
-
Method Detail
-
getCurrentGroup
public final Entity getCurrentGroup()
-
currentTogether
public final Together currentTogether()
-
setNamespaceSeparator
public final void setNamespaceSeparator(String namespaceSeparator)
-
getNamespaceSeparator
public final String getNamespaceSeparator()
- Specified by:
getNamespaceSeparator
in interfaceICucaDiagram
-
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
public final void setLastEntity(Entity foo)
-
updateLasts
protected void updateLasts(Entity result)
-
reallyCreateLeaf
public final Entity reallyCreateLeaf(Quark<Entity> ident, Display display, LeafType type, USymbol symbol)
-
quarkInContext
public final Quark<Entity> quarkInContext(String full, boolean specialForCreateClass)
-
getChildrenGroups
public final Collection<Entity> getChildrenGroups(Entity entity)
- Specified by:
getChildrenGroups
in interfaceGroupHierarchy
-
gotoTogether
public final CommandExecutionResult gotoTogether()
-
gotoGroup
public final CommandExecutionResult gotoGroup(Quark<Entity> quark, Display display, GroupType type)
-
endGroup
public boolean endGroup()
-
isGroup
public final boolean isGroup(String code)
-
getRootGroup
public Entity getRootGroup()
- Specified by:
getRootGroup
in interfaceGroupHierarchy
-
addLink
public final void addLink(Link link)
-
removeLink
protected final void removeLink(Link link)
-
getLinks
public final List<Link> getLinks()
- Specified by:
getLinks
in interfaceICucaDiagram
-
getDotStringSkek
public final String[] getDotStringSkek()
- Specified by:
getDotStringSkek
in interfaceICucaDiagram
-
exportDiagramGraphic
public final void exportDiagramGraphic(UGraphic ug)
- Specified by:
exportDiagramGraphic
in interfaceDiagram
- Overrides:
exportDiagramGraphic
in classTitledDiagram
-
getTextBlock
protected final TextBlock getTextBlock()
- Specified by:
getTextBlock
in classTitledDiagram
-
exportDiagramInternal
protected ImageData exportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormatOption) throws IOException
- Specified by:
exportDiagramInternal
in classUmlDiagram
- Throws:
IOException
-
getWarningOrError
public String getWarningOrError()
- Specified by:
getWarningOrError
in interfaceDiagram
- Overrides:
getWarningOrError
in classUmlDiagram
-
resetPragmaLabel
public void resetPragmaLabel()
-
getLabeldistance
public String getLabeldistance()
-
getLabelangle
public String getLabelangle()
-
isEmpty
public final boolean isEmpty(Entity entity)
- Specified by:
isEmpty
in interfaceGroupHierarchy
-
isVisibilityModifierPresent
public final boolean isVisibilityModifierPresent()
-
setVisibilityModifierPresent
public final void setVisibilityModifierPresent(boolean visibilityModifierPresent)
-
showPortion
public final boolean showPortion(EntityPortion portion, Entity entity)
- Specified by:
showPortion
in interfacePortionShower
-
hideOrShow
public final void hideOrShow(EntityGender gender, EntityPortion portions, boolean show)
-
hideOrShow
public void hideOrShow(Set<VisibilityModifier> visibilities, boolean show)
-
hideOrShow2
public void hideOrShow2(String what, boolean show)
-
removeOrRestore
public void removeOrRestore(String what, boolean show)
-
getHides
public final Set<VisibilityModifier> getHides()
-
isStandalone
public final boolean isStandalone(Entity ent)
-
isStandaloneForArgo
public final boolean isStandaloneForArgo(Entity ent)
-
getLastLink
public final Link getLastLink()
-
getLastEntity
public final Entity getLastEntity()
-
getEntityFactory
public final EntityFactory getEntityFactory()
- Specified by:
getEntityFactory
in interfaceICucaDiagram
-
applySingleStrategy
public void applySingleStrategy()
-
isHideEmptyDescriptionForState
public boolean isHideEmptyDescriptionForState()
- Specified by:
isHideEmptyDescriptionForState
in interfaceICucaDiagram
-
incRawLayout
protected void incRawLayout()
-
constraintOnLinks
public CommandExecutionResult constraintOnLinks(Link link1, Link link2, Display display)
-
getDefaultMargins
public ClockwiseTopRightBottomLeft getDefaultMargins()
- Overrides:
getDefaultMargins
in classTitledDiagram
-
getUniqueSequence
public int getUniqueSequence()
- Specified by:
getUniqueSequence
in interfaceICucaDiagram
-
-