本文整理了Java中com.google.gwt.user.client.Element.setTabIndex()
方法的一些代码示例,展示了Element.setTabIndex()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Element.setTabIndex()
方法的具体详情如下:
包路径:com.google.gwt.user.client.Element
类名称:Element
方法名:setTabIndex
暂无
代码示例来源:origin: com.google.gwt/gwt-servlet
DateCell(boolean isWeekend) {
super(new Date());
cellStyle = css().day();
if (isWeekend) {
cellStyle += " " + css().dayIsWeekend();
}
getElement().setTabIndex(isFiller() ? -1 : 0);
setAriaSelected(false);
}
代码示例来源:origin: com.google.gwt/gwt-servlet
void update(Date current) {
setEnabled(true);
getValue().setTime(current.getTime());
String value = getModel().formatDayOfMonth(getValue());
setText(value);
dateStyle = cellStyle;
if (isFiller()) {
getElement().setTabIndex(-1);
dateStyle += " " + css().dayIsFiller();
} else {
getElement().setTabIndex(0);
String extraStyle = getDatePicker().getStyleOfDate(current);
if (extraStyle != null) {
dateStyle += " " + extraStyle;
}
}
// We want to certify that all date styles have " " before and after
// them for ease of adding to and replacing them.
dateStyle += " ";
updateStyle();
}
代码示例来源:origin: com.google.gwt/gwt-servlet
scrollable.getElement().setTabIndex(-1);
final Widget pager = createPager(view);
if (pager != null) {
代码示例来源:origin: org.gwtbootstrap3/gwtbootstrap3
@Override
public void setTabIndex(final int index) {
uiObject.getElement().setTabIndex(index);
}
代码示例来源:origin: GwtMaterialDesign/gwt-material
@Override
public void setTabIndex(final int index) {
uiObject.getElement().setTabIndex(index);
}
代码示例来源:origin: org.jboss.ballroom/widgets
public DefaultButton(String title) {
super(title);
addStyleName("default-button");
getElement().setTabIndex(0);
}
代码示例来源:origin: org.jboss.ballroom/widgets
public ToolButton(String title) {
super(title);
//addStyleName("default-button");
addStyleName("toolstrip-button");
getElement().setTabIndex(0);
}
代码示例来源:origin: org.jboss.ballroom/widgets
public ToolButton(String title, ClickHandler handler) {
this(title);
addClickHandler(handler);
getElement().setTabIndex(0);
}
代码示例来源:origin: org.jboss.ballroom/widgets
public StatusItem(String name, String title) {
super(name, title);
this.widget = new Label();
this.widget.getElement().setTabIndex(0);
}
代码示例来源:origin: org.jboss.ballroom/widgets
public DefaultButton(String title, ClickHandler handler) {
this(title);
addClickHandler(handler);
getElement().setTabIndex(0);
}
}
代码示例来源:origin: com.haulmont.cuba/cuba-web-toolkit
@Override
public void setTextFieldEnabled(boolean textFieldEnabled) {
super.setTextFieldEnabled(textFieldEnabled);
calendarToggle.getElement().setTabIndex(-1);
}
代码示例来源:origin: org.eclipse.che.core/che-core-ide-app
/** Create view. */
@Inject
public NotificationManagerViewImpl(NotificationManagerViewImplUiBinder uiBinder) {
setContentWidget(uiBinder.createAndBindUi(this));
scrollPanel.getElement().setTabIndex(0);
}
代码示例来源:origin: com.haulmont.cuba/cuba-web-toolkit
public CubaGridLayoutWidget() {
super();
getElement().setTabIndex(-1);
DOM.sinkEvents(getElement(), Event.ONKEYDOWN);
}
代码示例来源:origin: com.haulmont.cuba/cuba-web-toolkit
public CubaCssActionsLayoutWidget() {
super();
getElement().setTabIndex(-1);
DOM.sinkEvents(getElement(), Event.ONKEYDOWN);
}
代码示例来源:origin: com.haulmont.cuba/cuba-web-toolkit
public CubaOrderedActionsLayoutWidget(String className, boolean vertical) {
super(vertical);
getElement().setTabIndex(-1);
setStyleName(className);
DOM.sinkEvents(getElement(), Event.ONKEYDOWN);
}
代码示例来源:origin: net.wetheinter/gwt-user
DateCell(boolean isWeekend) {
super(new Date());
cellStyle = css().day();
if (isWeekend) {
cellStyle += " " + css().dayIsWeekend();
}
getElement().setTabIndex(isFiller() ? -1 : 0);
setAriaSelected(false);
}
代码示例来源:origin: org.jboss.ballroom/widgets
public InlineLink(String title) {
super("<a href='javascript:void(0)' aria-label='"+ SafeHtmlUtils.htmlEscape(title)+"' style='vertical-align:bottom;'>"+title+"</a>");
getElement().setTabIndex(0);
this.sinkEvents(Event.ONKEYDOWN);
this.sinkEvents(Event.ONMOUSEDOWN);
addStyleName("inline-link");
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
DateCell(boolean isWeekend) {
super(new Date());
cellStyle = css().day();
if (isWeekend) {
cellStyle += " " + css().dayIsWeekend();
}
getElement().setTabIndex(isFiller() ? -1 : 0);
setAriaSelected(false);
}
代码示例来源:origin: com.vaadin.addon/vaadin-touchkit-agpl
public VNavigationManager() {
setElement(Document.get().createDivElement());
setStyleName(CLASSNAME);
wrapper.setClassName(WRAPPER_CLASSNAME);
getElement().appendChild(wrapper);
hookTransitionEndListener(Css3Propertynames.transitionEnd(),
wrapper);
getElement().setTabIndex(-1);
}
代码示例来源:origin: org.eclipse.che.core/che-core-ide-ui
CompositeWindowView() {
windowWidth = getClientWidth();
clientLeft = Document.get().getBodyOffsetLeft();
clientTop = Document.get().getBodyOffsetTop();
initView();
initEventHandlers();
sinkEvents(Event.ONMOUSEDOWN | Event.KEYEVENTS | Event.TOUCHEVENTS);
getElement().setTabIndex(0);
getElement().setAttribute("hideFocus", "true");
}
内容来源于网络,如有侵权,请联系作者删除!