Package org.zkoss.zss.engine

Examples of org.zkoss.zss.engine.RefSheet


  }
 
  public static void notifyWidgetChanges(Set<Ref> all) {
    if (all != null) {
      for(Ref ref : all) {
        final RefSheet refSheet = ref.getOwnerSheet();
        final RefBook refBook = refSheet.getOwnerBook();
        refBook.publish(new SSDataEvent(SSDataEvent.ON_WIDGET_CHANGE, ref, SSDataEvent.MOVE_NO));
      }
    }
  }
View Full Code Here


    }
  }
 
  public static void notifyChartAdd(Ref ref, ZssChartX chartX) {
    if (ref != null) {
      final RefSheet refSheet = ref.getOwnerSheet();
      final RefBook refBook = refSheet.getOwnerBook();
      refBook.publish(new SSDataEvent(SSDataEvent.ON_CHART_ADD, ref, chartX));
    }
  }
View Full Code Here

    }
  }
 
  public static void notifyChartDelete(Ref ref, Chart chart) {
    if (ref != null) {
      final RefSheet refSheet = ref.getOwnerSheet();
      final RefBook refBook = refSheet.getOwnerBook();
      refBook.publish(new SSDataEvent(SSDataEvent.ON_CHART_DELETE, ref, chart));
    }
  }
View Full Code Here

    }
  }

  public static void notifyPictureAdd(Ref ref, Picture picture) {
    if (ref != null) {
      final RefSheet refSheet = ref.getOwnerSheet();
      final RefBook refBook = refSheet.getOwnerBook();
      refBook.publish(new SSDataEvent(SSDataEvent.ON_PICTURE_ADD, ref, picture));
    }
  }
View Full Code Here

    }
  }

  public static void notifyPictureDelete(Ref ref, Picture picture) {
    if (ref != null) {
      final RefSheet refSheet = ref.getOwnerSheet();
      final RefBook refBook = refSheet.getOwnerBook();
      refBook.publish(new SSDataEvent(SSDataEvent.ON_PICTURE_DELETE, ref, picture));
    }
  }
View Full Code Here

    }
  }

  public static void notifyPictureUpdate(Ref ref, Picture picture) {
    if (ref != null) {
      final RefSheet refSheet = ref.getOwnerSheet();
      final RefBook refBook = refSheet.getOwnerBook();
      refBook.publish(new SSDataEvent(SSDataEvent.ON_PICTURE_UPDATE, ref, picture));
    }
  }
View Full Code Here

    }
  }

  public static void notifyChartUpdate(Ref ref, Chart chart) {
    if (ref != null) {
      final RefSheet refSheet = ref.getOwnerSheet();
      final RefBook refBook = refSheet.getOwnerBook();
      refBook.publish(new SSDataEvent(SSDataEvent.ON_CHART_UPDATE, ref, chart));
    }
  }
View Full Code Here

  }

  public static void notifyBtnChanges(Set<Ref> all) {
    if (all != null) {
      for(Ref ref : all) {
        final RefSheet refSheet = ref.getOwnerSheet();
        final RefBook refBook = refSheet.getOwnerBook();
        refBook.publish(new SSDataEvent(SSDataEvent.ON_BTN_CHANGE, ref, SSDataEvent.MOVE_NO));
      }
    }
  }
View Full Code Here

    }
  }
  /*package*/ static void notifyGridlines(Book book, Set<Ref> all, boolean show) {
    if (all != null) {
      for(Ref ref : all) {
        final RefSheet refSheet = ref.getOwnerSheet();
        final RefBook refBook = refSheet.getOwnerBook();
        refBook.publish(new SSDataEvent(SSDataEvent.ON_DISPLAY_GRIDLINES, ref, show));
      }
    }
  }
View Full Code Here

  }
 
  /*package*/ static void notifyProtectSheet(Book book, Set<Ref> all,  String password) {
    if (all != null) {
      for(Ref ref : all) {
        final RefSheet refSheet = ref.getOwnerSheet();
        final RefBook refBook = refSheet.getOwnerBook();
        refBook.publish(new SSDataEvent(SSDataEvent.ON_PROTECT_SHEET, ref, password));
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.zkoss.zss.engine.RefSheet

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.