52 UMLItem |
52 UMLItem |
53 <h3>Class Attributes</h3> |
53 <h3>Class Attributes</h3> |
54 <table> |
54 <table> |
55 <tr><td>None</td></tr> |
55 <tr><td>None</td></tr> |
56 </table> |
56 </table> |
|
57 <h3>Class Methods</h3> |
|
58 <table> |
|
59 <tr><td>None</td></tr> |
|
60 </table> |
57 <h3>Methods</h3> |
61 <h3>Methods</h3> |
58 <table> |
62 <table> |
59 <tr> |
63 <tr> |
60 <td><a href="#ClassItem.__init__">ClassItem</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#ClassItem.__calculateSize">__calculateSize</a></td> |
64 <td><a href="#ClassItem.__calculateSize">__calculateSize</a></td> |
64 <td>Private method to calculate the size of the class item.</td> |
65 <td>Private method to calculate the size of the class item.</td> |
65 </tr><tr> |
66 </tr><tr> |
66 <td><a href="#ClassItem.__createTexts">__createTexts</a></td> |
67 <td><a href="#ClassItem.__createTexts">__createTexts</a></td> |
67 <td>Private method to create the text items of the class item.</td> |
68 <td>Private method to create the text items of the class item.</td> |
73 <td>Public method to paint the item in local coordinates.</td> |
74 <td>Public method to paint the item in local coordinates.</td> |
74 </tr><tr> |
75 </tr><tr> |
75 <td><a href="#ClassItem.setModel">setModel</a></td> |
76 <td><a href="#ClassItem.setModel">setModel</a></td> |
76 <td>Method to set the class model.</td> |
77 <td>Method to set the class model.</td> |
77 </tr> |
78 </tr> |
|
79 </table> |
|
80 <h3>Static Methods</h3> |
|
81 <table> |
|
82 <tr><td>None</td></tr> |
78 </table> |
83 </table> |
79 <a NAME="ClassItem.__init__" ID="ClassItem.__init__"></a> |
84 <a NAME="ClassItem.__init__" ID="ClassItem.__init__"></a> |
80 <h4>ClassItem (Constructor)</h4> |
85 <h4>ClassItem (Constructor)</h4> |
81 <b>ClassItem</b>(<i>model=None, external=False, x=0, y=0, rounded=False, noAttrs=False, parent=None, scene=None</i>) |
86 <b>ClassItem</b>(<i>model=None, external=False, x=0, y=0, rounded=False, noAttrs=False, parent=None, scene=None</i>) |
82 <p> |
87 <p> |
165 object |
170 object |
166 <h3>Class Attributes</h3> |
171 <h3>Class Attributes</h3> |
167 <table> |
172 <table> |
168 <tr><td>None</td></tr> |
173 <tr><td>None</td></tr> |
169 </table> |
174 </table> |
|
175 <h3>Class Methods</h3> |
|
176 <table> |
|
177 <tr><td>None</td></tr> |
|
178 </table> |
170 <h3>Methods</h3> |
179 <h3>Methods</h3> |
171 <table> |
180 <table> |
172 <tr> |
181 <tr> |
173 <td><a href="#ClassModel.__init__">ClassModel</a></td> |
|
174 <td>Constructor</td> |
|
175 </tr><tr> |
|
176 <td><a href="#ClassModel.addAttribute">addAttribute</a></td> |
182 <td><a href="#ClassModel.addAttribute">addAttribute</a></td> |
177 <td>Method to add an attribute to the class model.</td> |
183 <td>Method to add an attribute to the class model.</td> |
178 </tr><tr> |
184 </tr><tr> |
179 <td><a href="#ClassModel.addMethod">addMethod</a></td> |
185 <td><a href="#ClassModel.addMethod">addMethod</a></td> |
180 <td>Method to add a method to the class model.</td> |
186 <td>Method to add a method to the class model.</td> |
186 <td>Method to retrieve the methods of the class.</td> |
192 <td>Method to retrieve the methods of the class.</td> |
187 </tr><tr> |
193 </tr><tr> |
188 <td><a href="#ClassModel.getName">getName</a></td> |
194 <td><a href="#ClassModel.getName">getName</a></td> |
189 <td>Method to retrieve the class name.</td> |
195 <td>Method to retrieve the class name.</td> |
190 </tr> |
196 </tr> |
|
197 </table> |
|
198 <h3>Static Methods</h3> |
|
199 <table> |
|
200 <tr><td>None</td></tr> |
191 </table> |
201 </table> |
192 <a NAME="ClassModel.__init__" ID="ClassModel.__init__"></a> |
202 <a NAME="ClassModel.__init__" ID="ClassModel.__init__"></a> |
193 <h4>ClassModel (Constructor)</h4> |
203 <h4>ClassModel (Constructor)</h4> |
194 <b>ClassModel</b>(<i>name, methods=[], attributes=[]</i>) |
204 <b>ClassModel</b>(<i>name, methods=[], attributes=[]</i>) |
195 <p> |
205 <p> |