Examples of ActionEvent


Examples of net.solosky.maplefetion.event.ActionEvent

    @Override
    public void handle(SipcResponse response) throws FetionException
    {
      try {
        //交给子类处理这个回复,并捕获所有异常
        ActionEvent event = this.doHandle(response);
        if(event!=null) {
          this.fireEvent(event);
        }
    } catch (FetionException e) {
      this.fireEvent(new SystemErrorEvent(e));
View Full Code Here

Examples of nextapp.echo2.app.event.ActionEvent

    protected void addAction(String actionCommand) {
        EventListener[] listeners = listenerList.getListeners(ActionListener.class);
        for (int i = 0; i < listeners.length; i++) {
            ActionListener actionListener = (ActionListener) listeners[i];
            try {
                actionListener.actionPerformed(new ActionEvent(JbsDialogWindow.this, actionCommand));
            } catch (Throwable t) {
                logger.error("Error adding action.",t);
            }
        }
    }
View Full Code Here

Examples of org.apache.ambari.server.state.action.ActionEvent

  }

  private void completeJob(Action job, boolean failJob, long endTime)
      throws Exception {
    ActionEvent e = null;
    ActionState endState = null;
    if (failJob) {
      e = new ActionFailedEvent(job.getId(), endTime);
      endState = ActionState.FAILED;
    } else {
View Full Code Here

Examples of org.apache.cocoon.woody.event.ActionEvent

                form.setSubmitWidget(this);
            }
        }
       
        if (form.getSubmitWidget() == this) {
            form.addWidgetEvent(new ActionEvent(this, definition.getActionCommand()));
           
            handleActivate();
        }
    }
View Full Code Here

Examples of org.gwt.mosaic.actions.client.ActionEvent

    History.addValueChangeHandler(new ValueChangeHandler<String>() {
      public void onValueChange(ValueChangeEvent<String> event) {
        final ActionMap actionMap = getContext().getActionMap();
        final Action action = actionMap.get(event.getValue());
        if (action != null) {
          action.actionPerformed(new ActionEvent(action,
              Application.getInstance()));
        }
      }
    });
  }
View Full Code Here

Examples of org.joshy.gfx.event.ActionEvent

                } else {
                    b.setSelected(false);
                }
            }
        }
        EventBus.getSystem().publish(new ActionEvent(ActionEvent.Action,this));
    }
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.