|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Observable | +--org.argouml.cognitive.DesignMaterial | +--org.argouml.cognitive.Design
A composite DesignMaterial that contains other DesignMaterial's.
Field Summary | |
---|---|
private java.util.Vector |
_subdesigns
The contained DesignMaterial's (including other Design's). |
Fields inherited from class org.argouml.cognitive.DesignMaterial |
---|
_highlight, _parents, _pendingItems, _persistObservers, _propertyListeners, _props |
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. |
java.util.Enumeration |
elements()
Enumerate all contained DesignMaterial's. |
java.util.Vector |
getSubdesigns()
Reply a vector of contained DesignMaterial's. |
java.util.Iterator |
iterator()
Enumerate all contained DesignMaterial's. |
void |
removeElement(DesignMaterial dm)
Remove the given DesignMaterial from this Design. |
void |
setSubdesigns(java.util.Vector subs)
Set the vector of contained DesignMaterial's. |
java.lang.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 java.util.Vector _subdesigns
Constructor Detail |
public Design()
Method Detail |
public java.util.Vector getSubdesigns()
public void setSubdesigns(java.util.Vector subs)
public java.util.Enumeration elements()
public java.util.Iterator iterator()
public boolean transativelyIncludes(DesignMaterial dm)
public void addElement(DesignMaterial dm)
public void removeElement(DesignMaterial dm)
public 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
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040306) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |