#NEWLINE# def onModuleLoad( self ) : #NEWLINE# #INDENT# self . tabs = TabPanel ( ) #NEWLINE# tab_overview = TabContainer ( ) #NEWLINE# self . tabs . add ( tab_overview , 'Overview' ) #NEWLINE# self . tab_events = TabRaphaelContainer ( ) #NEWLINE# self . tab_events . set_headline ( 'Events Example' ) #NEWLINE# self . tab_events . set_raphael ( events . Events ( width = 600 , height = 300 ) ) #NEWLINE# self . tab_events . set_status ( 'Execute events on Raphael Elemnts' ) #NEWLINE# self . tabs . add ( self . tab_events , 'Events' ) #NEWLINE# self . tab_graffle = TabRaphaelContainer ( ) #NEWLINE# self . tab_graffle . set_headline ( 'This is a simple example of the Raphael Graffle' ) #NEWLINE# self . tab_graffle . set_raphael ( graffle . Graffle ( width = 600 , height = 300 ) ) #NEWLINE# self . tabs . add ( self . tab_graffle , 'Graffle' ) #NEWLINE# self . tab_spinner = TabRaphaelContainer ( ) #NEWLINE# self . tab_spinner . set_headline ( 'This Raphael Spinner Example' ) #NEWLINE# self . tab_spinner . set_raphael ( spinner . Spinner ( width = 600 , height = 300 ) ) #NEWLINE# self . tabs . add ( self . tab_spinner , 'Spinner' ) #NEWLINE# self . tabs . selectTab ( 0 ) #NEWLINE# self . tabs . setWidth ( '100%' ) #NEWLINE# self . tabs . setHeight ( '100%' ) #NEWLINE# RootPanel ( ) . add ( self . tabs )