class UIObject: def getElement(self): return self.element def setElement(self, element): self.element = element