当前位置: 首页>>代码示例>>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;未经允许,请勿转载。