com.extjs.gxt.ui.client.widget.toolbar.SeparatorToolItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxt Show documentation
Show all versions of gxt Show documentation
Rich Internet Application Framework for GWT
/*
* Sencha GXT 2.3.1a - Sencha for GWT
* Copyright(c) 2007-2013, Sencha, Inc.
* [email protected]
*
* http://www.sencha.com/products/gxt/license/
*/
package com.extjs.gxt.ui.client.widget.toolbar;
import com.extjs.gxt.ui.client.widget.Component;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Element;
/**
* A tool bar separator.
*/
public class SeparatorToolItem extends Component {
public SeparatorToolItem() {
getAriaSupport().setPresentation(true);
}
@Override
protected void onRender(Element target, int index) {
setElement(DOM.createSpan(), target, index);
setStyleName("xtb-sep");
}
}