cb.petal
Class ClassDiagram
java.lang.Object
|
+--cb.petal.PetalObject
|
+--cb.petal.QuidObject
|
+--cb.petal.Diagram
|
+--cb.petal.ClassDiagram
- All Implemented Interfaces:
- java.lang.Cloneable, Named, PetalNode, java.io.Serializable
- public class ClassDiagram
- extends Diagram
Represents ClassDiagram object contained within a LogicalCategory
object. Items to the view can be added with the addToView()
methods which call init() on the given Petal Object after adding
them to the items list.
- Version:
- $Id: ClassDiagram.java,v 1.17 2001/07/19 12:40:40 dahm Exp $
- Author:
- M. Dahm
- See Also:
- Serialized Form
Method Summary |
void |
accept(Visitor v)
|
void |
addAttachView(NoteView from,
View to)
Attach note to some already added view object. |
void |
addToView(InheritView view)
Class and super class and the according views must have been added
to the model already. |
void |
addToView(NoteView view)
Adds a note view to the presentation view, sets location and tags
and calls init(). |
void |
addToView(RealizeView view)
Class and interface and the according views must have been added
to the model already. |
void |
addToView(UsesView view)
Classes and the according views must have been added
to the model already. |
protected View |
searchView(java.lang.String qual_name)
|
Methods inherited from class cb.petal.Diagram |
addRelationship, addToView, addToView, addToViewsList, getClassViewSize, getItems, getMaxHeight, getMaxWidth, getNameParameter, getOriginX, getOriginY, getTitle, getX, getY, getZoom, searchView, setItems, setMaxHeight, setMaxWidth, setNameParameter, setOriginX, setOriginY, setTitle, setZoom |
Methods inherited from class cb.petal.PetalObject |
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 |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ClassDiagram
public ClassDiagram(PetalNode parent,
java.util.Collection params)
ClassDiagram
public ClassDiagram()
addToView
public void addToView(NoteView view)
- Adds a note view to the presentation view, sets location and tags
and calls init().
addAttachView
public void addAttachView(NoteView from,
View to)
- Attach note to some already added view object.
searchView
protected View searchView(java.lang.String qual_name)
- Overrides:
searchView
in class Diagram
addToView
public void addToView(InheritView view)
- Class and super class and the according views must have been added
to the model already. Sets tag as well as client and supplier tags.
addToView
public void addToView(UsesView view)
- Classes and the according views must have been added
to the model already. Sets tag as well as client and supplier tags.
addToView
public void addToView(RealizeView view)
- Class and interface and the according views must have been added
to the model already. Sets tag as well as client and supplier tags.
accept
public void accept(Visitor v)
- Overrides:
accept
in class PetalObject