| com.gwtext.client.widgets.Component com.gwtext.client.widgets.BoxComponent com.gwtext.client.widgets.Container com.gwtext.client.widgets.Panel com.gwtext.client.widgets.Window
All known Subclasses: com.gwtext.sample.showcase2.client.chooser.ImageChooser,
Window | public class Window extends Panel (Code) | | A specialized panel intended for use as an application window. Windows are floated and draggable by default, and also provide specific
behavior like the ability to maximize and restore (with an event for * minimizing, since the minimize behavior is application-specific).
Windows can also be linked to a WindowGroup or managed by the WindowManager to provide grouping, activation,
to front/back and other application-specific behavior.
|
Inner Class :public static class CloseAction | |
Field Summary | |
public static CloseAction | CLOSE | public static CloseAction | HIDE |
Constructor Summary | |
public | Window() Create a new Window. | public | Window(String title) Create a new Window. | public | Window(String title, int minWidth, int minHeight) Create a new Window. | public | Window(String title, boolean modal, boolean resizable) Create a new Window. | public | Window(String title, int minWidth, int minHeight, boolean modal, boolean resizable) Create a new Window. | public | Window(JavaScriptObject jsObj) |
Method Summary | |
native public void | addListener(WindowListener listener) | native public void | alignTo(Element element, String position, int[] offsetXY) Aligns the window to the specified element. | native public void | anchorTo(Element element, String position, int[] offsetXY) Anchors this window to another element and realigns it when the window is resized or scrolled. | native public void | center() | native public void | close() Closes the window, removes it from the DOM and destroys the window object. | native protected JavaScriptObject | create(JavaScriptObject config) | native public void | focus() Focuses the window. | protected JavaScriptObject | getConfigPrototype() | public int | getExpandOnShow() True to always expand the window when it is displayed, false to keep it in its current state (which may be collapsed) when displayed. | public WindowGroup | getManager() | public int | getMinHeight() The minimum height in pixels allowed for this window. | public int | getMinWidth() The minimum width in pixels allowed for this window. | public String | getResizeHandles() The
Resizable handles config string. | public String | getXType() | native public void | hide() Hides the window, setting it to invisible and applying negative offsets. | public boolean | isConstrain() True to constrain the window to the viewport, false to allow it to fall outside of the viewport. | public boolean | isConstrainHeader() True to constrain the window header to the viewport, allowing the window body to fall outside of the viewport,
false to allow the header to fall outside the viewport. | public boolean | isDraggable() True to allow the window to be dragged by the header bar, false to disable dragging. | public boolean | isMaximized() | public boolean | isMazimizable() True to display the 'maximize' tool button and allow the user to maximize the window, false to hide the button
and disallow maximizing the window. | public boolean | isModal() True to make the window modal and mask everything behind it when displayed, false to display it without
restricting access to other UI elements. | public boolean | isPlain() True to render the window body with a transparent background so that it will blend into the framing elements,
false to add a lighter background color to visually highlight the body element and separate it more distinctly
from the surrounding frame. | public boolean | isResizable() True to allow user resizing at each edge and corner of the window, false to disable resizing. | native public void | maximize() Fits the window within its current container and automatically replaces the 'maximize' tool button with the 'restore' tool button. | native public void | minimize() Placeholder method for minimizing the window. | native public void | restore() Restores a maximized window back to its original size and position prior to being maximized and also replaces the 'restore'
tool button with the 'maximize' tool button. | native public void | setActive() Makes this the active window by showing its shadow. | native public void | setActive(boolean active) Makes this the active window by showing its shadow, or deactivates it by hiding its shadow. | public void | setAnimateTarget(String animateTarget) Id from which the window should animate while opening. | public void | setAnimateTarget(Element animateTarget) Element from which the window should animate while opening. | public void | setBaseCls(String baseCls) The base CSS class to apply to this panel's element. | public void | setClosable(boolean closable) True to display the 'close' tool button and allow the user to close the window, false to hide the button
and disallow closing the window. | public void | setCloseAction(Window.CloseAction closeAction) The action to take when the close button is clicked. | public void | setConstrain(boolean constrain) True to constrain the window to the viewport, false to allow it to fall outside of the viewport. | public void | setConstrainHeader(boolean constrainHeader) True to constrain the window header to the viewport, allowing the window body to fall outside of the viewport,
false to allow the header to fall outside the viewport. | public void | setDefaultButton(int buttonIndex) The button that should focus when the window receives focus. | public void | setDefaultButton(String defaultButton) The button that should focus when the window receives focus. | public void | setDefaultButton(Element defaultButton) The button that should focus when the window receives focus. | public void | setDraggable(boolean draggable) True to allow the window to be dragged by the header bar, false to disable dragging. | public void | setExpandOnShow(boolean expandOnShow) | public void | setManager(WindowGroup manager) A reference to the WindowGroup that should manage this window (defaults to
WindowMgr ). | public void | setMaximizable(boolean maximizable) True to display the 'maximize' tool button and allow the user to maximize the window, false to hide the button
and disallow maximizing the window. | public void | setMinHeight(int minHeight) The minimum height in pixels allowed for this window. | public void | setMinWidth(int minWidth) The minimum width in pixels allowed for this window. | public void | setMinimizable(boolean minimizable) True to display the 'minimize' tool button and allow the user to minimize the window, false to hide the button
and disallow minimizing the window. | public void | setModal(boolean modal) True to make the window modal and mask everything behind it when displayed, false to display it without
restricting access to other UI elements. | public void | setPlain(boolean plain) True to render the window body with a transparent background so that it will blend into the framing elements,
false to add a lighter background color to visually highlight the body element and separate it more distinctly
from the surrounding frame. | public void | setResizable(boolean resizable) True to allow user resizing at each edge and corner of the window, false to disable resizing. | public void | setResizeHandles(String resizeHandles) A valid
Resizable handles config string. | native public void | show() | native public void | show(String animationTargetID) | native public void | show(Element animationTarget) | native public void | toBack() | native public void | toFront() | native public void | toggleMaximize() A shortcut method for toggling between maximize and restore based on the current maximized state of the window. |
CLOSE | public static CloseAction CLOSE(Code) | | |
HIDE | public static CloseAction HIDE(Code) | | |
Window | public Window()(Code) | | Create a new Window.
|
Window | public Window(String title)(Code) | | Create a new Window.
Parameters: title - the title |
Window | public Window(String title, int minWidth, int minHeight)(Code) | | Create a new Window.
Parameters: title - the title Parameters: minWidth - the min width Parameters: minHeight - the min height |
Window | public Window(String title, boolean modal, boolean resizable)(Code) | | Create a new Window.
Parameters: title - the title Parameters: modal - true for modal Parameters: resizable - true for resizable |
Window | public Window(String title, int minWidth, int minHeight, boolean modal, boolean resizable)(Code) | | Create a new Window.
Parameters: title - the title Parameters: minWidth - the min width Parameters: minHeight - the min height Parameters: modal - true for modal Parameters: resizable - true for resizable |
Window | public Window(JavaScriptObject jsObj)(Code) | | |
alignTo | native public void alignTo(Element element, String position, int[] offsetXY)(Code) | | Aligns the window to the specified element.
Parameters: element - the element to align to Parameters: position - the position to align to Parameters: offsetXY - offset the positioning by [x, y] |
anchorTo | native public void anchorTo(Element element, String position, int[] offsetXY)(Code) | | Anchors this window to another element and realigns it when the window is resized or scrolled.
Parameters: element - the element to anchor to Parameters: position - the position to anchor to Parameters: offsetXY - offset the positioning by [x, y] |
center | native public void center()(Code) | | Centers this window in the viewport
|
close | native public void close()(Code) | | Closes the window, removes it from the DOM and destroys the window object.
The beforeclose event is fired before the close happens and will cancel the close action if it returns false.
|
create | native protected JavaScriptObject create(JavaScriptObject config)(Code) | | |
getConfigPrototype | protected JavaScriptObject getConfigPrototype()(Code) | | |
getExpandOnShow | public int getExpandOnShow()(Code) | | True to always expand the window when it is displayed, false to keep it in its current state (which may be collapsed) when displayed.
expandOnShow Defaults to true |
getMinHeight | public int getMinHeight()(Code) | | The minimum height in pixels allowed for this window. Only applies when resizable = true.
the minHeight Defaults to 100 pixels |
getMinWidth | public int getMinWidth()(Code) | | The minimum width in pixels allowed for this window. Only applies when resizable = true.
the min width (Defaults to 200 pixels) |
getResizeHandles | public String getResizeHandles()(Code) | | The
Resizable handles config string. Only applies when resizable = true.
the resizable config string |
hide | native public void hide()(Code) | | Hides the window, setting it to invisible and applying negative offsets.
|
isConstrain | public boolean isConstrain()(Code) | | True to constrain the window to the viewport, false to allow it to fall outside of the viewport. Default value is false.
Optionally the header only can be constrained using
Window.setConstrainHeader(boolean) .
constrain Defaults to false |
isConstrainHeader | public boolean isConstrainHeader()(Code) | | True to constrain the window header to the viewport, allowing the window body to fall outside of the viewport,
false to allow the header to fall outside the viewport. Optionally the entire window can be constrained
using constrain.
constrainHeader Defaults to false |
isDraggable | public boolean isDraggable()(Code) | | True to allow the window to be dragged by the header bar, false to disable dragging.
Note that by default the window will be centered in the viewport, so if dragging is disabled the window
may need to be positioned programmatically after render (e.g., myWindow.setPosition(100, 100);).
draggable Defaults to true |
isMaximized | public boolean isMaximized()(Code) | | |
isMazimizable | public boolean isMazimizable()(Code) | | True to display the 'maximize' tool button and allow the user to maximize the window, false to hide the button
and disallow maximizing the window. Note that when a window is maximized, the tool button
will automatically change to a 'restore' button with the appropriate behavior already built-in that will restore
the window to its previous size.
maximizable Defaults to false |
isModal | public boolean isModal()(Code) | | True to make the window modal and mask everything behind it when displayed, false to display it without
restricting access to other UI elements.
true if modal |
isPlain | public boolean isPlain()(Code) | | True to render the window body with a transparent background so that it will blend into the framing elements,
false to add a lighter background color to visually highlight the body element and separate it more distinctly
from the surrounding frame.
true if plain |
isResizable | public boolean isResizable()(Code) | | True to allow user resizing at each edge and corner of the window, false to disable resizing.
true to allow user resizing at each edge and corner of the window, false to disable resizing. |
maximize | native public void maximize()(Code) | | Fits the window within its current container and automatically replaces the 'maximize' tool button with the 'restore' tool button.
|
minimize | native public void minimize()(Code) | | Placeholder method for minimizing the window. By default, this method simply fires the minimize event since the behavior of
minimizing a window is application-specific. To implement custom minimize behavior, either the minimize event can be handled
or this method can be overridden.
|
restore | native public void restore()(Code) | | Restores a maximized window back to its original size and position prior to being maximized and also replaces the 'restore'
tool button with the 'maximize' tool button.
|
setActive | native public void setActive()(Code) | | Makes this the active window by showing its shadow. This method also fires
the activate or deactivate event depending on which action occurred.
|
setActive | native public void setActive(boolean active)(Code) | | Makes this the active window by showing its shadow, or deactivates it by hiding its shadow. This method also fires
the activate or deactivate event depending on which action occurred.
Parameters: active - true to activate the window, false to deactivate it (defaults to false) |
setAnimateTarget | public void setAnimateTarget(String animateTarget) throws IllegalStateException(Code) | | Id from which the window should animate while opening.
Parameters: animateTarget - By default the id is set to null and there is no animation throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setAnimateTarget | public void setAnimateTarget(Element animateTarget) throws IllegalStateException(Code) | | Element from which the window should animate while opening.
Parameters: animateTarget - By default the element is set to null and there is no animation. throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setBaseCls | public void setBaseCls(String baseCls) throws IllegalStateException(Code) | | The base CSS class to apply to this panel's element.
Parameters: baseCls - Defaults to 'x-window' throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setClosable | public void setClosable(boolean closable) throws IllegalStateException(Code) | | True to display the 'close' tool button and allow the user to close the window, false to hide the button
and disallow closing the window. The default value is true.
Parameters: closable - true for closable throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setCloseAction | public void setCloseAction(Window.CloseAction closeAction)(Code) | | The action to take when the close button is clicked. The default action is
Window.CLOSE which will actually
remove the window from the DOM and destroy it. The other valid option is
Window.HIDE which will simply hide
the window by setting visibility to hidden and applying negative offsets, keeping the window available
to be redisplayed via the show method.
Note: This property cannot be changed after the Component has been rendered.
Parameters: closeAction - Defaults to CLOSE |
setConstrain | public void setConstrain(boolean constrain) throws IllegalStateException(Code) | | True to constrain the window to the viewport, false to allow it to fall outside of the viewport. Default value is false.
Optionally the header only can be constrained using
Window.setConstrainHeader(boolean) .
Parameters: constrain - Defaults to false throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setConstrainHeader | public void setConstrainHeader(boolean constrainHeader) throws IllegalStateException(Code) | | True to constrain the window header to the viewport, allowing the window body to fall outside of the viewport,
false to allow the header to fall outside the viewport. Optionally the entire window can be constrained
using constrain.
Parameters: constrainHeader - Defaults to false throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setDefaultButton | public void setDefaultButton(int buttonIndex) throws IllegalStateException(Code) | | The button that should focus when the window receives focus.
Parameters: buttonIndex - the button index throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setDefaultButton | public void setDefaultButton(String defaultButton) throws IllegalStateException(Code) | | The button that should focus when the window receives focus.
Parameters: defaultButton - the default button throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setDefaultButton | public void setDefaultButton(Element defaultButton) throws IllegalStateException(Code) | | The button that should focus when the window receives focus.
Parameters: defaultButton - the default button throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setDraggable | public void setDraggable(boolean draggable) throws IllegalStateException(Code) | | True to allow the window to be dragged by the header bar, false to disable dragging.
Note that by default the window will be centered in the viewport, so if dragging is disabled the window
may need to be positioned programmatically after render (e.g., myWindow.setPosition(100, 100);).
Parameters: draggable - Defaults to true throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setExpandOnShow | public void setExpandOnShow(boolean expandOnShow) throws IllegalStateException(Code) | | True to always expand the window when it is displayed, false to keep it in its current state (which may be collapsed) when displayed
Parameters: expandOnShow - Defaults to true throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setManager | public void setManager(WindowGroup manager)(Code) | | A reference to the WindowGroup that should manage this window (defaults to
WindowMgr ).
Parameters: manager - the window manager |
setMaximizable | public void setMaximizable(boolean maximizable) throws IllegalStateException(Code) | | True to display the 'maximize' tool button and allow the user to maximize the window, false to hide the button
and disallow maximizing the window. Note that when a window is maximized, the tool button
will automatically change to a 'restore' button with the appropriate behavior already built-in that will restore
the window to its previous size.
Parameters: maximizable - Defaults to false throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setMinHeight | public void setMinHeight(int minHeight) throws IllegalStateException(Code) | | The minimum height in pixels allowed for this window. Only applies when resizable = true.
Parameters: minHeight - Defaults to 100 pixels throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setMinWidth | public void setMinWidth(int minWidth) throws IllegalStateException(Code) | | The minimum width in pixels allowed for this window. Only applies when resizable = true.
Parameters: minWidth - Defaults to 200 pixels throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setMinimizable | public void setMinimizable(boolean minimizable) throws IllegalStateException(Code) | | True to display the 'minimize' tool button and allow the user to minimize the window, false to hide the button
and disallow minimizing the window. Note that this button provides no implementation --
the behavior of minimizing a window is implementation-specific, so the minimize event must be handled and a custom
minimize behavior implemented for this option to be useful.
Parameters: minimizable - Defaults to false throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setModal | public void setModal(boolean modal) throws IllegalStateException(Code) | | True to make the window modal and mask everything behind it when displayed, false to display it without
restricting access to other UI elements.
Parameters: modal - Defaults to false throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setPlain | public void setPlain(boolean plain) throws IllegalStateException(Code) | | True to render the window body with a transparent background so that it will blend into the framing elements,
false to add a lighter background color to visually highlight the body element and separate it more distinctly
from the surrounding frame.
Parameters: plain - Defaults to false throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setResizable | public void setResizable(boolean resizable) throws IllegalStateException(Code) | | True to allow user resizing at each edge and corner of the window, false to disable resizing.
Parameters: resizable - Defaults to true throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
show | native public void show()(Code) | | Shows the window, rendering it first if necessary, or activates it and brings it to front if hidden
|
show | native public void show(String animationTargetID)(Code) | | Shows the window, rendering it first if necessary, or activates it and brings it to front if hidden
Parameters: animationTargetID - The target element id from which the window should animate while opening |
show | native public void show(Element animationTarget)(Code) | | Shows the window, rendering it first if necessary, or activates it and brings it to front if hidden
Parameters: animationTarget - The target element from which the window should animate while opening |
toBack | native public void toBack()(Code) | | Sends this window to the back of (lower z-index than) any other visible windows
|
toFront | native public void toFront()(Code) | | Brings this window to the front of any other visible windows
|
toggleMaximize | native public void toggleMaximize()(Code) | | A shortcut method for toggling between maximize and restore based on the current maximized state of the window.
|
Methods inherited from com.gwtext.client.widgets.Panel | public void addButton(Button button)(Code)(Java Doc) native public void addListener(PanelListener listener)(Code)(Java Doc) public void addTool(Tool tool) throws IllegalStateException(Code)(Java Doc) public void collapse()(Code)(Java Doc) public void collapse(boolean animate)(Code)(Java Doc) native protected JavaScriptObject create(JavaScriptObject config)(Code)(Java Doc) public void expand()(Code)(Java Doc) public void expand(boolean animate)(Code)(Java Doc) public String getBaseCls()(Code)(Java Doc) native public ExtElement getBody()(Code)(Java Doc) public String getBodyStyle()(Code)(Java Doc) native public ExtElement getBodyWrap()(Code)(Java Doc) native public Toolbar getBottomToolbar()(Code)(Java Doc) public boolean getCollapseFirst()(Code)(Java Doc) public String getCollapsedCls()(Code)(Java Doc) protected JavaScriptObject getConfigPrototype()(Code)(Java Doc) public boolean getFloating()(Code)(Java Doc) native public ExtElement getFooter()(Code)(Java Doc) native public int getFrameHeight()(Code)(Java Doc) native public int getFrameWidth()(Code)(Java Doc) native public ExtElement getHeader()(Code)(Java Doc) public String getHtml()(Code)(Java Doc) public String getIconCls()(Code)(Java Doc) native public int getInnerHeight()(Code)(Java Doc) native public int getInnerWidth()(Code)(Java Doc) public int getMinButtonWidth() throws IllegalStateException(Code)(Java Doc) public int getShadowOffset()(Code)(Java Doc) public String getTitle()(Code)(Java Doc) native public Toolbar getTopToolbar()(Code)(Java Doc) native public UpdateManager getUpdateManager()(Code)(Java Doc) public String getXType()(Code)(Java Doc) public boolean isAnimCollapse()(Code)(Java Doc) public boolean isAutoScroll()(Code)(Java Doc) public boolean isBodyBorder()(Code)(Java Doc) public boolean isBorder()(Code)(Java Doc) public boolean isClosable()(Code)(Java Doc) public boolean isCollapsed()(Code)(Java Doc) public boolean isCollapsible()(Code)(Java Doc) public boolean isFrame()(Code)(Java Doc) public boolean isHeader()(Code)(Java Doc) public boolean isHeaderAsText()(Code)(Java Doc) public boolean isHideCollapseTool()(Code)(Java Doc) public boolean isMaskDisabled()(Code)(Java Doc) public boolean isShadow()(Code)(Java Doc) public boolean isShim()(Code)(Java Doc) public boolean isTitleCollapse()(Code)(Java Doc) public void load(String url)(Code)(Java Doc) public void load(String url, UrlParam[] params, UrlLoadCallback callback, boolean loadScripts)(Code)(Java Doc) public void setAnimCollapse(boolean animCollapse)(Code)(Java Doc) public void setAutoLoad(String url)(Code)(Java Doc) public void setAutoLoad(String url, UrlLoadConfig loadConfig) throws IllegalStateException(Code)(Java Doc) public void setAutoScroll(boolean autoScroll) throws IllegalStateException(Code)(Java Doc) public void setBaseCls(String baseCls) throws IllegalStateException(Code)(Java Doc) public void setBodyBorder(boolean bodyBorder) throws IllegalStateException(Code)(Java Doc) public void setBodyStyle(String bodyStyle) throws IllegalStateException(Code)(Java Doc) public void setBorder(boolean border) throws IllegalStateException(Code)(Java Doc) public void setBottomToolbar(Toolbar toolbar)(Code)(Java Doc) public void setBottomToolbar(Button button) throws IllegalStateException(Code)(Java Doc) public void setBottomToolbar(Button[] buttons) throws IllegalStateException(Code)(Java Doc) public void setButtonAlign(Position buttonAlign) throws IllegalStateException(Code)(Java Doc) public void setButtons(Button[] buttons) throws IllegalStateException(Code)(Java Doc) public void setClosable(boolean closable) throws IllegalStateException(Code)(Java Doc) public void setCollapseFirst(boolean collapseFirst) throws IllegalStateException(Code)(Java Doc) public void setCollapsed(boolean collapsed)(Code)(Java Doc) public void setCollapsedCls(String collapsedCls) throws IllegalStateException(Code)(Java Doc) public void setCollapsible(boolean collapsible) throws IllegalStateException(Code)(Java Doc) public void setContentEl(Element contentEl) throws IllegalStateException(Code)(Java Doc) public void setDraggable(boolean draggable) throws IllegalStateException(Code)(Java Doc) public void setFloating(boolean floating) throws IllegalStateException(Code)(Java Doc) public void setFooter(boolean footer) throws IllegalStateException(Code)(Java Doc) public void setFrame(boolean frame) throws IllegalStateException(Code)(Java Doc) public void setHeader(boolean header) throws IllegalStateException(Code)(Java Doc) public void setHeaderAsText(boolean headerAsText)(Code)(Java Doc) public void setHideCollapseTool(boolean hideCollapseTool) throws IllegalStateException(Code)(Java Doc) public void setHtml(String html)(Code)(Java Doc) public void setIconCls(String iconCls)(Code)(Java Doc) public void setMargins(int margin) throws IllegalStateException(Code)(Java Doc) public void setMargins(int top, int left, int right, int bottom) throws IllegalStateException(Code)(Java Doc) public void setMaskDisabled(boolean maskDisabled) throws IllegalStateException(Code)(Java Doc) public void setMinButtonWidth(int minButtonWidth) throws IllegalStateException(Code)(Java Doc) public void setPaddings(int padding) throws IllegalStateException(Code)(Java Doc) public void setPaddings(int top, int left, int right, int bottom) throws IllegalStateException(Code)(Java Doc) public void setShadow(boolean shadow)(Code)(Java Doc) public void setShadow(Shadow.Type shadow)(Code)(Java Doc) public void setShadowOffset(int shadowOffset) throws IllegalStateException(Code)(Java Doc) public void setShim(boolean shim) throws IllegalStateException(Code)(Java Doc) public void setStyleName(String style)(Code)(Java Doc) public void setTitle(String title, String iconCls)(Code)(Java Doc) public void setTitle(String title)(Code)(Java Doc) public void setTitleCollapse(boolean titleCollapse) throws IllegalStateException(Code)(Java Doc) public void setTools(Tool[] tools) throws IllegalStateException(Code)(Java Doc) public void setTopToolbar(Toolbar toolbar) throws IllegalStateException(Code)(Java Doc) public void setTopToolbar(Button button) throws IllegalStateException(Code)(Java Doc) public void setTopToolbar(Button[] buttons) throws IllegalStateException(Code)(Java Doc) native public void toggleCollapse()(Code)(Java Doc) native public void toggleCollapse(boolean animate)(Code)(Java Doc)
|
Methods inherited from com.gwtext.client.widgets.Component | public void addClass(String cls)(Code)(Java Doc) native public void addClassCreated(String cls)(Code)(Java Doc) native public void addEvent(String events)(Code)(Java Doc) public void addEvents(String[] events)(Code)(Java Doc) protected void addListener(String event, JavaScriptObject fn)(Code)(Java Doc) native public void addListener(String event, Function funtion)(Code)(Java Doc) native protected void addListener(ComponentListener listener)(Code)(Java Doc) protected void afterRender()(Code)(Java Doc) protected void beforeDestroy()(Code)(Java Doc) protected void check() throws IllegalStateException(Code)(Java Doc) public Component cloneComponent()(Code)(Java Doc) public Component cloneComponent(Component overrides)(Code)(Java Doc) native protected JavaScriptObject cloneConfig(JavaScriptObject config)(Code)(Java Doc) abstract protected JavaScriptObject create(JavaScriptObject config)(Code)(Java Doc) native public void destroy()(Code)(Java Doc) public void disable()(Code)(Java Doc) public void enable()(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) protected void error(String message) throws IllegalStateException(Code)(Java Doc) public void focus()(Code)(Java Doc) native public void focus(boolean selectText)(Code)(Java Doc) native public void focus(boolean selectText, int delay)(Code)(Java Doc) public Element getApplyTo()(Code)(Java Doc) protected String getAttribute(String attribute)(Code)(Java Doc) protected boolean getAttributeAsBoolean(String attribute)(Code)(Java Doc) protected float getAttributeAsFloat(String attribute)(Code)(Java Doc) protected int getAttributeAsInt(String attribute)(Code)(Java Doc) protected JavaScriptObject getAttributeAsJavaScriptObject(String attribute)(Code)(Java Doc) public boolean getAutoShow()(Code)(Java Doc) public String getCls()(Code)(Java Doc) native protected static JavaScriptObject getComponentJS(String id)(Code)(Java Doc) public JavaScriptObject getConfig()(Code)(Java Doc) abstract protected JavaScriptObject getConfigPrototype()(Code)(Java Doc) public String getCtCls()(Code)(Java Doc) public String getDisabledClass()(Code)(Java Doc) native public ExtElement getEl()(Code)(Java Doc) native protected Element getElement(JavaScriptObject jsObj)(Code)(Java Doc) public Element getElement()(Code)(Java Doc) public String getHideMode()(Code)(Java Doc) public boolean getHideParent()(Code)(Java Doc) public String getId()(Code)(Java Doc) native public String getItemId()(Code)(Java Doc) public JavaScriptObject getJsObj()(Code)(Java Doc) public int getOffsetHeight()(Code)(Java Doc) public int getOffsetWidth()(Code)(Java Doc) public JavaScriptObject getOrCreateJsObj()(Code)(Java Doc) native public Container getOwnerContainer()(Code)(Java Doc) public Element getRenderTo()(Code)(Java Doc) public String[] getStateEvents()(Code)(Java Doc) public String getStateId()(Code)(Java Doc) public String getStyle()(Code)(Java Doc) protected Element getStyleElement()(Code)(Java Doc) public String getTitle()(Code)(Java Doc) public String getXType()(Code)(Java Doc) native public String getXTypes()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public void hide()(Code)(Java Doc) protected void initComponent()(Code)(Java Doc) public boolean isCreated()(Code)(Java Doc) public boolean isDisabled()(Code)(Java Doc) public boolean isHidden()(Code)(Java Doc) native public boolean isRendered()(Code)(Java Doc) native public boolean isVisible()(Code)(Java Doc) native public boolean isXType(String xtype)(Code)(Java Doc) native public boolean isXType(String xtype, boolean shallow)(Code)(Java Doc) protected void onDestroy()(Code)(Java Doc) native public void removeClass(String cls)(Code)(Java Doc) native public void render(String id)(Code)(Java Doc) native public void render(String id, String position)(Code)(Java Doc) native public void render(String id, int position)(Code)(Java Doc) native public void render(Element element)(Code)(Java Doc) native public void render(Element element, String position)(Code)(Java Doc) native public void render(Element element, int position)(Code)(Java Doc) public void setApplyTo(Element element) throws IllegalStateException(Code)(Java Doc) protected void setAttribute(String attribute, String value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, String value, boolean allowPostCreate, boolean allowPostRendered)(Code)(Java Doc) protected void setAttribute(String attribute, int[] value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, int[] value, boolean allowPostCreate, boolean allowPostRender)(Code)(Java Doc) protected void setAttribute(String attribute, long value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, double value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, int value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, int value, boolean allowPostCreate, boolean allowPostRender)(Code)(Java Doc) protected void setAttribute(String attribute, Date value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, JavaScriptObject value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, JavaScriptObject value, boolean allowPostCreate, boolean allowPostRender)(Code)(Java Doc) protected void setAttribute(String attribute, String[] value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, String[] value, boolean allowPostCreate, boolean allowPostRender)(Code)(Java Doc) protected void setAttribute(String attribute, boolean value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, boolean value, boolean allowPostCreate, boolean allowPostRendered)(Code)(Java Doc) protected void setAttribute(String attribute, Element value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, Element value, boolean allowPostCreate, boolean allowPostRendered)(Code)(Java Doc) public void setAutoEl(String autoEl)(Code)(Java Doc) public void setAutoShow(boolean autoShow) throws IllegalStateException(Code)(Java Doc) public void setCls(String cls)(Code)(Java Doc) public void setCtCls(String ctCls) throws IllegalStateException(Code)(Java Doc) public void setDisabled(boolean disabled)(Code)(Java Doc) public void setDisabledClass(String disabledClass)(Code)(Java Doc) public void setEl(Element el) throws IllegalStateException(Code)(Java Doc) public void setEl(String elementID) throws IllegalStateException(Code)(Java Doc) public void setHeight(String height)(Code)(Java Doc) public void setHideMode(String hideMode)(Code)(Java Doc) public void setHideParent(boolean hideParent) throws IllegalStateException(Code)(Java Doc) final public void setId(String id) throws IllegalStateException(Code)(Java Doc) public void setRenderTo(Element elem) throws IllegalStateException(Code)(Java Doc) public void setStateEvents(String[] stateEvents) throws IllegalStateException(Code)(Java Doc) public void setStateId(String stateId) throws IllegalStateException(Code)(Java Doc) public void setStyle(String style) throws IllegalStateException(Code)(Java Doc) public void setTitle(String title)(Code)(Java Doc) public void setVisible(boolean visible)(Code)(Java Doc) public void setWidth(String width)(Code)(Java Doc) public void show()(Code)(Java Doc)
|
|
|