#NEWLINE# def _seperate( self , value ) : #NEWLINE# #INDENT# splited = value . split ( ' ' ) #NEWLINE# top = right = bottom = left = '' #NEWLINE# length = len ( value ) #NEWLINE# if ( length == 1 ) : #NEWLINE# #INDENT# top = right = bottom = left = value #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( length == 2 ) : #NEWLINE# #INDENT# top = bottom = splited [ 0 ] . strip ( ) #NEWLINE# left = right = splited [ 1 ] . strip ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( length == 3 ) : #NEWLINE# #INDENT# top = splited [ 0 ] . strip ( ) #NEWLINE# left = right = splited [ 1 ] . strip ( ) #NEWLINE# bottom = splited [ 2 ] . strip ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( length >= 4 ) : #NEWLINE# #INDENT# top = splited [ 0 ] . strip ( ) #NEWLINE# right = splited [ 1 ] . strip ( ) #NEWLINE# bottom = splited [ 2 ] . strip ( ) #NEWLINE# left = splited [ 3 ] . strip ( ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# name = self . name #NEWLINE# self . collector [ ( self . name + '-top' ) ] = top #NEWLINE# self . collector [ ( self . name + '-right' ) ] = right #NEWLINE# self . collector [ ( self . name + '-bottom' ) ] = bottom #NEWLINE# self . collector [ ( self . name + '-left' ) ] = left