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 com.extjs.gxt.ui.client.fx.Draggable

        resizeWidget.addListener(Events.Attach, listener);
        resizeWidget.addListener(Events.Detach, listener);
        resizeWidget.addListener(Events.Resize, listener);
        resizeWidget.addListener(Events.Move, listener);

        draggable = new Draggable(this);
        draggable.setUpdateZIndex(false);
        draggable.setStartDragDistance(0);
        draggable.setProxyStyle("x-splitbar-proxy");

        Listener<DragEvent> dragListener = new Listener<DragEvent>() {
    View Full Code Here

    Examples of com.extjs.gxt.ui.client.fx.Draggable

       *
       * @return the draggable instance
       */
      public Draggable getDraggable() {
        if (dragger == null && draggable) {
          dragger = new Draggable(this, head);
          dragger.setConstrainClient(getConstrain());
          dragger.setSizeProxyToSource(false);
          dragger.addDragListener(new DragListener() {
            @Override
            public void dragEnd(DragEvent de) {
    View Full Code Here

    Examples of com.extjs.gxt.ui.client.fx.Draggable

        ghost = ghost();
        if (eventPreview != null && ghost != null) {
          eventPreview.getIgnoreList().add(ghost.dom);
        }
        showWindow(false);
        Draggable d = de.getDraggable();
        d.setProxy(ghost);
      }
    View Full Code Here

    Examples of com.extjs.gxt.ui.client.fx.Draggable

      public void setPinned(boolean pinned) {
        this.pinned = pinned;
        String c = pinned ? "default" : "move";
        getHeader().setStyleAttribute("cursor", c);
        if (getData("gxt.draggable") != null) {
          Draggable d = (Draggable) getData("gxt.draggable");
          d.setEnabled(!pinned);
        }
      }
    View Full Code Here

    Examples of com.sencha.gxt.fx.client.Draggable

            onDraggableDragStart(event);
          }

        };

        draggable = new Draggable(widget);
        draggable.setUseProxy(true);
        draggable.setSizeProxyToSource(false);
        draggable.setMoveAfterProxyDrag(false);
        draggable.addDragHandler(handler);
        draggable.setProxy(statusProxy.getElement());
    View Full Code Here

    Examples of com.sencha.gxt.fx.client.Draggable

        this.pinned = pinned;
        Cursor c = pinned ? Cursor.DEFAULT : Cursor.MOVE;
        getHeader().getElement().getStyle().setCursor(c);

        if (getData("gxt.draggable") != null) {
          Draggable d = (Draggable) getData("gxt.draggable");
          d.setEnabled(!pinned);
        }
      }
    View Full Code Here

    Examples of com.sencha.gxt.fx.client.Draggable

        handlerRegistration.add(resizeWidget.addMoveHandler(handler));
        handlerRegistration.add(resizeWidget.addResizeHandler(handler));
        handlerRegistration.add(resizeWidget.addHideHandler(handler));
        handlerRegistration.add(resizeWidget.addShowHandler(handler));

        draggable = new Draggable(this);
        draggable.setUpdateZIndex(false);
        draggable.setStartDragDistance(0);
        draggable.setProxyStyle(appearance.proxyClass());

        DragHandler dragHandler = new DragHandler() {
    View Full Code Here

    Examples of com.sencha.gxt.fx.client.Draggable

        this.pinned = pinned;
        Cursor c = pinned ? Cursor.DEFAULT : Cursor.MOVE;
        getHeader().getElement().getStyle().setCursor(c);

        if (getData("gxt.draggable") != null) {
          Draggable d = (Draggable) getData("gxt.draggable");
          d.setEnabled(!pinned);
        }
      }
    View Full Code Here

    Examples of com.sencha.gxt.fx.client.Draggable

            onDraggableDragStart(event);
          };

        };

        draggable = new Draggable(widget);
        draggable.setUseProxy(true);
        draggable.setSizeProxyToSource(false);
        draggable.setMoveAfterProxyDrag(false);
        draggable.addDragHandler(handler);
        draggable.setProxy(statusProxy.getElement());
    View Full Code Here

    Examples of com.sencha.gxt.fx.client.Draggable

        handlerRegistration.add(resizeWidget.addMoveHandler(handler));
        handlerRegistration.add(resizeWidget.addResizeHandler(handler));
        handlerRegistration.add(resizeWidget.addHideHandler(handler));
        handlerRegistration.add(resizeWidget.addShowHandler(handler));

        draggable = new Draggable(this);
        draggable.setUpdateZIndex(false);
        draggable.setStartDragDistance(0);
        draggable.setProxyStyle(appearance.proxyClass());

        DragHandler dragHandler = new DragHandler() {
    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.