com.ibm.mashups.enabler.runtime.skin
Interface RuntimeSkinNode

All Superinterfaces:
Identifiable

public RuntimeSkinNode
extends Identifiable

Interface representing a runtime skin node

Since:
2.4

Method Summary
 JSON getStyle()
           Returns the style attributes of the layout node represented by this runtime skin node
 String getDynamicContent(String name)
           Returns the value of a client side dynamic content.
 LayoutNode getLayoutNode()
           Returns the layout node represented by this runtime skin node
 Object getDomElementForDynamicContent(String name)
           Returns the HTML DOM Element for the specified client side dynamic content.
 
Methods inherited from interface com.ibm.mashups.enabler.Identifiable
getID
 

Method Detail

getStyle

JSON getStyle()
Returns the style attributes of the layout node represented by this runtime skin node

Returns:
style style attributes as a JSON object. Must not be null. For example:
{
  position: "absolute",
  left: "18px",
  width: "400px",
  height: "325px",
  z-index "51",
}


getDynamicContent

String getDynamicContent(String name)
Returns the value of a client side dynamic content. See  Constants for dynamic content name constants

Parameters:
name - name of the client side dynamic content spot to return. May not be null
Returns:
value of the client side dynamic content spot, null if it does not exist
See Also:
Constants

getLayoutNode

LayoutNode getLayoutNode()
Returns the layout node represented by this runtime skin node

Returns:
the layout node which contains this runtime skin. Will not be null

getDomElementForDynamicContent

Object getDomElementForDynamicContent(String name)
Returns the HTML DOM Element for the specified client side dynamic content. See  Constants for dynamic content name constants

Parameters:
name - name of the client side dynamic content spot to return. May not be null
Returns:
HTML DOM Element for the client side dynamic content, null if it does not exist


Copyright IBM Corp. 2010 All Rights Reserved.