Ejemplo n.º 1
0
 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')
Ejemplo n.º 2
0
 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')
Ejemplo n.º 3
0
 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')
Ejemplo n.º 4
0
 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
Ejemplo n.º 5
0
 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()
Ejemplo n.º 6
0
 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()
Ejemplo n.º 7
0
 def __init__(self):
     self.setElement(DOM.createElement('ul'))
     DropWidget.__init__(self)
     AddablePanel.__init__(self)
Ejemplo n.º 8
0
 def __init__(self):
     Label.__init__(self, Element=DOM.createElement('div'))
     DropWidget.__init__(self)
     self.setText("Drop here!")
     self.setStyleName('drophere')
Ejemplo n.º 9
0
 def __init__(self):
     self.setElement(DOM.createElement('ul'))
     DropWidget.__init__(self)
     AddablePanel.__init__(self)
Ejemplo n.º 10
0
 def __init__(self):
     Label.__init__(self, Element=DOM.createElement('div'))
     DropWidget.__init__(self)
     self.setText("Drop here!")
     self.setStyleName('drophere')
Ejemplo n.º 11
0
 def __init__(self):
     VerticalPanel.__init__(self, StyleName='drophere')
     DropWidget.__init__(self)
     DragContainer.__init__(self)