Documentation/Source/eric5.Graphics.ClassItem.html

changeset 3591
2f2a4a76dd22
parent 3018
70924c0bdaf1
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#ClassItem.buildItemDataString">buildItemDataString</a></td> 72 <td><a href="#ClassItem.buildItemDataString">buildItemDataString</a></td>
73 <td>Public method to build a string to persist the specific item data.</td> 73 <td>Public method to build a string to persist the specific item data.</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#ClassItem.isExternal">isExternal</a></td> 75 <td><a href="#ClassItem.isExternal">isExternal</a></td>
76 <td>Method returning the external state.</td> 76 <td>Public method returning the external state.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#ClassItem.paint">paint</a></td> 78 <td><a href="#ClassItem.paint">paint</a></td>
79 <td>Public method to paint the item in local coordinates.</td> 79 <td>Public method to paint the item in local coordinates.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#ClassItem.parseItemDataString">parseItemDataString</a></td> 81 <td><a href="#ClassItem.parseItemDataString">parseItemDataString</a></td>
82 <td>Public method to parse the given persistence data.</td> 82 <td>Public method to parse the given persistence data.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#ClassItem.setModel">setModel</a></td> 84 <td><a href="#ClassItem.setModel">setModel</a></td>
85 <td>Method to set the class model.</td> 85 <td>Public method to set the class model.</td>
86 </tr> 86 </tr>
87 </table> 87 </table>
88 <h3>Static Methods</h3> 88 <h3>Static Methods</h3>
89 <table> 89 <table>
90 <tr><td>None</td></tr> 90 <tr><td>None</td></tr>
148 </dd> 148 </dd>
149 </dl><a NAME="ClassItem.isExternal" ID="ClassItem.isExternal"></a> 149 </dl><a NAME="ClassItem.isExternal" ID="ClassItem.isExternal"></a>
150 <h4>ClassItem.isExternal</h4> 150 <h4>ClassItem.isExternal</h4>
151 <b>isExternal</b>(<i></i>) 151 <b>isExternal</b>(<i></i>)
152 <p> 152 <p>
153 Method returning the external state. 153 Public method returning the external state.
154 </p><dl> 154 </p><dl>
155 <dt>Returns:</dt> 155 <dt>Returns:</dt>
156 <dd> 156 <dd>
157 external state (boolean) 157 external state (boolean)
158 </dd> 158 </dd>
192 </dd> 192 </dd>
193 </dl><a NAME="ClassItem.setModel" ID="ClassItem.setModel"></a> 193 </dl><a NAME="ClassItem.setModel" ID="ClassItem.setModel"></a>
194 <h4>ClassItem.setModel</h4> 194 <h4>ClassItem.setModel</h4>
195 <b>setModel</b>(<i>model</i>) 195 <b>setModel</b>(<i>model</i>)
196 <p> 196 <p>
197 Method to set the class model. 197 Public method to set the class model.
198 </p><dl> 198 </p><dl>
199 <dt><i>model</i></dt> 199 <dt><i>model</i></dt>
200 <dd> 200 <dd>
201 class model containing the class data (ClassModel) 201 class model containing the class data (ClassModel)
202 </dd> 202 </dd>
223 <tr> 223 <tr>
224 <td><a href="#ClassModel.__init__">ClassModel</a></td> 224 <td><a href="#ClassModel.__init__">ClassModel</a></td>
225 <td>Constructor</td> 225 <td>Constructor</td>
226 </tr><tr> 226 </tr><tr>
227 <td><a href="#ClassModel.addAttribute">addAttribute</a></td> 227 <td><a href="#ClassModel.addAttribute">addAttribute</a></td>
228 <td>Method to add an attribute to the class model.</td> 228 <td>Public method to add an attribute to the class model.</td>
229 </tr><tr> 229 </tr><tr>
230 <td><a href="#ClassModel.addMethod">addMethod</a></td> 230 <td><a href="#ClassModel.addMethod">addMethod</a></td>
231 <td>Method to add a method to the class model.</td> 231 <td>Public method to add a method to the class model.</td>
232 </tr><tr> 232 </tr><tr>
233 <td><a href="#ClassModel.getAttributes">getAttributes</a></td> 233 <td><a href="#ClassModel.getAttributes">getAttributes</a></td>
234 <td>Method to retrieve the attributes of the class.</td> 234 <td>Public method to retrieve the attributes of the class.</td>
235 </tr><tr> 235 </tr><tr>
236 <td><a href="#ClassModel.getMethods">getMethods</a></td> 236 <td><a href="#ClassModel.getMethods">getMethods</a></td>
237 <td>Method to retrieve the methods of the class.</td> 237 <td>Public method to retrieve the methods of the class.</td>
238 </tr> 238 </tr>
239 </table> 239 </table>
240 <h3>Static Methods</h3> 240 <h3>Static Methods</h3>
241 <table> 241 <table>
242 <tr><td>None</td></tr> 242 <tr><td>None</td></tr>
261 </dd> 261 </dd>
262 </dl><a NAME="ClassModel.addAttribute" ID="ClassModel.addAttribute"></a> 262 </dl><a NAME="ClassModel.addAttribute" ID="ClassModel.addAttribute"></a>
263 <h4>ClassModel.addAttribute</h4> 263 <h4>ClassModel.addAttribute</h4>
264 <b>addAttribute</b>(<i>attribute</i>) 264 <b>addAttribute</b>(<i>attribute</i>)
265 <p> 265 <p>
266 Method to add an attribute to the class model. 266 Public method to add an attribute to the class model.
267 </p><dl> 267 </p><dl>
268 <dt><i>attribute</i></dt> 268 <dt><i>attribute</i></dt>
269 <dd> 269 <dd>
270 attribute name to be added (string) 270 attribute name to be added (string)
271 </dd> 271 </dd>
272 </dl><a NAME="ClassModel.addMethod" ID="ClassModel.addMethod"></a> 272 </dl><a NAME="ClassModel.addMethod" ID="ClassModel.addMethod"></a>
273 <h4>ClassModel.addMethod</h4> 273 <h4>ClassModel.addMethod</h4>
274 <b>addMethod</b>(<i>method</i>) 274 <b>addMethod</b>(<i>method</i>)
275 <p> 275 <p>
276 Method to add a method to the class model. 276 Public method to add a method to the class model.
277 </p><dl> 277 </p><dl>
278 <dt><i>method</i></dt> 278 <dt><i>method</i></dt>
279 <dd> 279 <dd>
280 method name to be added (string) 280 method name to be added (string)
281 </dd> 281 </dd>
282 </dl><a NAME="ClassModel.getAttributes" ID="ClassModel.getAttributes"></a> 282 </dl><a NAME="ClassModel.getAttributes" ID="ClassModel.getAttributes"></a>
283 <h4>ClassModel.getAttributes</h4> 283 <h4>ClassModel.getAttributes</h4>
284 <b>getAttributes</b>(<i></i>) 284 <b>getAttributes</b>(<i></i>)
285 <p> 285 <p>
286 Method to retrieve the attributes of the class. 286 Public method to retrieve the attributes of the class.
287 </p><dl> 287 </p><dl>
288 <dt>Returns:</dt> 288 <dt>Returns:</dt>
289 <dd> 289 <dd>
290 list of class attributes (list of strings) 290 list of class attributes (list of strings)
291 </dd> 291 </dd>
292 </dl><a NAME="ClassModel.getMethods" ID="ClassModel.getMethods"></a> 292 </dl><a NAME="ClassModel.getMethods" ID="ClassModel.getMethods"></a>
293 <h4>ClassModel.getMethods</h4> 293 <h4>ClassModel.getMethods</h4>
294 <b>getMethods</b>(<i></i>) 294 <b>getMethods</b>(<i></i>)
295 <p> 295 <p>
296 Method to retrieve the methods of the class. 296 Public method to retrieve the methods of the class.
297 </p><dl> 297 </p><dl>
298 <dt>Returns:</dt> 298 <dt>Returns:</dt>
299 <dd> 299 <dd>
300 list of class methods (list of strings) 300 list of class methods (list of strings)
301 </dd> 301 </dd>

eric ide

mercurial