com.sencha.gxt.widget.core.client.container
Class AbstractHtmlLayoutContainer.HtmlData

java.lang.Object
  extended by com.sencha.gxt.widget.core.client.container.MarginData
      extended by 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.


Constructor Summary
AbstractHtmlLayoutContainer.HtmlData(String selector)
          Creates an HTML layout parameter with the specified selector value.
 
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.
 
Methods inherited from class com.sencha.gxt.widget.core.client.container.MarginData
getMargins, setMargins
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.