Namespace cwi.smilText.Render
Hold all smilText rendering functionalities.
Defined in: cwi.smilText.js.
Method Summary
Method Detail
cwi.smilText.Render.appendText(doc, str, layout, force)
Append text to a given region.
Parameters:
{cwi.smilText.STDocument} | doc | the smilText document. |
{string} | str | the string to be appended. |
{string} | layout | the id of the rendering region. |
{string} | force | true to guaratee that the primitive will be issued. |
See:
cwi.smilText.STDocument |
cwi.smilText.Render.appendLineBreak(doc, layout, force)
Append a linebreak to a given region.
Parameters:
{cwi.smilText.STDocument} | doc | the smilText document. |
{string} | layout | the id of the rendering region. |
{string} | force | true to guaratee that the primitive will be issued. |
See:
cwi.smilText.STDocument |
cwi.smilText.Render.clearLayout(doc, layout, force)
Clear a given region.
Parameters:
{cwi.smilText.STDocument} | doc | the smilText document. |
{string} | layout | the id of the rendering region. |
{string} | force | true to guaratee that the primitive will be issued. |
See:
cwi.smilText.STDocument |
cwi.smilText.Render.appendContainer(doc, containerName, layout, force)
Append a container to a given region.
Parameters:
{cwi.smilText.STDocument} | doc | the smilText document. |
{string} | containerName | the name (id) of the new container. It must be unique and start with smiltext, div, p or span. |
{string} | layout | the id of the rendering region. |
{string} | force | true to guaratee that the primitive will be issued. |
See:
cwi.smilText.STDocument |
cwi.smilText.Render.closeContainer(doc)
Set the end of the life cycle of a smilText tag.
Parameters:
{cwi.smilText.STDocument} | doc | the smilText document. |
See:
cwi.smilText.STDocument |