TableHeader
Package: Libraries.Web.Page · Inherits from: Libraries.Web.Page.AttributeAccepter, Libraries.Language.Object, Libraries.Web.Page.GlobalAttributeAccepter, Libraries.Web.Page.WebTag
The TableHeader class represents HTML's (Hypertext Markup Language) thead tag which is used to group the TableHeaderCells of a table. This will be displayed before the TableBody. You can find more information about this tag at: The thead attribute.
Example Code
use Libraries.Web.Page.all
class Main
action main
//make a web page
WebPage page
WebTable table
TableHeader thead
//add a TableRow to the header
TableRow row
thead:Add(row)
table:Add(thead)
page:AddToBody(table)
end
end
Actions
Add(Libraries.Web.Page.TableRow content)
This action places a TableRow object inside of a TableHeader object.
Parameters
contentLibraries.Web.Page.TableRow: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
TableRow tableRow
page:Add(tableRow)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.HiddenContent content)
This action places a HiddenContent object inside of a TableHeader object.
Parameters
contentLibraries.Web.Page.HiddenContent: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
HiddenContent hiddenContent
page:Add(hiddenContent)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.Script content)
This action places a Script object inside of a TableHeader object.
Parameters
contentLibraries.Web.Page.Script: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Script script
page:Add(script)
text value = page:Generate()
output value
end
end
Generate()
Returns
text
Inherited Actions
2 actions from Libraries.Language.Object
10 actions from Libraries.Web.Page.AttributeAccepter
29 actions from Libraries.Web.Page.GlobalAttributeAccepter
- AddClassAttribute(text value)
- GetAccessKey()
- GetClassAttribute()
- GetContentEditable()
- GetContextMenu()
- GetDraggable()
- GetDropZone()
- GetHidden()
- GetIdentifier()
- GetLanguage()
- GetSpellcheck()
- GetStyle()
- GetTabIndex()
- GetTextDirection()
- GetTitle()
- SetAccessKey(text value)
- SetClassAttribute(text value)
- SetContentEditable(text value)
- SetContextMenu(text value)
- SetDraggable(boolean value)
- SetDropZone(text value)
- SetHidden(boolean value)
- SetIdentifier(text value)
- SetLanguage(text value)
- SetSpellcheck(boolean value)
- SetStyle(text value)
- SetTabIndex(text value)
- SetTextDirection(text value)
- SetTitle(text value)