org.gwtbootstrap3.client.ui.Button.setFocus()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(127)

本文整理了Java中org.gwtbootstrap3.client.ui.Button.setFocus()方法的一些代码示例,展示了Button.setFocus()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Button.setFocus()方法的具体详情如下:
包路径:org.gwtbootstrap3.client.ui.Button
类名称:Button
方法名:setFocus

Button.setFocus介绍

暂无

代码示例

代码示例来源:origin: oVirt/ovirt-engine

@Override
public void setFocus(boolean focused) {
  uploadButton.setFocus(focused);
}

代码示例来源:origin: org.uberfire/uberfire-widgets-core-client

public void setNextButtonFocus(final boolean focused) {
  btnNext.setFocus(focused);
}

代码示例来源:origin: kiegroup/appformer

public void setNextButtonFocus(final boolean focused) {
  btnNext.setFocus(focused);
}

代码示例来源:origin: org.uberfire/uberfire-widgets-core-client

public void setPreviousButtonFocus(final boolean focused) {
  btnPrevious.setFocus(focused);
}

代码示例来源:origin: kiegroup/appformer

public void setPreviousButtonFocus(final boolean focused) {
  btnPrevious.setFocus(focused);
}

代码示例来源:origin: oVirt/ovirt-engine

@Override
public void setFocus(boolean focused) {
  getButtonWidget().setFocus(focused);
}

代码示例来源:origin: stackoverflow.com

public class MyDialogBox extends DialogBox {

 @UiField SimplePanel mainPanel;
 @UiField Button okButton;

 interface Binder extends UiBinder<Widget, MyDialogBox> {}

 public MyDialogBox() {
  super.setWidget(GWT.<Binder> create(Binder.class).createAndBindUi(this));
 }

 @UiHandler("okButton")
 void onDismiss(ClickEvent e) {
  hide();
 }

 @Override
 public void setWidget(Widget widget) {
  mainPanel.setWidget(widget);
 }

 @Override
 public void center() {
  super.center();
  okButton.setFocus(true);
 }
}

代码示例来源:origin: stackoverflow.com

Button dummy = new Button(parent, SWT.PUSH)
dummy.setFocus()
FormData data = new FormData();
data.bottom = new FormAttachment(-1);
dummy.setLayoutData(data);

代码示例来源:origin: stackoverflow.com

final boolean selection1 = radioButton1.getSelection();
final boolean selection2 = radioButton2.getSelection();
radioButton1.setFocus();
radioButton1.setSelection(selection1);
radioButton2.setSelection(selection2);

代码示例来源:origin: stackoverflow.com

checkButton.setFocus();

代码示例来源:origin: stackoverflow.com

button.setFocus();
button.forceFocus();

代码示例来源:origin: stackoverflow.com

dummy.setFocus();
FormData dummyData = new FormData();
dummyData.bottom = new FormAttachment(-1);

相关文章