Package net.sourceforge.plantuml.baraye
Class CucaDiagram
java.lang.Object
net.sourceforge.plantuml.AbstractPSystem
net.sourceforge.plantuml.TitledDiagram
net.sourceforge.plantuml.UmlDiagram
net.sourceforge.plantuml.baraye.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
final Code
final Ident
final Ident
buildLeafIdent
(String id) final Ident
final Ident
cleanIdent
(Ident ident) constraintOnLinks
(Link link1, Link link2, Display display) protected final ILeaf
boolean
endGroup()
protected ImageData
exportDiagramInternal
(OutputStream os, int index, FileFormatOption fileFormatOption) final Collection<IGroup>
getChildrenGroups
(IGroup parent) final IGroup
final String[]
final EntityFactory
protected final Code
final IGroup
final Collection<IGroup>
getGroups
(boolean withRootGroup) final IGroup
getGroupStrict
(Ident ident) final IGroup
getGroupVerySmart
(Ident ident) final Set<VisibilityModifier>
getHides()
final IEntityFactory
final ILeaf
final Link
final ILeaf
final int
final ILeaf
getLeafStrict
(Ident ident) final Collection<ILeaf>
getLinks()
protected final String
getNamespace1972
(Code fullyCode, String separator) final String
abstract IEntity
getOrCreateLeaf
(Ident ident, Code code, LeafType type, USymbol symbol) protected final ILeaf
getOrCreateLeafDefault
(Ident idNewLong, Code code, LeafType type, USymbol symbol) final String
getPortFor
(String ent1String, Ident ident1) int
getUniqueSequence
(String prefix) final CommandExecutionResult
gotoGroup
(Ident ident, Code code, Display display, GroupType type, IGroup parent, NamespaceStrategy strategy) protected final void
gotoGroupExternal
(Ident newIdLong, Code code, Display display, Code namespace, GroupType type, IGroup parent) final void
gotoThisGroup
(IGroup group) 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
boolean
isAutarkic
(IGroup g) final boolean
final boolean
final boolean
isGroupStrict
(Ident ident) final boolean
isGroupVerySmart
(Ident ident) boolean
final boolean
isStandalone
(IEntity ent) final boolean
final boolean
boolean
boolean
leafExistStrict
(Ident ident) protected final void
removeLink
(Link link) void
removeOrRestore
(String what, boolean show) void
final void
setLastEntity
(ILeaf foo) final void
setNamespaceSeparator
(String namespaceSeparator) final void
setVisibilityModifierPresent
(boolean visibilityModifierPresent) final boolean
showPortion
(EntityPortion portion, IEntity entity) 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 Details
-
QUARK
public static final boolean QUARK- See Also:
-
entityFactory
-
-
Constructor Details
-
CucaDiagram
-
-
Method Details
-
currentQuark
-
getPlasma
-
getOrCreateLeaf
-
cleanIdent
-
getPortFor
-
setNamespaceSeparator
-
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
-
getOrCreateLeafDefault
-
createLeaf
-
createLeafInternal
-
buildLeafIdent
-
buildLeafIdentSpecial
-
buildLeafIdentSpecial2
-
buildFullyQualified
-
buildCode
-
leafExist
-
leafExistStrict
-
getChildrenGroups
- Specified by:
getChildrenGroups
in interfaceGroupHierarchy
-
gotoTogether
-
gotoGroup
public final CommandExecutionResult gotoGroup(Ident ident, Code code, Display display, GroupType type, IGroup parent, NamespaceStrategy strategy) -
getNamespace1972
-
endGroup
public boolean endGroup() -
gotoGroupExternal
-
gotoThisGroup
-
getFullyQualifiedCode1972
-
getCurrentGroup
-
getGroup
-
getGroupStrict
-
getGroupVerySmart
-
isGroup
-
isGroupStrict
-
isGroupVerySmart
-
getGroups
- Specified by:
getGroups
in interfaceICucaDiagram
-
getRootGroup
- Specified by:
getRootGroup
in interfaceGroupHierarchy
-
getLeafsvalues
- Specified by:
getLeafsvalues
in interfaceICucaDiagram
-
getLeafssize
public final int getLeafssize() -
getLeaf
-
getLeafStrict
-
addLink
-
removeLink
-
getLinks
- Specified by:
getLinks
in interfaceICucaDiagram
-
getDotStrings
-
getDotStringSkek
- Specified by:
getDotStringSkek
in interfaceICucaDiagram
-
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
-
isAutarkic
- Specified by:
isAutarkic
in interfaceICucaDiagram
-
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
-
hideOrShow
-
hideOrShow
-
hideOrShow2
-
removeOrRestore
-
getHides
-
isStandalone
-
isStandaloneForArgo
-
getLastLink
-
getTwoLastLinks
-
getLastEntity
-
getIEntityFactory
-
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
-