def __init__(self): AddablePanel.__init__(self, Element=DOM.createElement('div')) DropWidget.__init__(self) DragContainer.__init__(self) self.setStyleName('drophere2') self.setStyleAttribute('position', 'relative') self.setSize('300px', '300px')
def __init__(self): Element.__init__(self, Element=DOM.createDiv(), StyleName='drophere2', Width="100%", Height="100%") DropWidget.__init__(self) DragContainer.__init__(self) self.setID('hardwares_pad')
def __init__(self, popupEditorBlock=False): Element.__init__(self, Element=DOM.createDiv(), StyleName='drophere2', Width="100%", Height="100%") DropWidget.__init__(self) DragContainer.__init__(self) self.setID('blocks_pad') self.popupEditorBlock = popupEditorBlock # dado um determinado pad, saber qual � seu popup
def __init__(self, min_age, max_age, id): self.min_age = min_age self.max_age = max_age VerticalPanel.__init__(self) DropWidget.__init__(self) DragContainer.__init__(self) self.setID(id) self.setWidth(200) self.setHeight(300) self.setVerticalAlignment(HasVerticalAlignment.ALIGN_TOP) self.setStyleName('drophere2') self.addTitle()
def __init__(self): self.setElement(DOM.createElement('ul')) DropWidget.__init__(self) AddablePanel.__init__(self)
def __init__(self): Label.__init__(self, Element=DOM.createElement('div')) DropWidget.__init__(self) self.setText("Drop here!") self.setStyleName('drophere')
def __init__(self): VerticalPanel.__init__(self, StyleName='drophere') DropWidget.__init__(self) DragContainer.__init__(self)