Package com.allen_sauer.gwt.dnd.client

Examples of com.allen_sauer.gwt.dnd.client.AbstractDragController


  public void makeNotDraggable(WindowPanel w) {
    moveDragController.makeNotDraggable(w);
  }

  public void makeNotResizable(WindowPanel w) {
    final AbstractDragController c = getResizeDragController();

    c.makeNotDraggable(w.nwResizeHandle);
    w.nwResizeHandle.removeStyleName("Resize-" + NORTH_WEST.directionLetters);

    c.makeNotDraggable(w.nResizeHandle);
    w.nResizeHandle.removeStyleName("Resize-" + NORTH.directionLetters);

    c.makeNotDraggable(w.neResizeHandle);
    w.neResizeHandle.removeStyleName("Resize-" + NORTH_EAST.directionLetters);

    c.makeNotDraggable(w.wResizeHandle);
    w.wResizeHandle.removeStyleName("Resize-" + WEST.directionLetters);

    c.makeNotDraggable(w.eResizeHandle);
    w.eResizeHandle.removeStyleName("Resize-" + EAST.directionLetters);

    c.makeNotDraggable(w.swResizeHandle);
    w.swResizeHandle.removeStyleName("Resize-" + SOUTH_WEST.directionLetters);

    c.makeNotDraggable(w.sResizeHandle);
    w.sResizeHandle.removeStyleName("Resize-" + SOUTH.directionLetters);

    c.makeNotDraggable(w.seResizeHandle);
    w.seResizeHandle.removeStyleName("Resize-" + SOUTH_EAST.directionLetters);
  }
View Full Code Here

TOP

Related Classes of com.allen_sauer.gwt.dnd.client.AbstractDragController

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.