biouml.model
Class Node
|
+--ru.biosoft.access.MutableDataElementSupport
|
+--biouml.model.DiagramElement
|
+--biouml.model.Node
- Direct Known Subclasses:
- Compartment
- public class Node
- extends DiagramElement
Diagram node element
| Methods inherited from class biouml.model.DiagramElement |
getComment, getKernel, getRole, getTitle, getView, isKernelHidden, isRoleHidden, setComment, setKernel, setRole, setTitle, setView |
background
public View background
- The node background.
Node
public Node(DataCollection parent, String name, Base kernel)
Node
public Node(DataCollection parent, Base kernel)
addEdge
public void addEdge(Edge edge)
clone
public DiagramElement clone(Compartment newParent, String newName)
edgeIterator
public Iterator edgeIterator()
findCommonOrigin
public static DataCollection findCommonOrigin(DataCollection first, DataCollection second)
getBackground
public View getBackground()
getEdges
public Edge[] getEdges()
getImage
public ImageDescriptor getImage()
getLocation
public Point getLocation()
getShapeSize
public Dimension getShapeSize()
isBackgroundHidden
public boolean isBackgroundHidden()
isFixed
public boolean isFixed()
isNotResizable
public boolean isNotResizable()
removeEdge
public void removeEdge(Edge edge)
setBackground
public void setBackground(View background)
setFixed
public void setFixed(boolean fixed)
setImage
public void setImage(ImageDescriptor image)
setLocation
public void setLocation(Point location)
- pending verify new location
setLocation
public void setLocation(int x, int y)
setRelativeLocation
public void setRelativeLocation(Diagram diagram, Point location)
setShapeSize
public void setShapeSize(Dimension shapeSize)
to Class java.awt.Point
to Class java.awt.Dimension
- This property will be used only if {@link SemanticController} beleives that
node is resizable. Generally Compartment shape is resizable by default.
to Class ru.biosoft.graphics.View
- The node background.
to Class biouml.standard.type.ImageDescriptor
- Arbitrary image can be assitiated with diagram node element.
to Class java.util.ArrayList
BOTTOM