Examples of addListener()


Examples of de.sciss.common.ProcessingThread.addListener()

        wasClosed.set( false );
        return null;
      }
      final ProcessingThread pt = confirmUnsaved( name, wasClosed );
      if( pt != null ) {
        pt.addListener( new ProcessingThread.Listener() {
          public void processStarted( ProcessingThread.Event e ) { /* ignored */ }
          public void processStopped( ProcessingThread.Event e )
          {
            if( e.isDone() ) {
              documentClosed();
View Full Code Here

Examples of de.willuhn.jameica.gui.input.CheckboxInput.addListener()

        {
          // Nur bei aktiven Dauerauftraegen anzeigen
          if (da.isActive()) {
            final LabelInput warn = new LabelInput("");
            warn.setColor(Color.COMMENT);
            check.addListener(new Listener() {
              public void handleEvent(Event event)
              {
                // Warnhinweis anzeigen, dass der Auftrag nur lokal geloescht wird
                Boolean b = (Boolean) check.getValue();
                if (b.booleanValue())
View Full Code Here

Examples of de.willuhn.jameica.gui.input.FileInput.addListener()

          fd.setFilterPath(path);
      }
    };
    input.setName(i18n.tr("SEPA XML-Datei"));
    input.setMandatory(true);
    input.addListener(new Listener() {
      public void handleEvent(Event event)
      {
        if (ok != null)
        {
          String s = (String) input.getValue();
View Full Code Here

Examples of de.willuhn.jameica.gui.input.Input.addListener()

    // Machen wir nur beim ersten mal
    if (!input.isEnabled())
    {
      input.setEnabled(true);
      input.addListener(new EmpfaengerListener());
    }
    return input;
  }
 
  /**
 
View Full Code Here

Examples of de.willuhn.jameica.gui.input.SelectInput.addListener()

  {
    List<PainVersion> list = PainVersion.getKnownVersions(type);
    final SelectInput select = new SelectInput(list,PainVersion.findGreatest(list));
    select.setAttribute("file");
    select.setName(i18n.tr("Schema-Version der SEPA-Datei"));
    select.addListener(new Listener() {
      public void handleEvent(Event event)
      {
        if (ok != null)
          ok.setEnabled(select.getValue() != null);
      }
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.input.KontoInput.addListener()

    else
      GUI.getView().setTitle(i18n.tr("Konto-Details: Neues Konto"));

    final KontoInput quickSelect = new KontoInput(k,KontoFilter.ALL);
    quickSelect.setName(i18n.tr("Konto wechseln"));
    quickSelect.addListener(new Listener() {
      public void handleEvent(Event event)
      {
        try
        {
          Konto choice = (Konto) quickSelect.getValue();
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.input.UmsatzDaysInput.addListener()

      }
      einnahmen.addData(eData);
      ausgaben.addData(aData);

      final UmsatzDaysInput i = new UmsatzDaysInput();
      i.addListener(new DelayedListener(300, new Listener()
      {
        private ChartData myEData = null;
        private ChartData myAData = null;
        public void handleEvent(Event event)
        {
View Full Code Here

Examples of dijjer.io.xfer.PartiallyReceivedBlock.addListener()

  }
 
  public void testAll() {
    PartiallyReceivedBlock prb = new PartiallyReceivedBlock(2, 2);
    prb.addPacket(0, new Buffer(makePacket(1)));
    LinkedList pr = prb.addListener(new PartiallyReceivedBlock.PacketReceivedListener() {
      public void packetReceived(int packetNo) {
        System.out.println("Received packet "+packetNo);
      }
     
     
View Full Code Here

Examples of edu.hawaii.ics.csdl.jupiter.model.reviewissue.ReviewIssueModel.addListener()

      catch (NullPointerException e) {
        log.warning("Could not register either review selection listener or part listener.");
      }
    }
    ReviewIssueModel model = ReviewIssueModelManager.getInstance().getCurrentModel();
    model.addListener(new ReviewIssueModelListenerAdapter());
    model.addListener(UndoReviewIssueManager.getInstance());
  }

  /**
   * Creates a image descriptor form the given path. The path should be the relative path from a
View Full Code Here

Examples of edu.umd.cs.findbugs.cloud.Cloud.addListener()

            comments.updateBugCollection();
            displayer.clearCache();
            if (bugCollection != null) {
                Cloud plugin = bugCollection.getCloud();
                plugin.addListener(userAnnotationListener);
                plugin.addStatusListener(cloudStatusListener);
            }
            mainFrameTree.updateBugTree();
            setProjectChanged(false);
            Runnable runnable = new Runnable() {
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.