Java 类com.vaadin.ui.Component.Event 实例源码

项目:SecureBPMN    文件:FormPropertiesEventListener.java   
public final void componentEvent(Event event) {
  if(event instanceof FormPropertiesEvent) {
    FormPropertiesEvent propertyEvent = (FormPropertiesEvent) event;
    if(FormPropertiesEvent.TYPE_SUBMIT.equals(propertyEvent.getType())) {
      handleFormSubmit(propertyEvent);
    } else {
      handleFormCancel(propertyEvent);
    }
  }
}
项目:SecureBPMN    文件:SubmitEventListener.java   
public final void componentEvent(Event event) {
  if(event instanceof SubmitEvent) {
    SubmitEvent gfe = (SubmitEvent) event;
    if(SubmitEvent.SUBMITTED.equals(gfe.getType())) {
       submitted(gfe);
    } else {
      cancelled(gfe);
    }
  }
}
项目:SecureBPMN    文件:ConfirmationEventListener.java   
public final void componentEvent(Event event) {
  if(event instanceof ConfirmationEvent) {
    ConfirmationEvent ce = (ConfirmationEvent) event;
    if(ce.isConfirmed()) {
      confirmed(ce);
    } else {
      rejected(ce);
    }
  }
}
项目:FiWare-Template-Handler    文件:FormPropertiesEventListener.java   
public final void componentEvent(Event event) {
  if(event instanceof FormPropertiesEvent) {
    FormPropertiesEvent propertyEvent = (FormPropertiesEvent) event;
    if(FormPropertiesEvent.TYPE_SUBMIT.equals(propertyEvent.getType())) {
      handleFormSubmit(propertyEvent);
    } else {
      handleFormCancel(propertyEvent);
    }
  }
}
项目:FiWare-Template-Handler    文件:SubmitEventListener.java   
public final void componentEvent(Event event) {
  if(event instanceof SubmitEvent) {
    SubmitEvent gfe = (SubmitEvent) event;
    if(SubmitEvent.SUBMITTED.equals(gfe.getType())) {
       submitted(gfe);
    } else {
      cancelled(gfe);
    }
  }
}
项目:FiWare-Template-Handler    文件:ConfirmationEventListener.java   
public final void componentEvent(Event event) {
  if(event instanceof ConfirmationEvent) {
    ConfirmationEvent ce = (ConfirmationEvent) event;
    if(ce.isConfirmed()) {
      confirmed(ce);
    } else {
      rejected(ce);
    }
  }
}
项目:Vaadin-Prime-Count    文件:AttemptStop.java   
@Override
protected void executeInternal(final Event event)
{
    // TODO Auto-generated method stub
}
项目:jain-I18n    文件:I18NChangeListener.java   
public void valueChange(ValueChangeEvent valueChangeEvent) {
    Event event = (Event) valueChangeEvent;
    Locale selected = ((Locale) valueChangeEvent.getProperty().getValue());
    selected = selected == null ? Locale.getDefault() : selected;
    event.getComponent().getUI().setLocale(selected);
}