本文整理了Java中com.google.gwt.user.client.ui.ListBox.setTabIndex()
方法的一些代码示例,展示了ListBox.setTabIndex()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ListBox.setTabIndex()
方法的具体详情如下:
包路径:com.google.gwt.user.client.ui.ListBox
类名称:ListBox
方法名:setTabIndex
暂无
代码示例来源:origin: kaaproject/kaa
@Override
public void setTabIndex(int index) {
getListBox().setTabIndex(index);
}
代码示例来源:origin: com.google.gwt/gwt-servlet
@Override
public void setTabIndex (int index) {
getListBox().setTabIndex(index);
}
代码示例来源:origin: net.wetheinter/gwt-user
@Override
public void setTabIndex (int index) {
getListBox().setTabIndex(index);
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
@Override
public void setTabIndex (int index) {
getListBox().setTabIndex(index);
}
代码示例来源:origin: com.haulmont.cuba/cuba-web-toolkit
public void setBackgroundColorLocaleMap(Map<String, String> localeMap) {
backColors.clear();
backColors.addItem(localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_BACKGROUND_LABEL));
backColors.addItem(localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_WHITE_LABEL), "white");
backColors.addItem(localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_BLACK_LABEL), "black");
backColors.addItem(localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_RED_LABEL), "red");
backColors.addItem(localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_GREEN_LABEL), "green");
backColors.addItem(localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_YELLOW_LABEL), "yellow");
backColors.addItem(localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_BLUE_LABEL), "blue");
backColors.setTabIndex(-1);
}
代码示例来源:origin: com.haulmont.cuba/cuba-web-toolkit
public void setForegroundColorLocaleMap(Map<String, String> localeMap) {
foreColors.clear();
foreColors.addItem(localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_FOREGROUND_LABEL));
foreColors.addItem(localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_WHITE_LABEL), "white");
foreColors.addItem(localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_BLACK_LABEL), "black");
foreColors.addItem(localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_RED_LABEL), "red");
foreColors.addItem(localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_GREEN_LABEL), "green");
foreColors.addItem(localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_YELLOW_LABEL), "yellow");
foreColors.addItem(localeMap.get(CubaRichTextAreaState.RICH_TEXT_AREA_BLUE_LABEL), "blue");
foreColors.setTabIndex(-1);
}
}
代码示例来源:origin: org.jboss.ballroom/widgets
public ComboBoxItem(String name, String title, boolean addEmptyItem) {
super(name, title);
this.addEmptyItem = addEmptyItem;
this.listBox = new ListBox();
this.listBox.setTabIndex(0);
this.listBox.addChangeHandler(new ChangeHandler() {
@Override
public void onChange(ChangeEvent event) {
setModified(true);
setUndefined("".equals(getSelectedValue()));
}
});
this.wrapper = new InputElementWrapper(listBox.asWidget(), this);
wrapper.getElement().setAttribute("style", "width:100%");
this.errMessage = "Missing selection!";
}
代码示例来源:origin: org.jboss.ballroom/widgets
public ListBoxItem(String name, String title) {
super(name, title);
listBox = new ListBox();
listBox.setName(name);
listBox.setTitle(title);
listBox.setVisibleItemCount(1);
listBox.setTabIndex(0);
valueChangeHandler = new ChangeHandler() {
@Override
public void onChange(ChangeEvent event) {
setModified(true);
}
};
listBox.addChangeHandler(valueChangeHandler);
wrapper = new HorizontalPanel();
wrapper.add(listBox);
}
内容来源于网络,如有侵权,请联系作者删除!