com.sencha.gxt.widget.core.client.container
Class AbstractHtmlLayoutContainer.HtmlData
java.lang.Object
com.sencha.gxt.widget.core.client.container.MarginData
com.sencha.gxt.widget.core.client.container.AbstractHtmlLayoutContainer.HtmlData
- All Implemented Interfaces:
- HasMargins
- Enclosing class:
- AbstractHtmlLayoutContainer
public static class AbstractHtmlLayoutContainer.HtmlData
- extends MarginData
Specifies HTML layout parameters, such as the mapping of each child to a
corresponding selector in the HTML template. For a code snippet that
illustrates the use of this class, see HtmlLayoutContainer.
|
Method Summary |
String |
getSelector()
Returns the selector that identifies the element in the HTML template to
which the associated widget is attached. |
void |
setSelector(String selector)
Sets the selector that identifies the element in the HTML template to
which the associated widget is attached. |
AbstractHtmlLayoutContainer.HtmlData
public AbstractHtmlLayoutContainer.HtmlData(String selector)
- Creates an HTML layout parameter with the specified selector value.
- Parameters:
selector - identifies the element in the HTML template to which the
associated widget is attached. If more than one element matches
the selector, the first matching element is selected.
getSelector
public String getSelector()
- Returns the selector that identifies the element in the HTML template to
which the associated widget is attached.
- Returns:
- the selector for the widget
setSelector
public void setSelector(String selector)
- Sets the selector that identifies the element in the HTML template to
which the associated widget is attached.
- Parameters:
selector - identifies the element in the HTML template to which the
associated widget is attached. If more than one element matches
the selector, the first matching element is selected.
Copyright © 2012. All Rights Reserved.