Libraries.Web.Page.TableCaption Documentation
The TableCaption must be added as the first thing in a WebTable. WebTable can only have one caption per table. The TableCaption class represents HTML's (Hypertext Markup Language) caption tag which is used to give a title above a table. You can find more information about this tag at: The caption attribute.
Example Code
use Libraries.Web.Page.all
class Main
action main
//make a web page
WebPage page
WebTable table
TableCaption caption
TableHeader thead
caption:SetDescription("this is the caption")
//add a TableRow to the header
TableRow row
thead:Add(row)
table:Add(caption)
table:Add(thead)
page:AddToBody(table)
end
end
Inherits from: Libraries.Web.Page.AttributeAccepter, Libraries.Language.Object, Libraries.Web.Page.GlobalAttributeAccepter, Libraries.Web.Page.WebTag
Actions Documentation
Add(Libraries.Web.Page.Highlight content)
This action places a Highlight object in the body of a WebPage.
Parameters
- Libraries.Web.Page.Highlight: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Highlight highlight
page:Add(highlight)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.Inserted content)
This action places an Inserted object in the body of a WebPage.
Parameters
- Libraries.Web.Page.Inserted: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Inserted inserted
page:Add(inserted)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.PerformanceGauge content)
This action places a PerformanceGauge object in the body of a WebPage.
Parameters
- Libraries.Web.Page.PerformanceGauge: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
PerformanceGauge performanceGauge
page:Add(performanceGauge)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.Article content)
This action places an Article object in the body of a WebPage.
Parameters
- Libraries.Web.Page.Article: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Article article
page:Add(article)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.StrikeThrough content)
This action places a StrikeThrough object in the body of a WebPage.
Parameters
- Libraries.Web.Page.StrikeThrough: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
StrikeThrough strikeThrough
page:Add(strikeThrough)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.LineBreak content)
This action places a LineBreak object in the body of a WebPage.
Parameters
- Libraries.Web.Page.LineBreak: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
LineBreak lineBreak
page:Add(lineBreak)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.UnderlineText content)
This action places an UnderlineText object in the body of a WebPage.
Parameters
- Libraries.Web.Page.UnderlineText: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
UnderlineText underlineText
page:Add(underlineText)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.DefinitionTerm content)
This action places a DefinitionTerm object in the body of a WebPage.
Parameters
- Libraries.Web.Page.DefinitionTerm: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
DefinitionTerm definitionTerm
page:Add(definitionTerm)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.OwnerAddress content)
This action places an OwnerAddress object in the body of a WebPage.
Parameters
- Libraries.Web.Page.OwnerAddress: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
OwnerAddress ownerAddress
page:Add(ownerAddress)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.Audio content)
This action places an Audio object in the body of a WebPage.
Parameters
- Libraries.Web.Page.Audio: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Audio audio
page:Add(audio)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.Form content)
This action places a Form object in the body of a WebPage.
Parameters
- Libraries.Web.Page.Form: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Form form
page:Add(form)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.UnorderedList content)
This action places an UnorderedList object in the body of a WebPage.
Parameters
- Libraries.Web.Page.UnorderedList: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
UnorderedList unorderedList
page:Add(unorderedList)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.Heading content)
This action places a Heading object in the body of a WebPage.
Parameters
- Libraries.Web.Page.Heading: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Heading heading
page:Add(heading)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.Section content)
This action places a Section object in the body of a WebPage.
Parameters
- Libraries.Web.Page.Section: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Section section
page:Add(section)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.StrongText content)
This action places a StrongText object in the body of a WebPage.
Parameters
- Libraries.Web.Page.StrongText: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
StrongText strongText
page:Add(strongText)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.SuperscriptText content)
This action places a SuperscriptText object in the body of a WebPage.
Parameters
- Libraries.Web.Page.SuperscriptText: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
SuperscriptText superscriptText
page:Add(superscriptText)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.Footer content)
This action places a Footer object in the body of a WebPage.
Parameters
- Libraries.Web.Page.Footer: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Footer footer
page:Add(footer)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.Attribute attribute)
This action adds an attribute to this object. If an attribute with the same name as
Parameters
- Libraries.Web.Page.Attribute: The attribute that will be stored.
Example
use Libraries.Web.Page.AttributeAccepter
use Libraries.Web.Page.Attribute
Attribute attribute
attribute:SetName("src")
attribute:SetValue("http://www.google.com")
AttributeAccepter accept
accept:Add(attribute)
Add(Libraries.Web.Page.Select content)
This action places a Select object in the body of a WebPage.
Parameters
- Libraries.Web.Page.Select: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Select select
page:Add(select)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.DefinitionList content)
This action places a DefinitionList object in the body of a WebPage.
Parameters
- Libraries.Web.Page.DefinitionList: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
DefinitionList definitionList
page:Add(definitionList)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.NavigationDivision content)
This action places a NavigationDivision object in the body of a WebPage.
Parameters
- Libraries.Web.Page.NavigationDivision: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
NavigationDivision navigationDivision
page:Add(navigationDivision)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.Label content)
This action places a Label object in the body of a WebPage.
Parameters
- Libraries.Web.Page.Label: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Label label
page:Add(label)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.KeyboardInput content)
This action places a KeyboardInput object in the body of a WebPage.
Parameters
- Libraries.Web.Page.KeyboardInput: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
KeyboardInput keyboardInput
page:Add(keyboardInput)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.Variable content)
This action places a Variable object in the body of a WebPage.
Parameters
- Libraries.Web.Page.Variable: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Variable variable
page:Add(variable)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.ListOptions content)
This action places a ListOptions object in the body of a WebPage.
Parameters
- Libraries.Web.Page.ListOptions: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
ListOptions listOptions
page:Add(listOptions)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.Quote content)
This action places a Quote object in the body of a WebPage.
Parameters
- Libraries.Web.Page.Quote: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Quote quote
page:Add(quote)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.Header content)
This action places a Header object in the body of a WebPage.
Parameters
- Libraries.Web.Page.Header: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Header header
page:Add(header)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.BiDirectionalOverride content)
This action places a BiDirectionalOverride object in the body of a WebPage.
Parameters
- Libraries.Web.Page.BiDirectionalOverride: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
BiDirectionalOverride biDirectionalOverride
page:Add(biDirectionalOverride)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.CodeBlock content)
This action places a CodeBlock object in the body of a WebPage.
Parameters
- Libraries.Web.Page.CodeBlock: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
CodeBlock codeBlock
page:Add(codeBlock)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.OrderedList content)
This action places an OrderedList object inside of a TableCaption object.
Parameters
- Libraries.Web.Page.OrderedList: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
OrderedList orderedList
page:Add(orderedList)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.FieldSet content)
This action places a FieldSet object in the body of a WebPage.
Parameters
- Libraries.Web.Page.FieldSet: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
FieldSet fieldSet
page:Add(fieldSet)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.BlockQuote content)
This action places a BlockQuote object in the body of a WebPage.
Parameters
- Libraries.Web.Page.BlockQuote: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
BlockQuote blockQuote
page:Add(blockQuote)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.ImageMap content)
This action places an ImageMap object in the body of a WebPage.
Parameters
- Libraries.Web.Page.ImageMap: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
ImageMap imageMap
page:Add(imageMap)
text value = page:Generate()
output value
end
end