Package com.sun.star.document

Examples of com.sun.star.document.XEventBroadcaster


   * @param xEventListener event listener to be added
   *
   * @author Andreas Br�ker
   */
  private void addEventListener(XEventListener xEventListener) {
    XEventBroadcaster xEventBroadcaster = (XEventBroadcaster) UnoRuntime.queryInterface(XEventBroadcaster.class,
        xComponent);
    if (xEventBroadcaster != null) {
      xEventBroadcaster.addEventListener(xEventListener);
    }
  }
View Full Code Here


   * @param xEventListener document event listener to be removed
   *
   * @author Andreas Br�ker
   */
  private void removeEventListener(XEventListener xEventListener) {
    XEventBroadcaster xEventBroadcaster = (XEventBroadcaster) UnoRuntime.queryInterface(XEventBroadcaster.class,
        xComponent);
    if (xEventBroadcaster != null) {
      xEventBroadcaster.removeEventListener(xEventListener);
    }
  }
View Full Code Here

   *            event listener to be added
   *
   * @author Andreas Br�ker
   */
  private void addEventListener(XEventListener xEventListener) {
    XEventBroadcaster xEventBroadcaster = (XEventBroadcaster) UnoRuntime
        .queryInterface(XEventBroadcaster.class, xComponent);
    if (xEventBroadcaster != null) {
      xEventBroadcaster.addEventListener(xEventListener);
    }
  }
View Full Code Here

   *            document event listener to be removed
   *
   * @author Andreas Br�ker
   */
  private void removeEventListener(XEventListener xEventListener) {
    XEventBroadcaster xEventBroadcaster = (XEventBroadcaster) UnoRuntime
        .queryInterface(XEventBroadcaster.class, xComponent);
    if (xEventBroadcaster != null) {
      xEventBroadcaster.removeEventListener(xEventListener);
    }
  }
View Full Code Here

TOP

Related Classes of com.sun.star.document.XEventBroadcaster

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.