biouml.model
Class Compartment
java.lang.Object
|
+--com.beanexplorer.swing.table.Option
|
+--ru.biosoft.access.MutableDataElementSupport
|
+--biouml.model.DiagramElement
|
+--biouml.model.Node
|
+--biouml.model.Compartment
- Direct Known Subclasses:
- Diagram, EquivalentNodeGroup
- public class Compartment
- extends Node
- implements DataCollection
General definition of the compartment as a container for nodes and edges between them.
| Methods inherited from class biouml.model.Node |
addEdge, edgeIterator, findCommonOrigin, getBackground, getImage, getLocation, removeEdge, setBackground, setImage, setLocation, setLocation |
| Methods inherited from class com.beanexplorer.swing.table.Option |
setParent, getParent, addPropertyChangeListener, removePropertyChangeListener, copyListenersTo |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, notify, notifyAll, wait, wait, wait |
SHAPE_ELLIPSE
public final static int SHAPE_ELLIPSE
SHAPE_RECTANGLE
public final static int SHAPE_RECTANGLE
SHAPE_ROUND_RECTANGLE
public final static int SHAPE_ROUND_RECTANGLE
Compartment
public Compartment(DataCollection parent, String id, Base kernel)
Compartment
public Compartment(DataCollection parent, Base kernel)
addDataCollectionListener
public void addDataCollectionListener(DataCollectionListener l)
- pending replace
clone
public DiagramElement clone(Compartment compartment, Compartment newParent, String newName)
clone
public DiagramElement clone(Compartment newParent, String newName)
close
public void close()
throws java.lang.Exception
- pending to think
contains
public boolean contains(String name)
contains
public boolean contains(DataElement de)
findNode
public Node findNode(String id)
throws java.lang.Exception
get
public DataElement get(String name)
throws java.lang.Exception
getCompleteName
public String getCompleteName()
getDataElementType
public Class getDataElementType()
getInfo
public DataCollectionInfo getInfo()
getNameList
public List getNameList()
getShapeColor
public Color getShapeColor()
getShapeSize
public Dimension getShapeSize()
getShapeType
public int getShapeType()
getSize
public int getSize()
init
public void init()
- pending to think
isMutable
public boolean isMutable()
iterator
public Iterator iterator()
propagateElementChanged
public void propagateElementChanged(DataCollection source, DataCollectionEvent primaryEvent)
- todo comment
propagateElementWillChange
public void propagateElementWillChange(DataCollection source, DataCollectionEvent primaryEvent)
- todo comment
put
public DataElement put(DataElement obj)
throws java.lang.Exception
remove
public DataElement remove(String name)
throws java.lang.Exception
removeDataCollectionListener
public void removeDataCollectionListener(DataCollectionListener l)
- pending replace
setShapeColor
public void setShapeColor(Color shapeColor)
setShapeSize
public void setShapeSize(Dimension shapeSize)
setShapeType
public void setShapeType(int shapeType)
to Class org.apache.log4j.Category
to Class java.awt.Color
to Class java.awt.Dimension
to Class ru.biosoft.access.DataCollection
- Primary collection.
BOTTOM