Module implementing an UML like class item.
None |
ClassItem | Class implementing an UML like class item. |
ClassModel | Class implementing the class model. |
None |
Class implementing an UML like class item.
ItemType |
None |
ClassItem | Constructor |
__calculateSize | Private method to calculate the size of the class item. |
__createTexts | Private method to create the text items of the class item. |
buildItemDataString | Public method to build a string to persist the specific item data. |
isExternal | Public method returning the external state. |
paint | Public method to paint the item in local coordinates. |
parseItemDataString | Public method to parse the given persistence data. |
setModel | Public method to set the class model. |
None |
Constructor
Private method to calculate the size of the class item.
Private method to create the text items of the class item.
Public method to build a string to persist the specific item data.
This string must start with ", " and should be built like "attribute=value" with pairs separated by ", ". value must not contain ", " or newlines.
Public method returning the external state.
Public method to paint the item in local coordinates.
Public method to parse the given persistence data.
Public method to set the class model.
Class implementing the class model.
None |
None |
ClassModel | Constructor |
addAttribute | Public method to add an attribute to the class model. |
addMethod | Public method to add a method to the class model. |
getAttributes | Public method to retrieve the attributes of the class. |
getMethods | Public method to retrieve the methods of the class. |
None |
Constructor
Public method to add an attribute to the class model.
Public method to add a method to the class model.
Public method to retrieve the attributes of the class.
Public method to retrieve the methods of the class.