本文整理汇总了Java中org.jboss.errai.ui.nav.client.local.TransitionTo类的典型用法代码示例。如果您正苦于以下问题:Java TransitionTo类的具体用法?Java TransitionTo怎么用?Java TransitionTo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TransitionTo类属于org.jboss.errai.ui.nav.client.local包,在下文中一共展示了TransitionTo类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: configureSimpleButtonLink
import org.jboss.errai.ui.nav.client.local.TransitionTo; //导入依赖的package包/类
private void configureSimpleButtonLink(MaterialLink buttonLink, String label, TransitionTo<? extends BasePage> transitTo, boolean hideOnMobile) {
buttonLink.setText(label);
if (hideOnMobile) {
buttonLink.setHideOn(HideOn.HIDE_ON_MED_DOWN);
buttonLink.setWaves(WavesType.LIGHT);
buttonLink.setWaves(WavesType.DEFAULT);
}
buttonLink.addClickHandler(clickEvent -> handleMenuItemClick(transitTo));
}
开发者ID:baldram,项目名称:tristar-eye,代码行数:10,代码来源:NavigationBar.java
示例2: setup
import org.jboss.errai.ui.nav.client.local.TransitionTo; //导入依赖的package包/类
/**
* Initializes this page.
*/
@PostConstruct
private void setup() {
buttonNew.addClickHandler(new ClickHandler() {
@Override public void onClick(ClickEvent event) {
TransitionTo<?> transition = transitionToNew();
if (transition != null) {
transition.go(PageStates.empty());
}
}
});
}
开发者ID:pd-pmueller,项目名称:cpa,代码行数:15,代码来源:AbstractListPage.java
示例3: SearchBar
import org.jboss.errai.ui.nav.client.local.TransitionTo; //导入依赖的package包/类
@Inject
public SearchBar(TransitionTo<MapTabViewModel> toMap, MaterialLink searchButton, MaterialSearch search) {
this.toMap = toMap;
this.searchButton = searchButton;
this.search = search;
}
开发者ID:baldram,项目名称:tristar-eye,代码行数:7,代码来源:SearchBar.java
示例4: handleMenuItemClick
import org.jboss.errai.ui.nav.client.local.TransitionTo; //导入依赖的package包/类
private void handleMenuItemClick(TransitionTo<? extends BasePage> transitTo) {
transitTo.go();
pageChangeEvent.fire(new PageChange());
}
开发者ID:baldram,项目名称:tristar-eye,代码行数:5,代码来源:NavigationBar.java
示例5: transitionToNew
import org.jboss.errai.ui.nav.client.local.TransitionTo; //导入依赖的package包/类
@Override
protected TransitionTo<?> transitionToNew() {
return transitionToNew;
}
开发者ID:pd-pmueller,项目名称:cpa,代码行数:5,代码来源:ConferenceListPage.java
示例6: transitionToNew
import org.jboss.errai.ui.nav.client.local.TransitionTo; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
protected TransitionTo<?> transitionToNew() {
return null;
}
开发者ID:pd-pmueller,项目名称:cpa,代码行数:8,代码来源:RoomListPage.java
示例7: transitionToNew
import org.jboss.errai.ui.nav.client.local.TransitionTo; //导入依赖的package包/类
/**
* Returns the {@link TransitionTo} object for creating a new object.
*
* @return a transition object.
*/
protected abstract TransitionTo<?> transitionToNew();
开发者ID:pd-pmueller,项目名称:cpa,代码行数:7,代码来源:AbstractListPage.java
注:本文中的org.jboss.errai.ui.nav.client.local.TransitionTo类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论