當前位置: 首頁>>代碼示例>>Java>>正文


Java CellSelectedEvent.getIndex方法代碼示例

本文整理匯總了Java中com.googlecode.mgwt.ui.client.widget.list.celllist.CellSelectedEvent.getIndex方法的典型用法代碼示例。如果您正苦於以下問題:Java CellSelectedEvent.getIndex方法的具體用法?Java CellSelectedEvent.getIndex怎麽用?Java CellSelectedEvent.getIndex使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在com.googlecode.mgwt.ui.client.widget.list.celllist.CellSelectedEvent的用法示例。


在下文中一共展示了CellSelectedEvent.getIndex方法的11個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: onCellSelected

import com.googlecode.mgwt.ui.client.widget.list.celllist.CellSelectedEvent; //導入方法依賴的package包/類
@UiHandler("cellList")
protected void onCellSelected(CellSelectedEvent event) {
	if (presenter != null) {
		int index = event.getIndex();
		presenter.onItemSelected(index);
	}
}
 
開發者ID:waynedyck,項目名稱:mgwt-traffic-flow,代碼行數:8,代碼來源:MenuViewGwtImpl.java

示例2: onCellSelected

import com.googlecode.mgwt.ui.client.widget.list.celllist.CellSelectedEvent; //導入方法依賴的package包/類
@UiHandler("cellList")
protected void onCellSelected(CellSelectedEvent event) {
    if (presenter != null) {
        int index = event.getIndex();
        presenter.onItemSelected(index);
    }
}
 
開發者ID:WSDOT,項目名稱:Archetypes,代碼行數:8,代碼來源:HomeViewGwtImpl.java

示例3: onBlockingPressed

import com.googlecode.mgwt.ui.client.widget.list.celllist.CellSelectedEvent; //導入方法依賴的package包/類
@UiHandler("blockingCellList")
protected void onBlockingPressed(CellSelectedEvent event) {
	if (presenter != null) {
		int index = event.getIndex();
		presenter.onItemSelected(Consts.BLOCKING, index);
	}
}
 
開發者ID:WSDOT,項目名稱:wsdot-mobile-app,代碼行數:8,代碼來源:TrafficAlertsViewGwtImpl.java

示例4: onSpecialPressed

import com.googlecode.mgwt.ui.client.widget.list.celllist.CellSelectedEvent; //導入方法依賴的package包/類
@UiHandler("specialCellList")
protected void onSpecialPressed(CellSelectedEvent event) {
	if (presenter != null) {
		int index = event.getIndex();
		presenter.onItemSelected(Consts.SPECIAL, index);
	}
}
 
開發者ID:WSDOT,項目名稱:wsdot-mobile-app,代碼行數:8,代碼來源:TrafficAlertsViewGwtImpl.java

示例5: onCellSelected

import com.googlecode.mgwt.ui.client.widget.list.celllist.CellSelectedEvent; //導入方法依賴的package包/類
@UiHandler("schedules")
protected void onCellSelected(CellSelectedEvent event) {
	if (presenter != null) {
		int index = event.getIndex();
		presenter.onItemSelected(index);
	}
}
 
開發者ID:WSDOT,項目名稱:wsdot-mobile-app,代碼行數:8,代碼來源:SeattleExpressLanesViewGwtImpl.java

示例6: onCameraCellSelected

import com.googlecode.mgwt.ui.client.widget.list.celllist.CellSelectedEvent; //導入方法依賴的package包/類
@UiHandler("camerasCellList")
protected void onCameraCellSelected(CellSelectedEvent event) {
	if (presenter != null) {
		int index = event.getIndex();
		presenter.onCameraSelected(index);
	}
}
 
開發者ID:WSDOT,項目名稱:wsdot-mobile-app,代碼行數:8,代碼來源:HomeViewGwtImpl.java

示例7: onFerriesCellSelected

import com.googlecode.mgwt.ui.client.widget.list.celllist.CellSelectedEvent; //導入方法依賴的package包/類
@UiHandler("ferriesCellList")
protected void onFerriesCellSelected(CellSelectedEvent event) {
	if (presenter != null) {
		int index = event.getIndex();
		presenter.onFerriesSelected(index);
	}
}
 
開發者ID:WSDOT,項目名稱:wsdot-mobile-app,代碼行數:8,代碼來源:HomeViewGwtImpl.java

示例8: onMountainPassCellSelected

import com.googlecode.mgwt.ui.client.widget.list.celllist.CellSelectedEvent; //導入方法依賴的package包/類
@UiHandler("mountainPassesCellList")
protected void onMountainPassCellSelected(CellSelectedEvent event) {
	if (presenter != null) {
		int index = event.getIndex();
		presenter.onMountainPassSelected(index);
	}
}
 
開發者ID:WSDOT,項目名稱:wsdot-mobile-app,代碼行數:8,代碼來源:HomeViewGwtImpl.java

示例9: onTravelTimeCellSelected

import com.googlecode.mgwt.ui.client.widget.list.celllist.CellSelectedEvent; //導入方法依賴的package包/類
@UiHandler("travelTimesCellList")
protected void onTravelTimeCellSelected(CellSelectedEvent event) {
	if (presenter != null) {
		int index = event.getIndex();
		presenter.onTravelTimeSelected(index);
	}
}
 
開發者ID:WSDOT,項目名稱:wsdot-mobile-app,代碼行數:8,代碼來源:HomeViewGwtImpl.java

示例10: onSailingCellSelected

import com.googlecode.mgwt.ui.client.widget.list.celllist.CellSelectedEvent; //導入方法依賴的package包/類
@UiHandler("sailingsCellList")
protected void onSailingCellSelected(CellSelectedEvent event) {
	if (presenter != null) {
		int index = event.getIndex();
		presenter.onSailingItemSelected(index);
	}
}
 
開發者ID:WSDOT,項目名稱:wsdot-mobile-app,代碼行數:8,代碼來源:FerriesRouteSailingsViewGwtImpl.java

示例11: onCameraCellSelected

import com.googlecode.mgwt.ui.client.widget.list.celllist.CellSelectedEvent; //導入方法依賴的package包/類
@UiHandler("cameraCellList")
protected void onCameraCellSelected(CellSelectedEvent event) {
    if (presenter != null) {
        int index = event.getIndex();
        presenter.onCameraSelected(index);
    }
}
 
開發者ID:WSDOT,項目名稱:wsdot-mobile-app,代碼行數:8,代碼來源:FerriesRouteDeparturesViewGwtImpl.java


注:本文中的com.googlecode.mgwt.ui.client.widget.list.celllist.CellSelectedEvent.getIndex方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。