public abstract class CucaDiagram extends UmlDiagram implements GroupHierarchy, PortionShower
| Modifier and Type | Field and Description |
|---|---|
protected EntityFactory |
entityFactory |
FORCE_ELK, FORCE_SMETANA| Constructor and Description |
|---|
CucaDiagram(ThemeStyle style,
UmlSource source,
UmlDiagramType type,
ISkinSimple orig) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLink(Link link) |
void |
applySingleStrategy() |
Code |
buildCode(java.lang.String s) |
Ident |
buildFullyQualified(java.lang.String id) |
Ident |
buildLeafIdent(java.lang.String id) |
Ident |
buildLeafIdentSpecial(java.lang.String id) |
Ident |
cleanIdent(Ident ident) |
CommandExecutionResult |
constraintOnLinks(Link link1,
Link link2,
Display display) |
ILeaf |
createLeaf(Ident idNewLong,
Code code,
Display display,
LeafType type,
USymbol symbol) |
protected ILeaf |
createLeafInternal(Ident newIdent,
Code code,
Display display,
LeafType type,
USymbol symbol) |
void |
endGroup() |
protected ImageData |
exportDiagramInternal(java.io.OutputStream os,
int index,
FileFormatOption fileFormatOption) |
java.util.Set<SuperGroup> |
getAllSuperGroups() |
java.util.Collection<IGroup> |
getChildrenGroups(IGroup parent) |
ColorMapper |
getColorMapper() |
IGroup |
getCurrentGroup() |
ClockwiseTopRightBottomLeft |
getDefaultMargins() |
protected abstract java.util.List<java.lang.String> |
getDotStrings() |
java.lang.String[] |
getDotStringSkek() |
EntityFactory |
getEntityFactory() |
protected Code |
getFullyQualifiedCode1972(Code code) |
IGroup |
getGroup(Code code) |
java.util.Collection<IGroup> |
getGroups(boolean withRootGroup) |
IGroup |
getGroupStrict(Ident ident) |
IGroup |
getGroupVerySmart(Ident ident) |
java.util.Set<VisibilityModifier> |
getHides() |
java.lang.String |
getLabelangle() |
java.lang.String |
getLabeldistance() |
ILeaf |
getLastEntity() |
Link |
getLastLink() |
ILeaf |
getLeaf(Code code) |
ILeaf |
getLeafSmart(Ident ident) |
int |
getLeafssize() |
ILeaf |
getLeafStrict(Ident ident) |
java.util.Collection<ILeaf> |
getLeafsvalues() |
ILeaf |
getLeafVerySmart(Ident ident) |
java.util.List<Link> |
getLinks() |
protected java.lang.String |
getNamespace1972(Code fullyCode,
java.lang.String separator) |
java.lang.String |
getNamespaceSeparator() |
abstract IEntity |
getOrCreateLeaf(Ident ident,
Code code,
LeafType type,
USymbol symbol) |
protected ILeaf |
getOrCreateLeafDefault(Ident idNewLong,
Code code,
LeafType type,
USymbol symbol) |
IGroup |
getRootGroup() |
SuperGroup |
getRootSuperGroup() |
java.util.List<Link> |
getTwoLastLinks() |
java.lang.String |
getWarningOrError() |
void |
gotoGroup(Ident ident,
Code code,
Display display,
GroupType type,
IGroup parent,
NamespaceStrategy strategy) |
protected void |
gotoGroupExternal(Ident newIdLong,
Code code,
Display display,
Code namespace,
GroupType type,
IGroup parent) |
void |
gotoThisGroup(IGroup group) |
boolean |
hasUrl()
Check if the Diagram have some links.
|
void |
hideOrShow(EntityGender gender,
EntityPortion portions,
boolean show) |
void |
hideOrShow(java.util.Set<VisibilityModifier> visibilities,
boolean show) |
void |
hideOrShow2(java.lang.String what,
boolean show) |
protected void |
incRawLayout() |
boolean |
isAutarkic(IGroup g) |
boolean |
isEmpty(IGroup gToTest) |
boolean |
isGroup(Code code) |
boolean |
isGroupStrict(Ident ident) |
boolean |
isGroupVerySmart(Ident ident) |
boolean |
isHideEmptyDescriptionForState() |
boolean |
isStandalone(IEntity ent) |
boolean |
isVisibilityModifierPresent() |
boolean |
leafExist(Code code) |
boolean |
leafExistSmart(Ident ident) |
boolean |
leafExistStrict(Ident ident) |
boolean |
mergeIntricated() |
protected void |
removeLink(Link link) |
void |
removeOrRestore(java.lang.String what,
boolean show) |
void |
resetPragmaLabel() |
void |
setLastEntity(ILeaf foo) |
void |
setNamespaceSeparator(java.lang.String namespaceSeparator) |
void |
setVisibilityModifierPresent(boolean visibilityModifierPresent) |
boolean |
showPortion(EntityPortion portion,
IEntity entity) |
boolean |
V1972() |
exportCmap, exportDiagramError, exportDiagramNow, getFailureText2, getFlashData, getFooterOrHeaderTeoz, getMinwidth, isRotation, setHideEmptyDescription, setMinwidth, setRotationaddSprite, calculateBackColor, createImageBuilder, getAnimation, getCaption, getCurrentStyleBuilder, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, setAnimation, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetanacheckFinalError, executeCommand, exportDiagram, getMetadata, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, isOk, makeDiagramReady, seed, setScale, setSplitPagesHorizontal, setSplitPagesVerticalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCaption, getFooter, getHeader, getLegend, getMainFrame, getTitleaddSpriteexportDiagram, getDescription, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplayprotected final EntityFactory entityFactory
public CucaDiagram(ThemeStyle style, UmlSource source, UmlDiagramType type, ISkinSimple orig)
public final boolean V1972()
public final boolean mergeIntricated()
public java.util.Set<SuperGroup> getAllSuperGroups()
getAllSuperGroups in interface GroupHierarchypublic abstract IEntity getOrCreateLeaf(Ident ident, Code code, LeafType type, USymbol symbol)
public final void setNamespaceSeparator(java.lang.String namespaceSeparator)
public final java.lang.String getNamespaceSeparator()
public boolean hasUrl()
DiagramhasUrl in interface DiagramhasUrl in class AbstractPSystempublic final void setLastEntity(ILeaf foo)
protected final ILeaf getOrCreateLeafDefault(Ident idNewLong, Code code, LeafType type, USymbol symbol)
public ILeaf createLeaf(Ident idNewLong, Code code, Display display, LeafType type, USymbol symbol)
protected final ILeaf createLeafInternal(Ident newIdent, Code code, Display display, LeafType type, USymbol symbol)
public final Ident buildLeafIdent(java.lang.String id)
public final Ident buildLeafIdentSpecial(java.lang.String id)
public final Ident buildFullyQualified(java.lang.String id)
public final Code buildCode(java.lang.String s)
public boolean leafExist(Code code)
public boolean leafExistSmart(Ident ident)
public boolean leafExistStrict(Ident ident)
public final java.util.Collection<IGroup> getChildrenGroups(IGroup parent)
getChildrenGroups in interface GroupHierarchypublic final void gotoGroup(Ident ident, Code code, Display display, GroupType type, IGroup parent, NamespaceStrategy strategy)
protected final java.lang.String getNamespace1972(Code fullyCode, java.lang.String separator)
public void endGroup()
protected final void gotoGroupExternal(Ident newIdLong, Code code, Display display, Code namespace, GroupType type, IGroup parent)
public final void gotoThisGroup(IGroup group)
public final IGroup getCurrentGroup()
public final boolean isGroup(Code code)
public final boolean isGroupStrict(Ident ident)
public final boolean isGroupVerySmart(Ident ident)
public final java.util.Collection<IGroup> getGroups(boolean withRootGroup)
public IGroup getRootGroup()
getRootGroup in interface GroupHierarchypublic SuperGroup getRootSuperGroup()
getRootSuperGroup in interface GroupHierarchypublic final java.util.Collection<ILeaf> getLeafsvalues()
public final int getLeafssize()
public final void addLink(Link link)
protected final void removeLink(Link link)
public final java.util.List<Link> getLinks()
protected abstract java.util.List<java.lang.String> getDotStrings()
public final java.lang.String[] getDotStringSkek()
protected ImageData exportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
exportDiagramInternal in class UmlDiagramjava.io.IOExceptionpublic java.lang.String getWarningOrError()
getWarningOrError in interface DiagramgetWarningOrError in class UmlDiagrampublic boolean isAutarkic(IGroup g)
public void resetPragmaLabel()
public java.lang.String getLabeldistance()
public java.lang.String getLabelangle()
public final boolean isEmpty(IGroup gToTest)
isEmpty in interface GroupHierarchypublic final boolean isVisibilityModifierPresent()
public final void setVisibilityModifierPresent(boolean visibilityModifierPresent)
public final boolean showPortion(EntityPortion portion, IEntity entity)
showPortion in interface PortionShowerpublic final void hideOrShow(EntityGender gender, EntityPortion portions, boolean show)
public void hideOrShow(java.util.Set<VisibilityModifier> visibilities, boolean show)
public void hideOrShow2(java.lang.String what,
boolean show)
public void removeOrRestore(java.lang.String what,
boolean show)
public final java.util.Set<VisibilityModifier> getHides()
public ColorMapper getColorMapper()
public final boolean isStandalone(IEntity ent)
public final Link getLastLink()
public final java.util.List<Link> getTwoLastLinks()
public final ILeaf getLastEntity()
public final EntityFactory getEntityFactory()
public void applySingleStrategy()
public boolean isHideEmptyDescriptionForState()
protected void incRawLayout()
public CommandExecutionResult constraintOnLinks(Link link1, Link link2, Display display)
public ClockwiseTopRightBottomLeft getDefaultMargins()
getDefaultMargins in class TitledDiagram