java - UML diagram for program (Class diagrams) -
my program has 1 public class followed constructor , 2 local classes (the inner classes have action events) called method. there 1 additional static methods.
public class
constructor
local classes
methods
i confused how uml diagram this. have made 1 super class , subclasses before , straightforward enough, i'm not sure how include local classes , action events (like key listener).
thank help. new java go easy please.
edit: meant class diagrams not uml in general. sorry.
a quick google search yielded following http://www.sparxsystems.com/resources/uml2_tutorial/uml2_classdiagram.html:
nestings nesting connector shows source element nested within target element. following diagram shows definition of inner class, although in ea more usual show them position in project view hierarchy.
inner class uml example http://www.sparxsystems.com/images/screenshots/uml2_tutorial/cl12.gif
Comments
Post a Comment