def __init__(self, ref=None, **kwargs):
        """ Sends the event to create this View in Java """
        super(Atom, self).__init__(**kwargs)

        #:
        ref = ref or self

        #: Send the event over the bridge to construct the view
        __id__ = kwargs.get('__id__', None)
        bridge.CACHE[self.__id__] = self
        if __id__ is None:
            self.__app__.send_event(
                Command.PROXY,  #: method
                self.__id__,  #: id to assign in bridge cache
                self.__nativeclass__,
                ref.__id__, #: Reference ID
            )
def __init__ ( self , ref = None , ** kwargs ) : super ( Atom , self ) . __init__ ( ** kwargs ) ref = ref or self __id__ = kwargs . get ( '__id__' , None ) bridge . CACHE [ self . __id__ ] = self if __id__ is None : self . __app__ . send_event ( Command . PROXY , self . __id__ , self . __nativeclass__ , ref . __id__ , )
Sends the event to create this View in Java