Java Doc for UMLPackage.java in  » UML » jrefactory » org » acm » seguin » uml » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » UML » jrefactory » org.acm.seguin.uml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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 $



Constructor Summary
public  UMLPackage(PackageSummary packageSummary)
    
public  UMLPackage(String filename)
    
public  UMLPackage(Reader input)
    

Method Summary
public  voidclear()
    
public  voiddrag(Point actual)
    
public  voiddrop()
    
protected  UMLTypefind(String id)
    
protected  SegmentedLinefind(String panel1, String panel2)
    
protected  UMLTypefindType(TypeSummary searching)
    
public  FilegetFile()
    
public  DimensiongetMinimumSize()
    
public  StringgetPackageName()
    
public  DimensiongetPreferredSize()
    
public  PackageSummarygetSummary()
    
public  StringgetTitle()
    
public  UMLType[]getTypes()
    
public  voidhit(Point actual)
    
public  booleanisDirty()
    
public  voidjumpTo(TypeSummary type)
    
public  voidpaint(Graphics g)
    
public  voidprint(Graphics g, int x, int y)
    
public  voidrearragePositions(int temperature, int iterations, double springStrength)
     Uses a mixture of Simulated Annealling, springs along relationships and gravity (to position subclasses below their parents).
public  voidreload()
    
public  voidremoveAssociation(UMLField field)
    
public  voidreset()
    
public  voidresetPositions()
     Initialises the positions of all types randomly.
public  voidsave()
    
public  voidscale(double value)
     Sets the scale and resizes the panel.
public  voidsetClassListPanel(ClassListPanel value)
    
public  voidsetDirty()
    
public  voidsetLoading(boolean value)
    
public  voidsetScrollPane(JScrollPane value)
    
 voidsetSummary(PackageSummary value)
    
 voidupdateClassListPanel()
    


Constructor Detail
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




Method Detail
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



getSummary
public PackageSummary getSummary()(Code)
Get the summary The package summary



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



save
public void save() throws IOException(Code)
Save the files
exception:
  IOException - Description of Exception



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



Methods inherited from org.acm.seguin.uml.line.LinedPanel
public void add(EndPointPanel panel)(Code)(Java Doc)
public void add(SegmentedLine value)(Code)(Java Doc)
public void clear()(Code)(Java Doc)
public void deselectAll()(Code)(Java Doc)
abstract public void drag(Point point)(Code)(Java Doc)
abstract public void drop()(Code)(Java Doc)
protected Iterator getEndPointIterator()(Code)(Java Doc)
protected List getEndPoints()(Code)(Java Doc)
public Iterator getLineIterator()(Code)(Java Doc)
public List getLines()(Code)(Java Doc)
abstract public void hit(Point point)(Code)(Java Doc)
public void remove(EndPointPanel panel)(Code)(Java Doc)
public void remove(SegmentedLine value)(Code)(Java Doc)
public void scale(double value)(Code)(Java Doc)
public void shift(int x, int y)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.