public abstract class Diagram extends QuidObject implements Named
EMPTY, LOGGER, params, strict
Modifier | Constructor and Description |
---|---|
protected |
Diagram(PetalNode parent,
String name,
Collection params)
construct a diagram from the given parent with the given name and collection of parameters
|
protected |
Diagram(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
addRelationship(RelationshipView view,
Relationship rel) |
void |
addToView(AssociationViewNew view)
Add a association view to the presentation view, set location and tags
and call init().
|
void |
addToView(ClassView view)
Adds a class view to the presentation view, sets location and tags
and calls init().
|
protected int |
addToViewsList(View view) |
protected Dimension |
getClassViewSize(ClassView view)
Calculate size for classview by applying some heuristics
|
List |
getItems() |
int |
getMaxHeight() |
int |
getMaxWidth() |
String |
getNameParameter() |
int |
getOriginX() |
int |
getOriginY() |
String |
getTitle() |
protected int |
getX() |
protected int |
getY() |
int |
getZoom() |
protected abstract View |
searchView(String qual_name) |
protected View |
searchView(String qual_name,
HashSet classes) |
void |
setItems(List o) |
void |
setMaxHeight(int o) |
void |
setMaxWidth(int o) |
void |
setNameParameter(String o) |
void |
setOriginX(int o) |
void |
setOriginY(int o) |
void |
setTitle(String o) |
void |
setZoom(int o) |
getQuid, getQuidAsLong, init, setQuid, setQuidAsLong
accept, addProperty, addToList, clone, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, equals, getChildCount, getKind, getLongestName, getName, getNames, getNoProperties, getParameterList, getParent, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsFloat, getPropertyAsInteger, getPropertyAsString, getPropertyList, getPropertyName, getPropertyTuples, getQualifiedName, getRoot, indexOf, moveProperty, removeFromList, removeProperty, removeProperty, setName, setParameterList, setParent, setProperty, toString
protected Diagram(PetalNode parent, String name, Collection params)
parent
- name
- params
- protected Diagram(String name)
public void setNameParameter(String o)
setNameParameter
in interface Named
public String getNameParameter()
getNameParameter
in interface Named
public String getTitle()
public void setTitle(String o)
public int getZoom()
public void setZoom(int o)
public int getMaxHeight()
public void setMaxHeight(int o)
public int getMaxWidth()
public void setMaxWidth(int o)
public int getOriginX()
public void setOriginX(int o)
public int getOriginY()
public void setOriginY(int o)
public List getItems()
public void setItems(List o)
protected int getX()
protected int getY()
protected int addToViewsList(View view)
protected Dimension getClassViewSize(ClassView view)
public void addToView(ClassView view)
protected void addRelationship(RelationshipView view, Relationship rel)
public void addToView(AssociationViewNew view)
Copyright © 2018 BITPlan GmbH. All rights reserved.