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: * A simple element that adds a greedy (100% width) horizontal space to a toolbar.
15: */
16: public class ToolbarFill extends ToolbarItem {
17:
18: /**
19: * Create a new Toolbar Fill.
20: */
21: public ToolbarFill() {
22: setJsObj(create());
23: }
24:
25: private native JavaScriptObject create() /*-{
26: return new $wnd.Ext.Toolbar.Fill();
27: }-*/;
28: }
|