/** * Fires a column sort event on all registered handlers in the handler * manager. If no such handlers exist, this implementation will do nothing. * * @param source the source of the event * @param sortList the {@link ColumnSortList} of sorted columns * @return the {@link ColumnSortEvent} that was fired */ public static ColumnSortEvent fire(HasHandlers source, ColumnSortList sortList) { ColumnSortEvent event = new ColumnSortEvent(sortList); if (TYPE != null) { source.fireEvent(event); } return event; }
/** * Fires a column sort event on all registered handlers in the handler * manager. If no such handlers exist, this implementation will do nothing. * * @param source the source of the event * @param sortList the {@link ColumnSortList} of sorted columns * @return the {@link ColumnSortEvent} that was fired */ public static ColumnSortEvent fire(HasHandlers source, ColumnSortList sortList) { ColumnSortEvent event = new ColumnSortEvent(sortList); if (TYPE != null) { source.fireEvent(event); } return event; }
/** * Fires a column sort event on all registered handlers in the handler * manager. If no such handlers exist, this implementation will do nothing. * * @param source the source of the event * @param sortList the {@link ColumnSortList} of sorted columns * @return the {@link ColumnSortEvent} that was fired */ public static ColumnSortEvent fire(HasHandlers source, ColumnSortList sortList) { ColumnSortEvent event = new ColumnSortEvent(sortList); if (TYPE != null) { source.fireEvent(event); } return event; }