@Override protected void onComplete() { contentContainer.getStyle().clearPosition(); contentContainer.getStyle().clearTop(); contentContainer.getStyle().clearWidth(); super.onComplete(); }
public void removeChild(Element container, Element child) { container.removeFromParent(); // We want this code to be resilient to the child having already been // removed from its container (perhaps by widget code). if (child.getParentElement() == container) { child.removeFromParent(); } // Cleanup child styles set by fillParent(). Style style = child.getStyle(); style.clearPosition(); style.clearLeft(); style.clearTop(); style.clearWidth(); style.clearHeight(); } }
@Override public void clearTop() { element.getStyle().clearTop(); }
@Override public void execute(JQueryWrapper query) { if (SlideAnimation.this.isVertical) { query.get(0).getStyle().clearTop(); } else { query.get(0).getStyle().clearLeft(); } } });
break; case END: style.clearTop(); style.setBottom(0, Unit.PX); break;
private void clearTraces() { Style style = textWidget.getElement().getStyle(); style.clearLeft(); style.clearTop(); style.clearPosition(); style.clearZIndex(); stretchControl.getStyle().clearTop(); stretchControl.getStyle().clearLeft(); stretchControl.getStyle().clearDisplay(); JQueryWrapper.select("." + STRETCHER_BASE).setCss("display", ""); }
private void clearAffix() { table.getTableHeadElement().removeClassName(AFFIX_CLASS_NAME); table.getTableHeadElement().getStyle().clearTop(); widthApplier.clearHeaderWidthInformation(); }
@Override protected void onComplete() { contentContainer.getStyle().clearPosition(); contentContainer.getStyle().clearTop(); contentContainer.getStyle().clearWidth(); super.onComplete(); }
@Override protected void onComplete() { contentContainer.getStyle().clearPosition(); contentContainer.getStyle().clearTop(); contentContainer.getStyle().clearWidth(); super.onComplete(); }
private void expand() { container.removeFromParent(); container.getElement().getStyle().clearTop(); container.getElement().getStyle().clearPosition(); container.getElement().getStyle().clearZIndex(); masterContainer.add( container ); tip.setText( WorkbenchConstants.INSTANCE.collapseToolbar() ); tip.setPlacement( Placement.LEFT ); tip.setWidget( viewControl ); tip.reconfigure(); new ExpandAnimation().animate( 8, getOffsetWidth() - 1, 500 ); state = State.EXPANDED; }
private void expand() { container.removeFromParent(); container.getElement().getStyle().clearTop(); container.getElement().getStyle().clearPosition(); container.getElement().getStyle().clearZIndex(); masterContainer.add(container); tip.setTitle(WorkbenchConstants.INSTANCE.collapseToolbar()); tip.setPlacement(Placement.LEFT); tip.setWidget(viewControl); tip.reconfigure(); new ExpandAnimation().animate(8, getOffsetWidth() - 1, 500); state = State.EXPANDED; }
private void expand() { container.removeFromParent(); container.getElement().getStyle().clearTop(); container.getElement().getStyle().clearPosition(); container.getElement().getStyle().clearZIndex(); masterContainer.add(container); tip.setTitle(WorkbenchConstants.INSTANCE.collapseToolbar()); tip.setPlacement(Placement.LEFT); tip.setWidget(viewControl); tip.reconfigure(); new ExpandAnimation().animate(8, getOffsetWidth() - 1, 500); state = State.EXPANDED; }
@Override public void execute(JQueryWrapper query) { query.setCss("transition", ""); query.setCss("transform", ""); getJQueryWrapper().setCss("-webkit-transform", ""); getJQueryWrapper().setCss("-webkit-transition", ""); if (isClearTopAfterThisAnimation) { currentElement.getStyle().clearTop(); } isClearTopAfterThisAnimation = false; onComplete(); } });
public void removeChild(Element container, Element child) { container.removeFromParent(); // We want this code to be resilient to the child having already been // removed from its container (perhaps by widget code). if (child.getParentElement() == container) { child.removeFromParent(); } // Cleanup child styles set by fillParent(). Style style = child.getStyle(); style.clearPosition(); style.clearLeft(); style.clearTop(); style.clearWidth(); style.clearHeight(); } }
public void removeChild(Element container, Element child) { container.removeFromParent(); // We want this code to be resilient to the child having already been // removed from its container (perhaps by widget code). if (child.getParentElement() == container) { child.removeFromParent(); } // Cleanup child styles set by fillParent(). Style style = child.getStyle(); style.clearPosition(); style.clearLeft(); style.clearTop(); style.clearWidth(); style.clearHeight(); } }
private void clearElementStyle() { Element e = this.getElement(); Style style = e.getStyle(); style.clearPosition(); style.clearTop(); style.clearBottom(); style.clearWidth(); style.clearHeight(); style.clearZIndex(); e.getParentElement().getStyle().clearPaddingTop(); } }
private void clearElementStyle() { Element e = this.getElement(); Style style = e.getStyle(); style.clearPosition(); style.clearTop(); style.clearBottom(); style.clearWidth(); style.clearHeight(); style.clearZIndex(); e.getParentElement().getStyle().clearPaddingTop(); } }
break; case END: style.clearTop(); style.setBottom(0, Unit.PX); break;
break; case END: style.clearTop(); style.setBottom(0, Unit.PX); break;