Examples of LoginListener


Examples of com.anzsoft.client.JabberApp.LoginListener

    if(JabberApp.instance().connected())
      ChatWindow.openChat(XmppID.parseId(jid));
    else
    {
      String randomId = createRandomUserName();
      JabberApp.instance().run(randomId,randomId,true,new LoginListener()
      {
      public void onLogined()
      {
        ChatWindow.openChat(XmppID.parseId(jid));
      }
View Full Code Here

Examples of com.anzsoft.client.JabberApp.LoginListener

  {
    if(JabberApp.instance().connected())
      ChatWindow.openChat(XmppID.parseId(target));
    else
    {
      JabberApp.instance().run(userName,password,true,new LoginListener()
      {
      public void onLogined()
      {
        ChatWindow.openChat(XmppID.parseId(target));
      }
View Full Code Here

Examples of com.din.din.webapp.listeners.LoginPhaseListener.LoginListener

 
  private void triggerLoginEvent(boolean loggedIn) {
    Iterator<SoftReference<LoginListener>> iterator = listeners.iterator();
    while(iterator.hasNext()) {
      SoftReference<LoginListener> listenerRef = iterator.next();
      LoginListener listener = listenerRef.get();
      if(listener != null) {
        if(loggedIn) {
          listener.onLogin();
        } else {
          listener.onLogoff();
        }
      } else {
        iterator.remove();
      }
    }
View Full Code Here

Examples of com.vaadin.ui.LoginForm.LoginListener

            super();

            LoginForm loginForm = new LoginForm();
            loginForm.setSizeUndefined();

            loginForm.addListener(new LoginListener() {

                private static final long serialVersionUID = 1L;

                @Override
                public void onLogin(LoginEvent event) {
View Full Code Here

Examples of com.vaadin.ui.LoginForm.LoginListener

        loginForm = new LoginForm();
        loginForm.setSizeUndefined();

        updateCaption();
        loginForm.addListener(new LoginListener() {

            /**
             *
             */
            private static final long serialVersionUID = 1L;
View Full Code Here

Examples of com.vaadin.ui.LoginForm.LoginListener

public class LoginFormUIInLoginHandler extends TestBase {

    @Override
    protected void setup() {
        LoginForm lf = new LoginForm();
        lf.addListener(new LoginListener() {

            @Override
            public void onLogin(LoginEvent event) {
                UI r1 = UI.getCurrent();
                if (r1 != null) {
View Full Code Here

Examples of com.vaadin.ui.LoginForm.LoginListener

    Panel loginPanel = new Panel("Login");
    loginPanel.setSizeUndefined();
    loginPanel.setStyleName("mystyle");
    LoginForm loginForm = new LoginForm();
    loginForm.addListener(new LoginListener() {

      @Override
      public void onLogin(LoginEvent event) {
        String username = event.getLoginParameter("username");
        String password = event.getLoginParameter("password");
View Full Code Here

Examples of com.vaadin.ui.LoginForm.LoginListener


    // **********************************TEST
    // AREA********************************//

    login.addListener(new LoginListener() {

      /**
       *
       */
      private static final long serialVersionUID = -3936368817482256821L;
View Full Code Here

Examples of games.stendhal.server.core.events.LoginListener

        "Mithril Cloak",
        "A shiny and high defence cloak is available for those willing to complete a long list of tasks for the seamstress Ida.",
        false);
   
    // login notifier to teleport away players logging into the twilight zone.
    SingletonRepository.getLoginNotifier().addListener(new LoginListener() {
      public void onLoggedIn(final Player player) {
        TwilightMossScroll scroll = (TwilightMossScroll) SingletonRepository.getEntityManager().getItem("twilight moss");
        scroll.teleportBack(player);
      }
View Full Code Here

Examples of games.stendhal.server.core.events.LoginListener

   *
   * @param  zone    The zone to be configured.
   * @param  attributes  Configuration attributes.
   */
  public void configureZone(StendhalRPZone zone, Map<String, String> attributes) {
    SingletonRepository.getLoginNotifier().addListener(new LoginListener() {
      public void onLoggedIn(final Player player) {
        BalloonScroll scroll = (BalloonScroll) SingletonRepository.getEntityManager().getItem(BALLOON);
        scroll.teleportBack(player);
      }

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.