<s> """<STR_LIT>""" <EOL> from pyjamas . ui . AbsolutePanel import AbsolutePanel <EOL> from pyjamas . dnd import PickupDragController <EOL> from pyjamas . dnd . drop import AbsolutePositionDropController <EOL> """<STR_LIT>""" <EOL> class AbsolutePositionExample ( Example ) : <EOL> CSS_DEMO_ABSOLUTE_POSITION_EXAMPLE = "<STR_LIT>" <EOL> def __init__ ( self , dragController ) : <EOL> Example . __init__ ( self , dragController ) <EOL> self . addStyleName ( self . CSS_DEMO_ABSOLUTE_POSITION_EXAMPLE ) <EOL> positioningDropTarget = AbsolutePanel ( ) <EOL> positioningDropTarget . setPixelSize ( <NUM_LIT> , <NUM_LIT:200> ) <EOL> self . setWidget ( positioningDropTarget ) <EOL> self . absposdc = AbsolutePositionDropController ( positioningDropTarget ) <EOL> dragController . registerDropController ( self . absposdc ) <EOL> def getDescription ( self ) : <EOL> return "<STR_LIT>" <EOL> def getInvolvedClasses ( self ) : <EOL> return [ AbsolutePositionExample , AbsolutePositionDropController ] <EOL> def onInitialLoad ( self ) : <EOL> self . absposdc . drop ( self . createDraggable ( ) , <NUM_LIT:10> , <NUM_LIT:30> ) <EOL> self . absposdc . drop ( self . createDraggable ( ) , <NUM_LIT> , <NUM_LIT:8> ) <EOL> self . absposdc . drop ( self . createDraggable ( ) , <NUM_LIT> , <NUM_LIT> ) </s>
