Package org.zkoss.zss.engine.event

Examples of org.zkoss.zss.engine.event.SSDataEvent


  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

  }
 
  /*package*/ static void notifyMoveFriendFocus(Ref ref, Object obj) {
    final RefSheet refSheet = ref.getOwnerSheet();
    final RefBook refBook = refSheet.getOwnerBook();
    refBook.publish(new SSDataEvent(SSDataEvent.ON_FRIEND_FOCUS_MOVE, ref, obj));
  }
View Full Code Here

  }
 
  /*package*/ static void notifyDeleteFriendFocus(Ref ref, Object obj) {
    final RefSheet refSheet = ref.getOwnerSheet();
    final RefBook refBook = refSheet.getOwnerBook();
    refBook.publish(new SSDataEvent(SSDataEvent.ON_FRIEND_FOCUS_DELETE, ref, obj));
  }
View Full Code Here

  }
 
  /*package*/ static void notifyDeleteSheet(Ref ref, Object[] namePairs) {
    final RefSheet refSheet = ref.getOwnerSheet();
    final RefBook refBook = refSheet.getOwnerBook();
    refBook.publish(new SSDataEvent(SSDataEvent.ON_SHEET_DELETE, ref, namePairs));
  }
View Full Code Here

  }
 
  /*package*/ static void notifyCreateSheet(Ref ref, String sheetName) {
    final RefSheet refSheet = ref.getOwnerSheet();
    final RefBook refBook = refSheet.getOwnerBook();
    refBook.publish(new SSDataEvent(SSDataEvent.ON_SHEET_CREATE, ref, sheetName));
  }
View Full Code Here

  }

  /*package*/ static void notifyChangeSheetName(Ref ref, String sheetName) {
    final RefSheet refSheet = ref.getOwnerSheet();
    final RefBook refBook = refSheet.getOwnerBook();
    refBook.publish(new SSDataEvent(SSDataEvent.ON_SHEET_NAME_CHANGE, ref, sheetName));
  }
View Full Code Here

  }
 
  /*package*/ static void notifyChangeSheetOrder(Ref ref, String sheetName) {
    final RefSheet refSheet = ref.getOwnerSheet();
    final RefBook refBook = refSheet.getOwnerBook();
    refBook.publish(new SSDataEvent(SSDataEvent.ON_SHEET_ORDER_CHANGE, ref, sheetName));
  }
View Full Code Here

TOP

Related Classes of org.zkoss.zss.engine.event.SSDataEvent

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.