Package gwtquery.plugins.draggable.client.DraggableOptions

Examples of gwtquery.plugins.draggable.client.DraggableOptions.AxisOption


  }

  @UiHandler(value = "axisListBox")
  public void onAxisChange(ChangeEvent e) {
    AxisOption axis = AxisOption.valueOf(axisListBox.getValue(axisListBox
        .getSelectedIndex()));
    getOptions().setAxis(axis);
  }
View Full Code Here


   */
  public void moveHelper(boolean firstTime) {
    if (helper == null || helper.size() == 0) {
      return;
    }
    AxisOption axis = options.getAxis();
    if (AxisOption.NONE == axis || AxisOption.X_AXIS == axis || firstTime) {
      helper.get(0).getStyle().setLeft(position.left, Unit.PX);
    }
    if (AxisOption.NONE == axis || AxisOption.Y_AXIS == axis || firstTime) {
      helper.get(0).getStyle().setTop(position.top, Unit.PX);
View Full Code Here

    Element scrollParentElement = scrollParent.get(0);
    if (scrollParentElement == null) {
      return;
    }

    AxisOption axis = options.getAxis();
    Offset overflowOffset = $(draggableElement).data(OVERFLOW_OFFSET_KEY,
        Offset.class);
    int scrollSensitivity = options.getScrollSensitivity();
    int scrollSpeed = options.getScrollSpeed();
View Full Code Here

TOP

Related Classes of gwtquery.plugins.draggable.client.DraggableOptions.AxisOption

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.