CubeCardConfig
Updated at:
Introduction
The card configuration class for Cube cards.
Methods
getTemplateId
/**
* Gets the unique ID of the template.
* @return
*/
public String getTemplateId()
setTemplateId
/**
* Sets the unique ID of the template.
* @param templateId
* @return
*/
public CubeCardConfig setTemplateId(String templateId)
getVersion
/**
* Gets the version number of the template.
* @return
*/
public String getVersion()
setVersion
/**
* Sets the version number of the template.
* @param version
* @return
*/
public CubeCardConfig setVersion(String version)
getCardUid
/**
* Gets the unique ID of the card.
* @return
*/
public String getCardUid()
getData
/**
* Gets the card data.
* @return
*/
public JSONObject getData()
setData
/**
* Sets the card data.
* @param data
* @return
*/
public CubeCardConfig setData(JSONObject data)
getWidth
/**
* Gets the preset width of the card.
* @return
*/
public int getWidth()
setWidth
/**
* Sets the preset width of the card.
* @param width
* @return
*/
public CubeCardConfig setWidth(int width)
getHeight
/**
* Gets the preset height of the card.
* @return
*/
public int getHeight()
setHeight
/**
* Sets the preset height of the card.
* @param height
* @return
*/
public CubeCardConfig setHeight(int height)
getExtOption
/**
* Gets the extended parameters of the card.
* @return
*/
public JSONObject getExtOption()
setExtOption
/**
* Sets the extended parameters of the card.
* @param extOption
* @return
*/
public CubeCardConfig setExtOption(JSONObject extOption)
getEnvData
/**
* Gets the environment variable data of the card.
* @return
*/
public JSONObject getEnvData()
setEnvData
/**
* Sets the environment variable data of the card.
* @param envData
* @return
*/
public CubeCardConfig setEnvData(JSONObject envData)
getLayoutChangeListener
/**
* Gets the layout change listener.
* @return
*/
public CCardLayoutChangeListener getLayoutChangeListener()
setLayoutChangeListener
/**
* Sets the layout change listener.
* @param layoutChangeListener
*/
public void setLayoutChangeListener(CCardLayoutChangeListener layoutChangeListener)
Is this page helpful?