本文整理匯總了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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}