com.sencha.gxt.widget.core.client.container
Interface HasLayout

All Known Implementing Classes:
AbstractInputMessageBox, AccordionLayoutContainer, AdapterField, AlertMessageBox, AutoProgressMessageBox, BorderLayoutContainer, BoxLayoutContainer, ButtonBar, ButtonGroup, CardLayoutContainer, CenterLayoutContainer, ConfirmMessageBox, ContentPanel, CssFloatLayoutContainer, Dialog, DualListField, FieldLabel, FieldSet, FormPanel, FramedPanel, HBoxLayoutContainer, HorizontalLayoutContainer, HtmlEditor, InsertResizeContainer, ListField, MessageBox, MultiLinePromptMessageBox, NorthSouthContainer, PagingToolBar, PlainTabPanel, Popup, PortalLayoutContainer, Portlet, ProgressMessageBox, PromptMessageBox, ResizeContainer, SimpleContainer, TabPanel, ToolBar, VBoxLayoutContainer, VerticalLayoutContainer, Viewport, Window

public interface HasLayout

A widget that implements this interface has the ability to lay out its children. This interface provides access to the layout capability without compromising the ability to provide a mock container instance in JRE unit tests.


Method Summary
 void forceLayout()
          Forces a class that implements HasLayout to lay out its child widgets.
 boolean isLayoutRunning()
          Returns true if invoked when a class that implements HasLayout is in the process of laying out it's children.
 boolean isOrWasLayoutRunning()
          Returns true if invoked when a class that implements HasLayout is in the process of laying out it's children or has performed a lay out in the past.
 

Method Detail

forceLayout

void forceLayout()
Forces a class that implements HasLayout to lay out its child widgets.


isLayoutRunning

boolean isLayoutRunning()
Returns true if invoked when a class that implements HasLayout is in the process of laying out it's children. Useful in avoiding recursive lay out operations.

Returns:
true if in the process of performing a lay out operation

isOrWasLayoutRunning

boolean isOrWasLayoutRunning()
Returns true if invoked when a class that implements HasLayout is in the process of laying out it's children or has performed a lay out in the past.

Returns:
true if a layout is running or has run, false if a layout has not yet been performed.


Copyright © 2012. All Rights Reserved.