Examples of removeStyleName()


Examples of com.google.gwt.user.client.ui.Widget.removeStyleName()

    }

    Widget child = getWidget(index);
    tabBar.remove(index);
    deckPanel.removeProtected(child);
    child.removeStyleName(CONTENT_STYLE);

    Tab tab = tabs.remove(index);
    tab.getWidget().removeFromParent();

    if (index == selectedIndex) {
View Full Code Here

Examples of com.google.gwt.user.client.ui.Widget.removeStyleName()

    }

    Widget child = getWidget(index);
    tabBar.remove(index);
    deckPanel.removeProtected(child);
    child.removeStyleName(CONTENT_STYLE);

    Tab tab = tabs.remove(index);
    tab.getWidget().removeFromParent();

    selectedIndex = -1// otherwise, this tab still looks selected, and attempt to re-select it are ignored
View Full Code Here

Examples of com.google.gwt.user.client.ui.Widget.removeStyleName()

  }

  public void clearSelection() {
    for (Iterator<Widget> iterator = context.selectedWidgets.iterator(); iterator.hasNext();) {
      Widget widget = iterator.next();
      widget.removeStyleName(CSS_SELECTED);
      iterator.remove();
    }
  }

  public void dragEnd() {
View Full Code Here

Examples of com.google.gwt.user.client.ui.Widget.removeStyleName()

   */
  public void makeNotDraggable(Widget draggable) {
    Widget dragHandle = dragHandles.remove(draggable);
    mouseDragHandler.makeNotDraggable(dragHandle);
    draggable.removeStyleName(PRIVATE_CSS_DRAGGABLE);
    dragHandle.removeStyleName(PRIVATE_CSS_HANDLE);
  }

  public void previewDragEnd() throws VetoDragException {
    assert dragEndEvent == null;
    if (dragHandlers != null) {
View Full Code Here

Examples of com.google.gwt.user.client.ui.Widget.removeStyleName()

  public void setBehaviorMultipleSelection(boolean multipleSelectionAllowed) {
    this.multipleSelectionAllowed = multipleSelectionAllowed;
    for (Iterator<Widget> iterator = context.selectedWidgets.iterator(); iterator.hasNext();) {
      Widget widget = iterator.next();
      widget.removeStyleName(CSS_SELECTED);
      iterator.remove();
    }
  }

  public void setConstrainWidgetToBoundaryPanel(boolean constrainWidgetToBoundaryPanel) {
View Full Code Here

Examples of com.google.gwt.user.client.ui.Widget.removeStyleName()

  }

  public void clearSelection() {
    for (Iterator<Widget> iterator = context.selectedWidgets.iterator(); iterator.hasNext();) {
      Widget widget = iterator.next();
      widget.removeStyleName(DragClientBundle.INSTANCE.css().selected());
      iterator.remove();
    }
  }

  public void dragEnd() {
View Full Code Here

Examples of com.google.gwt.user.client.ui.Widget.removeStyleName()

   */
  public void makeNotDraggable(Widget draggable) {
    Widget dragHandle = dragHandles.remove(draggable);
    mouseDragHandler.makeNotDraggable(dragHandle);
    draggable.removeStyleName(DragClientBundle.INSTANCE.css().draggable());
    dragHandle.removeStyleName(DragClientBundle.INSTANCE.css().handle());
  }

  public void previewDragEnd() throws VetoDragException {
    assert dragEndEvent == null;
    if (dragHandlers != null) {
View Full Code Here

Examples of com.google.gwt.user.client.ui.Widget.removeStyleName()

  public void setBehaviorMultipleSelection(boolean multipleSelectionAllowed) {
    this.multipleSelectionAllowed = multipleSelectionAllowed;
    for (Iterator<Widget> iterator = context.selectedWidgets.iterator(); iterator.hasNext();) {
      Widget widget = iterator.next();
      widget.removeStyleName(DragClientBundle.INSTANCE.css().selected());
      iterator.remove();
    }
  }

  public void setBehaviorScrollIntoView(boolean scrollIntoView) {
View Full Code Here

Examples of com.google.gwt.user.client.ui.Widget.removeStyleName()

 
  @Override
  public void onDragMove(DragEvent e) {
    if (_pressed >= 0) {
        Widget item = getWidget(_pressed);
        item.removeStyleName("Pressed");
        _pressed = -1;
    }
  }

  @Override
View Full Code Here

Examples of com.google.gwt.user.client.ui.Widget.removeStyleName()

  public void clear() {
    Iterator<Widget> iterator = container.iterator();
    while (iterator.hasNext()) {
      Widget w = iterator.next();
      if (w instanceof IsFlexible) {
        w.removeStyleName(appearance.css().flexible());
      }
    }
    container.clear();
  }
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.