01: /*
02: * GWT-Ext Widget Library
03: * Copyright(c) 2007-2008, GWT-Ext.
04: * licensing@gwt-ext.com
05: *
06: * http://www.gwt-ext.com/license
07: */
08:
09: package com.gwtext.client.widgets;
10:
11: import com.google.gwt.core.client.JavaScriptObject;
12:
13: /**
14: * Toolbar separator class.
15: */
16: public class ToolbarSeparator extends ToolbarItem {
17:
18: public ToolbarSeparator(JavaScriptObject jsObj) {
19: super (jsObj);
20: }
21:
22: /**
23: * Create a new separator.
24: */
25: public ToolbarSeparator() {
26: setJsObj(create());
27: }
28:
29: private native JavaScriptObject create() /*-{
30: return new $wnd.Ext.Toolbar.Separator();
31: }-*/;
32: }
|