|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
org.argouml.cognitive.DesignMaterial
org.argouml.cognitive.Design
A composite DesignMaterial that contains other DesignMaterial's.
Field Summary | |
private Vector |
subdesigns
The contained DesignMaterial's (including other Design's). |
Fields inherited from class org.argouml.cognitive.DesignMaterial |
|
Fields inherited from class java.util.Observable |
|
Constructor Summary | |
Design()
Construct a new Design. |
Method Summary | |
void |
addElement(DesignMaterial dm)
Add the given DesignMaterial to this Design, if it is not already. |
void |
critique(Designer d)
Critique a Design by critiquing each contained DesignMaterial. |
Enumeration |
elements()
Enumerate all contained DesignMaterial's. |
Vector |
getSubdesigns()
Reply a vector of contained DesignMaterial's. |
Iterator |
iterator()
Iterate through all contained DesignMaterial's. |
void |
removeElement(DesignMaterial dm)
Remove the given DesignMaterial from this Design. |
void |
setSubdesigns(Vector subs)
Set the vector of contained DesignMaterial's. |
String |
toString()
Reply a string that describes this Design. |
boolean |
transativelyIncludes(DesignMaterial dm)
Reply true if the given DesignMaterial is part of this design. |
Methods inherited from class org.argouml.cognitive.DesignMaterial |
addParent, addPersistantObserver, addPropertyChangeListener, canPut, changedProperty, define, define, define, dispose, firePropertyChange, firePropertyChange, firePropertyChange, get, get, getBoolean, getBoolProperty, getBoolProperty, getHighlight, getIntProperty, getIntProperty, getProperty, getProperty, inform, keysIn, notifyObservers, notifyPersistantObservers, parents, put, put, put, put, removeParent, removePendingItems, removePersistObserver, removeProperty, removePropertyChangeListener, setHighlight, setProperty, setProperty, setProperty |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private Vector subdesigns
Constructor Detail |
public Design()
Method Detail |
public Vector getSubdesigns()
public void setSubdesigns(Vector subs)
subs
- replace the complete list of dmpublic Enumeration elements()
public Iterator iterator()
public boolean transativelyIncludes(DesignMaterial dm)
dm
- the design material
public void addElement(DesignMaterial dm)
dm
- the design materialpublic void removeElement(DesignMaterial dm)
dm
- the design materialpublic void critique(Designer d)
TODO: in the future Argo will use less tree walking and more trigger-driven critiquing. I.e., critiquing will be done in response to specific manipulations in the editor.
critique
in class DesignMaterial
d
- the designerDesignMaterial.critique(org.argouml.cognitive.Designer)
public String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |