Package com.sun.star.lang

Examples of com.sun.star.lang.EventObject


     (XVetoableChangeListener) receive a disposing call. Also those listeners are relesased.
     */
    protected void postDisposing()
    {
        // Create an event with this as sender
      EventObject aEvt= new EventObject(this);
       
        // inform all listeners to reelease this object
      aBoundLC.disposeAndClear(aEvt);
        aVetoableLC.disposeAndClear(aEvt);
    }  
View Full Code Here


        if (bDoDispose)
        {
            try
            {
                preDisposing();
                listenerContainer.disposeAndClear(new EventObject(this));
                //notify subclasses that disposing is in progress
                postDisposing();
            }
            finally
            {
View Full Code Here

            else
               listenerContainer.addInterface(EVT_LISTENER_TYPE, listener);
        }
        if (bDoDispose )
        {
            listener.disposing( new EventObject(this));
        }
    } 
View Full Code Here

        _messageDispatcher.start();
        _iProtocol.init();
    }

  private void notifyListeners() {
    EventObject eventObject = new EventObject(this);

    Enumeration elements = _listeners.elements();
    while(elements.hasMoreElements()) {
      XEventListener xEventListener = (XEventListener)elements.nextElement();
View Full Code Here

    {
        if (DEBUG)
            System.err.print( "> disposing context " + this );
       
        // fire events
        EventObject evt = new EventObject( this );
        Enumeration eventListener = m_eventListener.elements();
        while (eventListener.hasMoreElements())
        {
            XEventListener listener = (XEventListener)eventListener.nextElement();
            listener.disposing( evt );
View Full Code Here

    _iThreadPool = ThreadPoolFactory.createThreadPool();
  }


  private void notifyListeners() {
    EventObject eventObject = new EventObject(this);

    Enumeration elements = _listeners.elements();
    while(elements.hasMoreElements()) {
      XEventListener xEventListener = (XEventListener)elements.nextElement();
View Full Code Here

      }
    }
  }

  private void notifyStableListeners() {
    EventObject eventObject = new EventObject(this);

    Enumeration elements = _stableListeners.elements();
    while(elements.hasMoreElements()) {
      IStableListener iStableListener = (IStableListener)elements.nextElement();
View Full Code Here

        if (bDoDispose)
        {
            try
            {
                preDisposing();
                listenerContainer.disposeAndClear(new EventObject(this));
                //notify subclasses that disposing is in progress
                postDisposing();
            }
            finally
            {
View Full Code Here

            else
               listenerContainer.addInterface(EVT_LISTENER_TYPE, listener);
        }
        if (bDoDispose )
        {
            listener.disposing( new EventObject(this));
        }
    } 
View Full Code Here

        _messageDispatcher.start();
        _iProtocol.init();
    }

  private void notifyListeners() {
    EventObject eventObject = new EventObject(this);

    Enumeration elements = _listeners.elements();
    while(elements.hasMoreElements()) {
      XEventListener xEventListener = (XEventListener)elements.nextElement();
View Full Code Here

TOP

Related Classes of com.sun.star.lang.EventObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.