| |
|
| org.acm.seguin.uml.line.LinedPanel org.acm.seguin.uml.UMLPackage
UMLPackage | public class UMLPackage extends LinedPanel implements Saveable(Code) | | Draws a UML diagram for all the classes in a package
author: Chris Seguin author: Mike Atkinson version: $Id: UMLPackage.java,v 1.6 2003/09/01 00:25:32 mikeatkinson Exp $ |
UMLPackage | public UMLPackage(PackageSummary packageSummary)(Code) | | Constructor for UMLPackage
Parameters: packageSummary - the summary of the package |
UMLPackage | public UMLPackage(String filename)(Code) | | Constructor for UMLPackage
Parameters: filename - the name of the file |
UMLPackage | public UMLPackage(Reader input)(Code) | | Constructor for UMLPackage
Parameters: input - the input stream |
clear | public void clear()(Code) | | Description of the Method
|
drag | public void drag(Point actual)(Code) | | Dragging a segmented line point
Parameters: actual - The mouse's current location |
drop | public void drop()(Code) | | User dropped an item
|
find | protected UMLType find(String id)(Code) | | Find the type based on a id code
Parameters: id - the code we are searching for the UML type object |
find | protected SegmentedLine find(String panel1, String panel2)(Code) | | Find the type based on a id code
Parameters: panel1 - Description of Parameter Parameters: panel2 - Description of Parameter the UML type object |
findType | protected UMLType findType(TypeSummary searching)(Code) | | Find the type based on a summary
Parameters: searching - the variable we are searching for the UML type object |
getFile | public File getFile()(Code) | | Gets the File attribute of the UMLPackage object
The File value |
getMinimumSize | public Dimension getMinimumSize()(Code) | | Returns the minimum size
The size |
getPackageName | public String getPackageName()(Code) | | Gets the PackageName attribute of the UMLPackage object
The PackageName value |
getPreferredSize | public Dimension getPreferredSize()(Code) | | Returns the preferred size
The size |
getTitle | public String getTitle()(Code) | | Determines the title
the title |
getTypes | public UMLType[] getTypes()(Code) | | Get the components that are UMLTypes
Description of the Returned Value |
hit | public void hit(Point actual)(Code) | | Determine what you hit
Parameters: actual - The hit location |
isDirty | public boolean isDirty()(Code) | | Gets the Dirty attribute of the UMLPackage object
The Dirty value |
jumpTo | public void jumpTo(TypeSummary type)(Code) | | Tells the scrollbar to jump to this location
Parameters: type - Description of Parameter |
paint | public void paint(Graphics g)(Code) | | Paint this object
Parameters: g - the graphics object |
print | public void print(Graphics g, int x, int y)(Code) | | Print this object
Parameters: g - the graphics object Parameters: x - the x coordinate Parameters: y - the y coordinate |
rearragePositions | public void rearragePositions(int temperature, int iterations, double springStrength)(Code) | | Uses a mixture of Simulated Annealling, springs along relationships and
gravity (to position subclasses below their parents).
Parameters: temperature - notional initial temperature of the diagram, a value of 2000 works well. Parameters: iterations - number of times to reduce temperature since: 2.7.04 |
reload | public void reload()(Code) | | Reloads the UML class diagrams
|
removeAssociation | public void removeAssociation(UMLField field)(Code) | | Remove the association
Parameters: field - Description of Parameter |
reset | public void reset()(Code) | | Resets the scroll panes
|
resetPositions | public void resetPositions()(Code) | | Initialises the positions of all types randomly.
since: 2.7.04 |
scale | public void scale(double value)(Code) | | Sets the scale and resizes the panel.
Parameters: value - Description of Parameter |
setClassListPanel | public void setClassListPanel(ClassListPanel value)(Code) | | Sets the class list panel
Parameters: value - the new list |
setDirty | public void setDirty()(Code) | | Sets the Dirty attribute of the UMLPackage object
|
setLoading | public void setLoading(boolean value)(Code) | | Sets the loading value
Parameters: value - The new Loading value |
setScrollPane | public void setScrollPane(JScrollPane value)(Code) | | Sets the ScrollPane attribute of the UMLPackage object
Parameters: value - The new ScrollPane value |
setSummary | void setSummary(PackageSummary value)(Code) | | Sets the summary
Parameters: value - The package summary |
updateClassListPanel | void updateClassListPanel()(Code) | | Tells the class list panel to laod itself
|
|
|
|