net.sourceforge.plantuml.cucadiagram
Class CucaDiagram
- java.lang.Object
-
- net.sourceforge.plantuml.AbstractPSystem
-
- net.sourceforge.plantuml.UmlDiagram
-
- net.sourceforge.plantuml.cucadiagram.CucaDiagram
-
- All Implemented Interfaces:
- Annotated, Diagram, GroupHierarchy, PortionShower
- Direct Known Subclasses:
- AbstractEntityDiagram, ActivityDiagram
public abstract class CucaDiagram extends UmlDiagram implements GroupHierarchy, PortionShower
-
-
Constructor Summary
Constructors Constructor and Description CucaDiagram()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description voidaddLink(Link link)voidapplySingleStrategy()ILeafcreateLeaf(Code code, Display display, LeafType type, USymbol symbol)voidendGroup()java.util.Collection<IGroup>getChildrenGroups(IGroup parent)ColorMappergetColorMapper()IGroupgetCurrentGroup()java.lang.String[]getDotStringSkek()EntityFactorygetEntityFactory()IGroupgetGroup(Code code)java.util.Collection<IGroup>getGroups(boolean withRootGroup)java.util.Set<VisibilityModifier>getHides()intgetHorizontalPages()java.lang.StringgetLabelangle()java.lang.StringgetLabeldistance()ILeafgetLastEntity()LinkgetLastLink()ILeafgetLeafsget(Code code)intgetLeafssize()java.util.Collection<ILeaf>getLeafsvalues()java.util.List<Link>getLinks()java.lang.StringgetNamespaceSeparator()intgetNbImages()Number of images in this diagram (usually, 1)IGroupgetOrCreateGroup(Code code, Display display, GroupType type, IGroup parent)abstract IEntitygetOrCreateLeaf(Code code, LeafType type, USymbol symbol)IGroupgetOrCreateNamespace(Code namespace, Display display, GroupType type, IGroup parent)IGroupgetRootGroup()intgetVerticalPages()java.lang.StringgetWarningOrError()booleanhasUrl()Check if the Diagram have some links.voidhideOrShow(EntityGender gender, java.util.Set<EntityPortion> portions, boolean show)voidhideOrShow(IEntity leaf, boolean show)voidhideOrShow(LeafType leafType, boolean show)voidhideOrShow(java.util.Set<VisibilityModifier> visibilities, boolean show)voidhideOrShow(Stereotype stereotype, boolean show)booleanisAutarkic(IGroup g)booleanisEmpty(IGroup gToTest)booleanisGroup(Code code)booleanisHideEmptyDescriptionForState()booleanisStandalone(IEntity ent)booleanisVisibilityModifierPresent()booleanleafExist(Code code)voidresetPragmaLabel()voidsetHorizontalPages(int horizontalPages)voidsetNamespaceSeparator(java.lang.String namespaceSeparator)voidsetVerticalPages(int verticalPages)voidsetVisibilityModifierPresent(boolean visibilityModifierPresent)booleanshowPortion(EntityPortion portion, IEntity entity)-
Methods inherited from class net.sourceforge.plantuml.UmlDiagram
addSprite, exportDiagramError, getAnimation, getCaption, getDpi, getDpiFactor, getFailureText2, getFlashData, getFooter, getFooterOrHeaderTeoz, getHeader, getLegend, getMinwidth, getPragma, getSkinParam, getTitle, getUmlDiagramType, isHideUnlinkedData, isRotation, isUseJDot, setAnimation, setCaption, setDotExecutable, setFooter, setHeader, setHideUnlinkedData, setLegend, setMinwidth, setParam, setRotation, setTitle, setUseJDot
-
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, getScale, getSource, isOk, makeDiagramReady, seed, setScale, setSource
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.core.Diagram
exportDiagram, getDescription, getMetadata, getSource
-
-
-
-
Method Detail
-
setNamespaceSeparator
public final void setNamespaceSeparator(java.lang.String namespaceSeparator)
-
getNamespaceSeparator
public final java.lang.String getNamespaceSeparator()
-
hasUrl
public boolean hasUrl()
Description copied from interface:DiagramCheck if the Diagram have some links.- Specified by:
hasUrlin interfaceDiagram- Overrides:
hasUrlin classAbstractPSystem- Returns:
-
leafExist
public boolean leafExist(Code code)
-
getChildrenGroups
public final java.util.Collection<IGroup> getChildrenGroups(IGroup parent)
- Specified by:
getChildrenGroupsin interfaceGroupHierarchy
-
getOrCreateNamespace
public final IGroup getOrCreateNamespace(Code namespace, Display display, GroupType type, IGroup parent)
-
getOrCreateGroup
public final IGroup getOrCreateGroup(Code code, Display display, GroupType type, IGroup parent)
-
getCurrentGroup
public final IGroup getCurrentGroup()
-
endGroup
public void endGroup()
-
isGroup
public final boolean isGroup(Code code)
-
getGroups
public final java.util.Collection<IGroup> getGroups(boolean withRootGroup)
-
getRootGroup
public IGroup getRootGroup()
-
getLeafsvalues
public java.util.Collection<ILeaf> getLeafsvalues()
-
getLeafssize
public final int getLeafssize()
-
addLink
public final void addLink(Link link)
-
getLinks
public final java.util.List<Link> getLinks()
-
getHorizontalPages
public final int getHorizontalPages()
-
setHorizontalPages
public final void setHorizontalPages(int horizontalPages)
-
getVerticalPages
public final int getVerticalPages()
-
setVerticalPages
public final void setVerticalPages(int verticalPages)
-
getDotStringSkek
public final java.lang.String[] getDotStringSkek()
-
getWarningOrError
public java.lang.String getWarningOrError()
- Specified by:
getWarningOrErrorin interfaceDiagram- Overrides:
getWarningOrErrorin classUmlDiagram
-
isAutarkic
public boolean isAutarkic(IGroup g)
-
resetPragmaLabel
public void resetPragmaLabel()
-
getLabeldistance
public java.lang.String getLabeldistance()
-
getLabelangle
public java.lang.String getLabelangle()
-
isEmpty
public final boolean isEmpty(IGroup gToTest)
- Specified by:
isEmptyin interfaceGroupHierarchy
-
isVisibilityModifierPresent
public final boolean isVisibilityModifierPresent()
-
setVisibilityModifierPresent
public final void setVisibilityModifierPresent(boolean visibilityModifierPresent)
-
showPortion
public final boolean showPortion(EntityPortion portion, IEntity entity)
- Specified by:
showPortionin interfacePortionShower
-
hideOrShow
public final void hideOrShow(EntityGender gender, java.util.Set<EntityPortion> portions, boolean show)
-
hideOrShow
public void hideOrShow(java.util.Set<VisibilityModifier> visibilities, boolean show)
-
hideOrShow
public void hideOrShow(IEntity leaf, boolean show)
-
hideOrShow
public void hideOrShow(Stereotype stereotype, boolean show)
-
hideOrShow
public void hideOrShow(LeafType leafType, boolean show)
-
getNbImages
public int getNbImages()
Description copied from interface:DiagramNumber of images in this diagram (usually, 1)- Specified by:
getNbImagesin interfaceDiagram- Overrides:
getNbImagesin classAbstractPSystem- Returns:
- usually 1
-
getHides
public final java.util.Set<VisibilityModifier> getHides()
-
getColorMapper
public ColorMapper getColorMapper()
-
isStandalone
public final boolean isStandalone(IEntity ent)
-
getLastLink
public final Link getLastLink()
-
getLastEntity
public final ILeaf getLastEntity()
-
getEntityFactory
public final EntityFactory getEntityFactory()
-
applySingleStrategy
public void applySingleStrategy()
-
isHideEmptyDescriptionForState
public boolean isHideEmptyDescriptionForState()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG