public abstract class CucaDiagram extends UmlDiagram implements GroupHierarchy, PortionShower
Modifier and Type | Field and Description |
---|---|
protected EntityFactory |
entityFactory |
FORCE_JDOT
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,
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() |
protected Code |
getFullyQualifiedCode(Code code) |
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() |
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)
|
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() |
void |
gotoGroup2(Code code,
Display display,
GroupType type,
IGroup parent,
NamespaceStrategy strategy) |
protected void |
gotoGroupInternal(Code code,
Display display,
Code namespace2,
GroupType type,
IGroup parent) |
void |
gotoThisGroup(IGroup group) |
boolean |
hasUrl()
Check if the Diagram have some links.
|
void |
hideOrShow(EntityGender gender,
java.util.Set<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 |
isHideEmptyDescriptionForState() |
boolean |
isStandalone(IEntity ent) |
boolean |
isVisibilityModifierPresent() |
boolean |
leafExist(Code code) |
protected void |
removeLink(Link link) |
void |
removeOrRestore(java.lang.String what,
boolean show) |
void |
resetPragmaLabel() |
void |
setHorizontalPages(int horizontalPages) |
void |
setNamespaceSeparator(java.lang.String namespaceSeparator) |
void |
setVerticalPages(int verticalPages) |
void |
setVisibilityModifierPresent(boolean visibilityModifierPresent) |
boolean |
showPortion(EntityPortion portion,
IEntity entity) |
addSprite, exportCmap, exportDiagramError, exportDiagramNow, getAnimation, getCaption, getDpi, getDpiFactor, getFailureText2, getFlashData, getFooter, getFooterOrHeaderTeoz, getHeader, getLegend, getMainFrame, getMinwidth, getPragma, getSkinParam, getTitle, getUmlDiagramType, isHideUnlinkedData, isRotation, isUseJDot, loadSkin, setAnimation, setCaption, setHideUnlinkedData, setLegend, setMainFrame, setMinwidth, setParam, setRotation, setTitle, setUseJDot
checkFinalError, executeCommand, exportDiagram, getMetadata, getScale, getSource, isOk, makeDiagramReady, seed, setScale, setSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exportDiagram, getDescription, getMetadata, getSource
protected final EntityFactory entityFactory
public final void setNamespaceSeparator(java.lang.String namespaceSeparator)
public final 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, USymbol symbol)
public boolean leafExist(Code code)
public final java.util.Collection<IGroup> getChildrenGroups(IGroup parent)
getChildrenGroups
in interface GroupHierarchy
public final void gotoGroup2(Code code, Display display, GroupType type, IGroup parent, NamespaceStrategy strategy)
protected final void gotoGroupInternal(Code code, Display display, Code namespace2, GroupType type, IGroup parent)
public final void gotoThisGroup(IGroup group)
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)
public int getNbImages()
Diagram
getNbImages
in interface Diagram
getNbImages
in class AbstractPSystem
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 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 ILeaf getLastEntity()
public final EntityFactory getEntityFactory()
public void applySingleStrategy()
public boolean isHideEmptyDescriptionForState()
protected void incRawLayout()