def __init__(self, name, index, percent= None, newColor= "blue"):
     Element.__init__(self,name, index)
     self.percentage = percent
     self.elementType = 'percentBar'
     self.color = newColor
Esempio n. 2
0
 def __init__(self, name, index):
     Element.__init__(self, name,index)
     self.elements=[]
     self.elementType='container'
Esempio n. 3
0
 def __init__(self, name, index, value=None):
     Element.__init__(self, name, index)
     self.value = value
     self.elementType = "value"
Esempio n. 4
0
 def __init__(self, name, index, text = None, newColor="white"):
     Element.__init__(self, name, index)
     self.text = text
     self.elementType = 'label'
     self.color = newColor