biouml.model
Class Node
java.lang.Object
com.beanexplorer.beans.Option
ru.biosoft.access.MutableDataElementSupport
biouml.model.DiagramElement
biouml.model.Node
- All Implemented Interfaces:
- DataElement, MutableDataElement
- Direct Known Subclasses:
- Compartment
- public class Node
- extends DiagramElement
Diagram node element
|
Field Summary |
View |
background
The node background. |
protected java.util.ArrayList |
edges
|
protected boolean |
fixed
Indicates whether this node location should be preserved during layout. |
protected ImageDescriptor |
image
Arbitrary image can be assitiated with diagram node element. |
protected java.awt.Point |
location
|
protected java.awt.Dimension |
shapeSize
This property will be used only if SemanticController beleives that
node is resizable. |
| Fields inherited from class com.beanexplorer.beans.Option |
notificationEnabled, propagationEnabled |
| Methods inherited from class biouml.model.DiagramElement |
getComment, getKernel, getRole, getTitle, getView, isKernelHidden, isRoleHidden, setComment, setKernel, setRole, setTitle, setView |
| Methods inherited from class com.beanexplorer.beans.Option |
addPropertyChangeListener, copyListenersTo, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getParent, isNotificationEnabled, isPropagationEnabled, removePropertyChangeListener, setNotificationEnabled, setParent, setPropagationEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
fixed
protected boolean fixed
- Indicates whether this node location should be preserved during layout.
location
protected java.awt.Point location
shapeSize
protected java.awt.Dimension shapeSize
- This property will be used only if
SemanticController beleives that
node is resizable. Generally Compartment shape is resizable by default.
background
public View background
- The node background.
image
protected ImageDescriptor image
- Arbitrary image can be assitiated with diagram node element.
edges
protected java.util.ArrayList edges
Node
public Node(DataCollection parent,
java.lang.String name,
Base kernel)
Node
public Node(DataCollection parent,
Base kernel)
isFixed
public boolean isFixed()
setFixed
public void setFixed(boolean fixed)
getLocation
public java.awt.Point getLocation()
setLocation
public void setLocation(java.awt.Point location)
- Pendung:
- verify new location
setLocation
public void setLocation(int x,
int y)
setRelativeLocation
public void setRelativeLocation(Diagram diagram,
java.awt.Point location)
getShapeSize
public java.awt.Dimension getShapeSize()
setShapeSize
public void setShapeSize(java.awt.Dimension shapeSize)
getBackground
public View getBackground()
setBackground
public void setBackground(View background)
getImage
public ImageDescriptor getImage()
setImage
public void setImage(ImageDescriptor image)
addEdge
public void addEdge(Edge edge)
removeEdge
public void removeEdge(Edge edge)
getEdges
public Edge[] getEdges()
edgeIterator
public java.util.Iterator edgeIterator()
clone
public DiagramElement clone(Compartment newParent,
java.lang.String newName)
- Overrides:
clone in class DiagramElement
doClone
protected void doClone(Node node)
- Pendung:
- clone image
findCommonOrigin
public static DataCollection findCommonOrigin(DataCollection first,
DataCollection second)
isBackgroundHidden
public boolean isBackgroundHidden()
isNotResizable
public boolean isNotResizable()
Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.