use of com.google.gwt.user.client.ui.HTMLTable.Cell in project opennms by OpenNMS.
the class PageableLocationList method onItemClickHandler.
/** {@inheritDoc} */
@Override
public void onItemClickHandler(final ClickEvent event) {
final Cell cell = getCellForEvent(event);
LocationInfo location = m_locations.get(cell.getRowIndex() + (getCurrentPageIndex() * getTotalListItemsPerPage()));
fireEvent(new LocationPanelSelectEvent(location.getName()));
}
use of com.google.gwt.user.client.ui.HTMLTable.Cell in project opennms by OpenNMS.
the class PageableApplicationList method onItemClickHandler.
/** {@inheritDoc} */
@Override
public void onItemClickHandler(final ClickEvent event) {
final Cell cell = getCellForEvent(event);
final ApplicationInfo appInfo = getApplications().get(cell.getRowIndex() + (getCurrentPageIndex() * getTotalListItemsPerPage()));
m_eventBus.fireEvent(new ApplicationSelectedEvent(appInfo.getName()));
}
Aggregations