com.ibm.mashups.enabler.model.state
Interface LayoutContainerAccessor

All Superinterfaces:
Accessor

public LayoutContainerAccessor
extends Accessor

Interface representing a LayoutContainerAccessor. Reserved layout container paramers: "w" : the reserved parameter for layout container width.


Method Summary
 String getID()
           Returns the id of the layout container
 Object getSize()
           Returns the size of the required layout container
 LayoutContainerAccessor setSize(String width)
           Set the size of a layout container
 Boolean confirmSetSize(String width)
           Confirms whether it's possible or not to set the layout container to the new width and height
 

Method Detail

getID

String getID()
Returns the id of the layout container

Returns:
ID of required layout container

getSize

Object getSize()
Returns the size of the required layout container

Returns:
A JSON object representing the layout container width, for example: { w:"70%"}

setSize

LayoutContainerAccessor setSize(String width)
Set the size of a layout container

Parameters:
width - The width of the layout container
Returns:
return an handle of LayoutContainerAccessor upon successful, null upon failure.

confirmSetSize

Boolean confirmSetSize(String width)
Confirms whether it's possible or not to set the layout container to the new width and height

Parameters:
width - The width of the layout container
Returns:
return true if it's possible to set layout container to the new width and height


Copyright IBM Corp. 2010 All Rights Reserved.