Package org.richfaces.component

Examples of org.richfaces.component.Dropzone


    if(clientId.equals(paramMap.get(DROP_TARGET_ID))){
      String dragSourceId = (String) paramMap.get(DraggableRendererContributor.DRAG_SOURCE_ID);

      if (dragSourceId != null && dragSourceId.length() != 0) {
        Dropzone dropzone = (Dropzone) component;
        Object acceptedTypes = dropzone.getAcceptedTypes();
        Object dropValue = dropzone.getDropValue();

        DraggableDecoderContextCallback draggableDecoderContextCallback =
          new DraggableDecoderContextCallback(dropzone,
              acceptedTypes, dropValue);
       
View Full Code Here


    } else {
      //check queued mail lists for current component
      final EventInfoStructure eventInfo = (EventInfoStructure) queuedMap.get(targetId);
      if (eventInfo != null) {
        Draggable draggable;
        Dropzone dropzone;
       
        final EventInfoStructure dragEventInfo = isDraggable ? eventInfo : new EventInfoStructure(dndEvent, callback, type, value);
        final EventInfoStructure dropEventInfo = isDraggable ? new EventInfoStructure(dndEvent, callback, type, value) : eventInfo;
       
        Object acceptedTypes;
View Full Code Here

     
      if (compositeRenderer != null) {
        compositeRenderer.contributorDecodeCallback(component, context, this, dragSourceId);
      }
     
      Dropzone dropzone = (Dropzone) component;
     
      eventsExchanger.mailEvent(dragSourceId, component,
          context, new DropEvent(component), dropEventsCallback,
          dropzone.getAcceptedTypes(),
          dropzone.getDropValue(), false
      );
    }
  }
View Full Code Here

 
  public class EventBean implements DropListener {
    private org.richfaces.demo.dnd.DndBean dndBean;

    public void processDrop(DropEvent dropEvent) {
      Dropzone dropzone = (Dropzone) dropEvent.getComponent();
      dndBean.moveFramework(dropEvent.getDragValue(), dropzone.getDropValue());
    }
View Full Code Here

    if(clientId.equals(paramMap.get(DROP_TARGET_ID))){
      String dragSourceId = (String) paramMap.get(DraggableRendererContributor.DRAG_SOURCE_ID);

      if (dragSourceId != null && dragSourceId.length() != 0) {
        Dropzone dropzone = (Dropzone) component;
        Object acceptedTypes = dropzone.getAcceptedTypes();
        Object dropValue = dropzone.getDropValue();

        DraggableDecoderContextCallback draggableDecoderContextCallback =
          new DraggableDecoderContextCallback(dropzone,
              acceptedTypes, dropValue);
       
View Full Code Here

     
      if (compositeRenderer != null) {
        compositeRenderer.contributorDecodeCallback(component, context, this, dragSourceId);
      }
     
      Dropzone dropzone = (Dropzone) component;
     
      eventsExchanger.mailEvent(dragSourceId, component,
          context, new DropEvent(component), dropEventsCallback,
          dropzone.getAcceptedTypes(),
          dropzone.getDropValue(), false
      );
    }
  }
View Full Code Here

        Iterator iterator = queue.iterator();
        if (iterator.hasNext()) {
          EventInfoStructure eventInfo = (EventInfoStructure) iterator.next();
         
          Draggable draggable;
          Dropzone dropzone;
         
          Object acceptedTypes;
          Object dragType;

          if (isDraggable) {
View Full Code Here

     
      if (compositeRenderer != null) {
        compositeRenderer.contributorDecodeCallback(component, context, this, dragSourceId);
      }
     
      Dropzone dropzone = (Dropzone) component;
     
      eventsExchanger.mailEvent(dragSourceId, component,
          context, new DropEvent(component), dropEventsCallback,
          dropzone.getAcceptedTypes(),
          dropzone.getDropValue(), false
      );
    }
  }
View Full Code Here

        Iterator iterator = queue.iterator();
        if (iterator.hasNext()) {
          EventInfoStructure eventInfo = (EventInfoStructure) iterator.next();
         
          Draggable draggable;
          Dropzone dropzone;
         
          Object acceptedTypes;
          Object dragType;

          if (isDraggable) {
View Full Code Here

TOP

Related Classes of org.richfaces.component.Dropzone

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.