本文整理汇总了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);
}
}