Examples of Draggable

DragCancel : DragEvent(draggable, component, event)
Fires after a drag has been cancelled.
DragEnd : DragEvent(draggable, component, event)
Fires after a drag has ended.
  • com.sencha.gxt.fx.client.Draggable
    Adds drag behavior to any widget. Drag operations can be initiated from the widget itself, or another widget, such as the header in a dialog.

    It is possible to specify event targets that will be ignored. If the target element has the {@link Styles#nodrag()} style (as returned by{@link CommonStyles#get()}) it will not trigger a drag operation.

  • net.mygwt.ui.client.fx.Draggable
    Adds drag behavior to any widget. Drag operations can be initiated from the widget itself, or another widget, such as the header in a dialog.

    It is possible to specify event targets that will be ignored. If the target element has a 'my-nodrag' style it will not trigger a drag operation.

    Events:
    DragStart : (source this, widget this, event)
    Fires after a drag has started.
    • source : this
    • widget : this
    • event : the dom event
    DragEnd : (source this, widget this, event)
    Fires after a drag has ended.
    • source : this
    • widget : this
    • event : the dom event
  • org.olat.core.gui.control.dragdrop.Draggable
    Description:
    TODO: Felix Jost Class Description for Dragabble

    Initial Date: 07.04.2006
    @author Felix Jost

  • org.richfaces.component.Draggable
    Interface for all draggable components. Describe bean properties, implemented by component. @author shura
  • org.springmodules.xt.ajax.action.prototype.scriptaculous.Draggable
    script.aculo.us/scriptaculous/show/Draggable).
    This action uses the Prototype Javascript library and the Scriptaculous Drag and Drop Javascript library, so you need to include them in your web pages. @author Sergio Bossa

  • Examples of org.richfaces.component.Draggable

          };
      }
     
      public ScriptOptions buildOptions(FacesContext context, UIComponent component) {
        if (component instanceof Draggable) {
          Draggable draggable = (Draggable) component;
         
          DraggableOptions options =  new DraggableOptions(draggable);

          Map eventOptions = AjaxRendererUtils.buildEventOptions(context, component);
          Map parameters = (Map) eventOptions.get("parameters");

          if (parameters == null) {
            parameters = new HashMap();
          }
         
          String clientId = component.getClientId(context);
         
          parameters.put(DRAG_SOURCE_ID, clientId);
         
          options.addOption("parameters", parameters);
         
          String indicatorId = draggable.getResolvedDragIndicator(context);
          if (indicatorId == null) {
            String simpleId = draggable.getDragIndicator();
            if (simpleId != null) {
              UIComponent indicator = RendererUtils.getInstance().findComponentFor(component, simpleId);
              if (indicator != null) {
                indicatorId = indicator.getClientId(context);
              }
    View Full Code Here

    Examples of org.springmodules.xt.ajax.action.prototype.scriptaculous.Draggable

            return response;
        }
       
        public AjaxResponse enableDnD(AjaxActionEvent event) {
            // Make the draggable:
            Draggable action1 = new Draggable("draggable");
            action1.addOption("revert", true);
            // Add the droppable:
            AddDroppable action2 = new AddDroppable("droppable");
            action2.addOption("onDrop", "function(draggable, droppable) { showAlertOnDrop(draggable, droppable); }");
           
            // Create a concrete ajax response:
    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.