Graphics/UMLItem.py

changeset 3591
2f2a4a76dd22
parent 3178
f25fc1364c88
child 3621
15f23ed3f216
--- a/Graphics/UMLItem.py	Sat May 17 19:58:49 2014 +0200
+++ b/Graphics/UMLItem.py	Sun May 18 14:13:09 2014 +0200
@@ -29,7 +29,7 @@
     
     def getName(self):
         """
-        Method to retrieve the model name.
+        Public method to retrieve the model name.
         
         @return model name (string)
         """
@@ -78,7 +78,7 @@
     
     def getName(self):
         """
-        Method to retrieve the item name.
+        Public method to retrieve the item name.
         
         @return item name (string)
         """
@@ -100,7 +100,7 @@
     
     def addAssociation(self, assoc):
         """
-        Method to add an association to this widget.
+        Public method to add an association to this widget.
         
         @param assoc association to be added (AssociationWidget)
         """
@@ -109,7 +109,7 @@
     
     def removeAssociation(self, assoc):
         """
-        Method to remove an association to this widget.
+        Public method to remove an association to this widget.
         
         @param assoc association to be removed (AssociationWidget)
         """
@@ -118,7 +118,7 @@
     
     def removeAssociations(self):
         """
-        Method to remove all associations of this widget.
+        Public method to remove all associations of this widget.
         """
         for assoc in self.associations[:]:
             assoc.unassociate()
@@ -127,7 +127,7 @@
     
     def adjustAssociations(self):
         """
-        Method to adjust the associations to widget movements.
+        Public method to adjust the associations to widget movements.
         """
         if self.shouldAdjustAssociations:
             for assoc in self.associations:
@@ -136,7 +136,7 @@
     
     def moveBy(self, dx, dy):
         """
-        Overriden method to move the widget relative.
+        Public overriden method to move the widget relative.
         
         @param dx relative movement in x-direction (float)
         @param dy relative movement in y-direction (float)
@@ -146,7 +146,7 @@
     
     def setPos(self, x, y):
         """
-        Overriden method to set the items position.
+        Public overriden method to set the items position.
         
         @param x absolute x-position (float)
         @param y absolute y-position (float)
@@ -156,7 +156,7 @@
     
     def itemChange(self, change, value):
         """
-        Protected method called when an items state changes.
+        Public method called when an items state changes.
         
         @param change the item's change (QGraphicsItem.GraphicsItemChange)
         @param value the value of the change

eric ide

mercurial