/** * Fires a {@link RowCountChangeEvent} on all registered handlers in the * handler manager. If no such handlers exist, this method will do nothing. * * @param source the source of the handlers * @param rowCount the new rowCount * @param isExact true if rowCount is an exact count */ public static void fire(HasRows source, int rowCount, boolean isExact) { if (TYPE != null) { RowCountChangeEvent event = new RowCountChangeEvent(rowCount, isExact); source.fireEvent(event); } }
/** * Fires a {@link RangeChangeEvent} on all registered handlers in the handler * manager. If no such handlers exist, this method will do nothing. * * @param source the source of the handlers * @param range the new range */ public static void fire(HasRows source, Range range) { if (TYPE != null) { RangeChangeEvent event = new RangeChangeEvent(range); source.fireEvent(event); } }
/** * Fires a {@link RowCountChangeEvent} on all registered handlers in the * handler manager. If no such handlers exist, this method will do nothing. * * @param source the source of the handlers * @param rowCount the new rowCount * @param isExact true if rowCount is an exact count */ public static void fire(HasRows source, int rowCount, boolean isExact) { if (TYPE != null) { RowCountChangeEvent event = new RowCountChangeEvent(rowCount, isExact); source.fireEvent(event); } }
/** * Fires a {@link RangeChangeEvent} on all registered handlers in the handler * manager. If no such handlers exist, this method will do nothing. * * @param source the source of the handlers * @param range the new range */ public static void fire(HasRows source, Range range) { if (TYPE != null) { RangeChangeEvent event = new RangeChangeEvent(range); source.fireEvent(event); } }
/** * Fires a {@link RangeChangeEvent} on all registered handlers in the handler * manager. If no such handlers exist, this method will do nothing. * * @param source the source of the handlers * @param range the new range */ public static void fire(HasRows source, Range range) { if (TYPE != null) { RangeChangeEvent event = new RangeChangeEvent(range); source.fireEvent(event); } }
/** * Fires a {@link RowCountChangeEvent} on all registered handlers in the * handler manager. If no such handlers exist, this method will do nothing. * * @param source the source of the handlers * @param rowCount the new rowCount * @param isExact true if rowCount is an exact count */ public static void fire(HasRows source, int rowCount, boolean isExact) { if (TYPE != null) { RowCountChangeEvent event = new RowCountChangeEvent(rowCount, isExact); source.fireEvent(event); } }