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

All Known Implementing Classes:
BorderLayoutContainer

public interface HasCenterWidget

A widget that implements this interface contains a widget in the "center" position. This interface provides access to that widget, if it exists, without compromising the ability to provide a mock container instance in JRE unit tests.

See Also:
BorderLayoutContainer

Method Summary
 Widget getCenterWidget()
          Returns the center widget or null if one has not been set.
 void setCenterWidget(IsWidget widget)
          Sets the center widget, replacing any existing center widget.
 

Method Detail

getCenterWidget

Widget getCenterWidget()
Returns the center widget or null if one has not been set.

Returns:
the center widget or null if one has not been set

setCenterWidget

void setCenterWidget(IsWidget widget)
Sets the center widget, replacing any existing center widget.

Parameters:
widget - the new widget to place in the center position of the container


Copyright © 2012. All Rights Reserved.