本文整理了Java中com.google.gwt.user.client.ui.Button.setFocus()
方法的一些代码示例,展示了Button.setFocus()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Button.setFocus()
方法的具体详情如下:
包路径:com.google.gwt.user.client.ui.Button
类名称:Button
方法名:setFocus
暂无
代码示例来源:origin: org.eclipse.che.core/che-core-ide-app
@Override
public void setFocus() {
acceptButton.setFocus(true);
}
代码示例来源:origin: de.esoco/gewt
/***************************************
* {@inheritDoc}
*/
@Override
public void setFocus(boolean bFocused)
{
aSubmitButton.setFocus(bFocused);
}
代码示例来源:origin: oVirt/ovirt-engine
@Override
public void setFocus(boolean focused) {
dropdownButton.setFocus(focused);
}
代码示例来源:origin: org.jboss.ballroom/widgets
@Override
public void setFocus(boolean focused) {
button.setFocus(focused);
}
代码示例来源:origin: org.eclipse.che.plugin/che-plugin-java-ext-lang-client
@Override
public void setDoneButtonInFocus() {
doneButton.setFocus(true);
}
代码示例来源:origin: org.eclipse.che.plugin/che-plugin-debugger-ide
@Override
public void focusCloseButton() {
closeButton.setFocus(true);
}
代码示例来源:origin: org.apache.cxf/cxf-rt-management-web
@Override
public void center() {
show();
closeButton.setFocus(true);
}
代码示例来源:origin: com.allen-sauer.gwt.log/gwt-log
@Override
public void onClick(ClickEvent event) {
((Button) event.getSource()).setFocus(false);
Log.setCurrentLogLevel(level);
}
});
代码示例来源:origin: com.allen-sauer.gwt.log/gwt-log
@Override
public void onClick(ClickEvent event) {
((Button) event.getSource()).setFocus(false);
Log.clear();
}
});
代码示例来源:origin: org.jboss.errai/errai-workspaces
public void onClick(ClickEvent event) {
((Button) event.getSource()).setFocus(false);
Log.setCurrentLogLevel(level);
}
});
代码示例来源:origin: org.jboss.errai/errai-workspaces
public void onClick(ClickEvent event) {
((Button) event.getSource()).setFocus(false);
Log.clear();
}
});
代码示例来源:origin: org.eclipse.che.plugin/che-plugin-git-ext-git
/** {@inheritDoc} */
@Override
public void setEnablePushButton(final boolean enabled) {
btnPush.setEnabled(enabled);
Scheduler.get().scheduleDeferred(() -> btnPush.setFocus(enabled));
}
代码示例来源:origin: com.allen-sauer.gwt.log/gwt-log
@Override
public void onClick(ClickEvent event) {
((Button) event.getSource()).setFocus(false);
Log.diagnostic("\n" //
+ "gwt-log-" + Log.getVersion() //
+ " - Runtime logging for your Google Web Toolkit projects\n" + //
"Copyright 2007 Fred Sauer\n" + //
"The original software is available from:\n" + //
"\u00a0\u00a0\u00a0\u00a0http://allen-sauer.com/gwt/\n", null);
}
});
代码示例来源:origin: org.eclipse.che.plugin/che-plugin-git-ext-git
/** {@inheritDoc} */
@Override
public void setEnablePullButton(final boolean enabled) {
btnPull.setEnabled(enabled);
Scheduler.get().scheduleDeferred(() -> btnPull.setFocus(enabled));
}
代码示例来源:origin: org.eclipse.che.plugin/che-plugin-git-ext-git
/** {@inheritDoc} */
@Override
public void setEnableFetchButton(final boolean enabled) {
btnFetch.setEnabled(enabled);
Scheduler.get().scheduleDeferred(() -> btnFetch.setFocus(enabled));
}
代码示例来源:origin: org.eclipse.che.plugin/che-plugin-git-ext-git
/** {@inheritDoc} */
@Override
public void setEnableResetButton(final boolean enabled) {
btnReset.setEnabled(enabled);
Scheduler.get().scheduleDeferred(() -> btnReset.setFocus(enabled));
}
代码示例来源:origin: net.sf.javaprinciples.client/client-presentation
ok.setFocus(true);
内容来源于网络,如有侵权,请联系作者删除!