Package net.sphene.libs

Examples of net.sphene.libs.SpheneEvent


    if(gameExtension != null) return gameExtension;
    return gameExtension = GameExtensionPoint.getGameExtension(gameid);
  }

  public void fireChangeEvent() {
    fireEvent(new SpheneEvent(this));
  }
View Full Code Here


    for(GameServer server : serverList) {
      server.addChangeListener(serverListener);
    }
   
    this.serverList = new GameServerListWrapper(serverList);
    gameServerListenerList.fireEvent(new SpheneEvent(this));
    return this.serverList;
  }
View Full Code Here

   *
   * @param jid
   * @param message
   */
  private void addMessageToHistory(final String jid, final Message message, boolean alreadyHandled) {
    SpheneEvent spheneEvent = new SpheneEvent(jid);
    spheneEvent.setParam(EVENT_PARAM_ALREADYHANDLED,alreadyHandled);
    changeListener.fireEvent(spheneEvent);
    topComposite.getDisplay().asyncExec(new Runnable() {
      public void run() {
        String packetId = message.getPacketID();
        DelayInformation delay = (DelayInformation) message
View Full Code Here

    new Thread() {
      public void run() {
        startListening();
      }
    }.start();
    DXInGameMessenger.getDefault().fireIsHookedStateChangedEvent(new SpheneEvent(isHooked()));
  }
View Full Code Here

    }.start();
    DXInGameMessenger.getDefault().fireIsHookedStateChangedEvent(new SpheneEvent(isHooked()));
  }
  public void hook() {
    nativeHook();
    DXInGameMessenger.getDefault().fireIsHookedStateChangedEvent(new SpheneEvent(isHooked()));
  }
View Full Code Here

    nativeHook();
    DXInGameMessenger.getDefault().fireIsHookedStateChangedEvent(new SpheneEvent(isHooked()));
  }
  public void unHook() {
    nativeUnHook();
    DXInGameMessenger.getDefault().fireIsHookedStateChangedEvent(new SpheneEvent(isHooked()));
  }
View Full Code Here

  }
  public void init() {
    changeListenerList = new SpheneListenerList<SpheneEvent,SpheneListener<SpheneEvent>>();
  }
  public void fireChangeEvent() {
    changeListenerList.fireEvent(new SpheneEvent(this));
  }
View Full Code Here

TOP

Related Classes of net.sphene.libs.SpheneEvent

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.