public abstract class CucaDiagram extends UmlDiagram implements GroupHierarchy, PortionShower
Modifier and Type | Field and Description |
---|---|
protected IGroup |
currentGroup |
protected EntityFactory |
entityFactory |
Constructor and Description |
---|
CucaDiagram() |
Modifier and Type | Method and Description |
---|---|
void |
addLink(Link link) |
void |
applySingleStrategy() |
ILeaf |
createLeaf(Code code,
Display display,
LeafType type,
USymbol symbol) |
protected ILeaf |
createLeafInternal(Code code,
Display display,
LeafType type,
IGroup group,
USymbol symbol) |
void |
endGroup() |
protected ImageData |
exportDiagramInternal(java.io.OutputStream os,
int index,
FileFormatOption fileFormatOption) |
java.util.Collection<IGroup> |
getChildrenGroups(IGroup parent) |
ColorMapper |
getColorMapper() |
IGroup |
getCurrentGroup() |
protected abstract java.util.List<java.lang.String> |
getDotStrings() |
java.lang.String[] |
getDotStringSkek() |
EntityFactory |
getEntityFactory() |
IGroup |
getGroup(Code code) |
java.util.Collection<IGroup> |
getGroups(boolean withRootGroup) |
java.util.Set<VisibilityModifier> |
getHides() |
int |
getHorizontalPages() |
java.lang.String |
getLabelangle() |
java.lang.String |
getLabeldistance() |
ILeaf |
getLastEntity() |
Link |
getLastLink() |
protected java.util.Map<Code,ILeaf> |
getLeafs() |
ILeaf |
getLeafsget(Code code) |
int |
getLeafssize() |
java.util.Collection<ILeaf> |
getLeafsvalues() |
java.util.List<Link> |
getLinks() |
java.lang.String |
getNamespaceSeparator() |
int |
getNbImages()
Number of images in this diagram (usually, 1)
|
IGroup |
getOrCreateGroup(Code code,
Display display,
GroupType type,
IGroup parent) |
abstract IEntity |
getOrCreateLeaf(Code code,
LeafType type,
USymbol symbol) |
protected ILeaf |
getOrCreateLeafDefault(Code code,
LeafType type,
USymbol symbol) |
IGroup |
getRootGroup() |
int |
getVerticalPages() |
java.lang.String |
getWarningOrError() |
boolean |
hasUrl()
Check if the Diagram have some links.
|
void |
hideOrShow(EntityGender gender,
java.util.Set<EntityPortion> portions,
boolean show) |
void |
hideOrShow(ILeaf leaf,
boolean show) |
void |
hideOrShow(LeafType leafType,
boolean show) |
void |
hideOrShow(java.util.Set<VisibilityModifier> visibilities,
boolean show) |
protected void |
incRawLayout() |
boolean |
isAutarkic(IGroup g) |
boolean |
isEmpty(IGroup gToTest) |
boolean |
isGroup(Code code) |
boolean |
isHideEmptyDescriptionForState() |
boolean |
isStandalone(IEntity ent) |
boolean |
isVisibilityModifierPresent() |
boolean |
leafExist(Code code) |
protected void |
removeLink(Link link) |
void |
resetPragmaLabel() |
void |
setHorizontalPages(int horizontalPages) |
void |
setVerticalPages(int verticalPages) |
void |
setVisibilityModifierPresent(boolean visibilityModifierPresent) |
boolean |
showPortion(EntityPortion portion,
IEntity entity) |
addSprite, exportCmap, exportDiagram, exportDiagramError2, getAlignmentTeoz, getAnimation, getDpi, getDpiFactor, getFailureText2, getFooter, getFooterAlignment, getFooterOrHeaderTeoz, getHeader, getHeaderAlignment, getLegend, getLegendAlignment, getLegendVerticalAlignment, getMinwidth, getPragma, getScale, getSkinParam, getTitle, getUmlDiagramType, isHideUnlinkedData, isRotation, setAnimation, setFooter, setFooterAlignment, setHeader, setHeaderAlignment, setHideUnlinkedData, setLegend, setMinwidth, setParam, setRotation, setScale, setTitle
executeCommand, getMetadata, getSource, isOk, makeDiagramReady, setSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getMetadata, getSource
protected final EntityFactory entityFactory
protected IGroup currentGroup
public java.lang.String getNamespaceSeparator()
public boolean hasUrl()
Diagram
hasUrl
in interface Diagram
hasUrl
in class AbstractPSystem
protected final ILeaf getOrCreateLeafDefault(Code code, LeafType type, USymbol symbol)
protected final ILeaf createLeafInternal(Code code, Display display, LeafType type, IGroup group, USymbol symbol)
public boolean leafExist(Code code)
public final java.util.Collection<IGroup> getChildrenGroups(IGroup parent)
getChildrenGroups
in interface GroupHierarchy
public final IGroup getOrCreateGroup(Code code, Display display, GroupType type, IGroup parent)
public final IGroup getCurrentGroup()
public void endGroup()
public final boolean isGroup(Code code)
public final java.util.Collection<IGroup> getGroups(boolean withRootGroup)
public IGroup getRootGroup()
public 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()
public final int getHorizontalPages()
public final void setHorizontalPages(int horizontalPages)
public final int getVerticalPages()
public final void setVerticalPages(int verticalPages)
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 UmlDiagram
java.io.IOException
public java.lang.String getWarningOrError()
getWarningOrError
in interface Diagram
getWarningOrError
in class UmlDiagram
public 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 GroupHierarchy
public final boolean isVisibilityModifierPresent()
public final void setVisibilityModifierPresent(boolean visibilityModifierPresent)
public final boolean showPortion(EntityPortion portion, IEntity entity)
showPortion
in interface PortionShower
public final void hideOrShow(EntityGender gender, java.util.Set<EntityPortion> portions, boolean show)
public void hideOrShow(java.util.Set<VisibilityModifier> visibilities, boolean show)
public void hideOrShow(ILeaf leaf, boolean show)
public void hideOrShow(LeafType leafType, boolean show)
public int getNbImages()
Diagram
getNbImages
in interface Diagram
getNbImages
in class AbstractPSystem
public final java.util.Set<VisibilityModifier> getHides()
public ColorMapper getColorMapper()
public final boolean isStandalone(IEntity ent)
public final Link getLastLink()
public final ILeaf getLastEntity()
public final EntityFactory getEntityFactory()
public void applySingleStrategy()
public boolean isHideEmptyDescriptionForState()
protected void incRawLayout()