Package com.google.gwt.dom.client.Style

Examples of com.google.gwt.dom.client.Style.Cursor


  }

  @UiHandler(value = "cursorListBox")
  public void onCursorChange(ChangeEvent e) {
    Cursor c = Cursor.valueOf(cursorListBox.getValue(cursorListBox
        .getSelectedIndex()));
    getOptions().setCursor(c);

  }
View Full Code Here


   *
   * @param pinned true to pin the portlet so that it is not draggable.
   */
  public void setPinned(boolean pinned) {
    this.pinned = pinned;
    Cursor c = pinned ? Cursor.DEFAULT : Cursor.MOVE;
    getHeader().getElement().getStyle().setCursor(c);

    if (getData("gxt.draggable") != null) {
      Draggable d = (Draggable) getData("gxt.draggable");
      d.setEnabled(!pinned);
View Full Code Here

   *
   * @param pinned true to pin the portlet so that it is not draggable.
   */
  public void setPinned(boolean pinned) {
    this.pinned = pinned;
    Cursor c = pinned ? Cursor.DEFAULT : Cursor.MOVE;
    getHeader().getElement().getStyle().setCursor(c);

    if (getData("gxt.draggable") != null) {
      Draggable d = (Draggable) getData("gxt.draggable");
      d.setEnabled(!pinned);
View Full Code Here

TOP

Related Classes of com.google.gwt.dom.client.Style.Cursor

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.