Package com.alkacon.geranium.client.util

Examples of com.alkacon.geranium.client.util.MoveAnimation


        reference.getElement().getStyle().setZIndex(5);
        parent.insertAfter(placeHolder, reference.getElement().getNextSibling());
        reference.getElement().getStyle().setTop(top, Unit.PX);
        reference.getElement().getStyle().setLeft(left, Unit.PX);
        reference.getElement().getStyle().setWidth(width, Unit.PX);
        new MoveAnimation(reference.getElement(), top, left, placeHolder.getOffsetTop(), left, new Command() {

            public void execute() {

                clearMoveAnimationStyles(placeHolder, reference);
                moveAttributeValue(reference, index, index + 1);
View Full Code Here


        reference.getElement().getStyle().setZIndex(5);
        parent.insertBefore(placeHolder, reference.getElement().getPreviousSibling());
        reference.getElement().getStyle().setTop(top, Unit.PX);
        reference.getElement().getStyle().setLeft(left, Unit.PX);
        reference.getElement().getStyle().setWidth(width, Unit.PX);
        new MoveAnimation(reference.getElement(), top, left, placeHolder.getOffsetTop(), left, new Command() {

            public void execute() {

                clearMoveAnimationStyles(placeHolder, reference);
                moveAttributeValue(reference, index, index - 1);
View Full Code Here

        reference.getElement().getStyle().setZIndex(5);
        parent.insertAfter(placeHolder, reference.getElement().getNextSibling());
        reference.getElement().getStyle().setTop(top, Unit.PX);
        reference.getElement().getStyle().setLeft(left, Unit.PX);
        reference.getElement().getStyle().setWidth(width, Unit.PX);
        new MoveAnimation(reference.getElement(), top, left, placeHolder.getOffsetTop(), left, new Command() {

            public void execute() {

                clearMoveAnimationStyles(placeHolder, reference);
                moveAttributeValue(reference, index, index + 1);
View Full Code Here

        reference.getElement().getStyle().setZIndex(5);
        parent.insertBefore(placeHolder, reference.getElement().getPreviousSibling());
        reference.getElement().getStyle().setTop(top, Unit.PX);
        reference.getElement().getStyle().setLeft(left, Unit.PX);
        reference.getElement().getStyle().setWidth(width, Unit.PX);
        new MoveAnimation(reference.getElement(), top, left, placeHolder.getOffsetTop(), left, new Command() {

            public void execute() {

                clearMoveAnimationStyles(placeHolder, reference);
                moveAttributeValue(reference, index, index - 1);
View Full Code Here

        Element parentElement = m_dragHelper.getParentElement();
        int endTop = top - parentElement.getAbsoluteTop();
        int endLeft = left - parentElement.getAbsoluteLeft();
        int startTop = DomUtil.getCurrentStyleInt(m_dragHelper, Style.top);
        int startLeft = DomUtil.getCurrentStyleInt(m_dragHelper, Style.left);
        m_currentAnimation = new MoveAnimation(m_dragHelper, startTop, startLeft, endTop, endLeft, callback);
        m_currentAnimation.run(300);
    }
View Full Code Here

TOP

Related Classes of com.alkacon.geranium.client.util.MoveAnimation

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.