Libraries.Web.Page.TextArea Documentation

The TextArea class represents HTML's (Hypertext Markup Language) textarea tag which is a multi-line text input box that is capable of containing an unlimited number of caracters. You can find more information about this tag at: The textarea attribute.

Example Code

use Libraries.Web.Page.all
class Main
   action main
      //make a web page
      WebPage page
      //add a TextArea
      TextArea myTextArea
      page:AddToBody(myTextArea)
   end
end

Inherits from: Libraries.Web.Page.AttributeAccepter, Libraries.Language.Object, Libraries.Web.Page.GlobalAttributeAccepter, Libraries.Web.Page.WebTag, Libraries.Web.Page.FlowContent

Summary

Actions Summary Table

ActionsDescription
Add(Libraries.Web.Page.Highlight content)This action places a Highlight object inside of a TextArea object.
Add(Libraries.Web.Page.Inserted content)This action places an Inserted object inside of a TextArea object.
Add(Libraries.Web.Page.PerformanceGauge content)This action places a PerformanceGauge object inside of a TextArea object.
Add(Libraries.Web.Page.StrikeThrough content)This action places a StrikeThrough object inside of a TextArea object.
Add(Libraries.Web.Page.LineBreak content)This action places a LineBreak object inside of a TextArea object.
Add(Libraries.Web.Page.UnderlineText content)This action places an UnderlineText object inside of a TextArea object.
Add(Libraries.Web.Page.DefinitionTerm content)This action places a DefinitionTerm object inside of a TextArea object.
Add(Libraries.Web.Page.Audio content)This action places an Audio object inside of a TextArea object.
Add(Libraries.Web.Page.StrongText content)This action places a StrongText object inside of a TextArea object.
Add(Libraries.Web.Page.SuperscriptText content)This action places a SuperscriptText object inside of a TextArea object.
Add(Libraries.Web.Page.Attribute attribute)This action adds an attribute to this object.
Add(Libraries.Web.Page.Select content)This action places a Select object inside of a TextArea object.
Add(Libraries.Web.Page.Option content)This action places a Option object inside of a TextArea object.
Add(Libraries.Web.Page.Label content)This action places a Label object inside of a TextArea object.
Add(Libraries.Web.Page.KeyboardInput content)This action places a KeyboardInput object inside of a TextArea object.
Add(Libraries.Web.Page.Variable content)This action places a Variable object inside of a TextArea object.
Add(Libraries.Web.Page.ListOptions content)This action places a ListOptions object inside of a TextArea object.
Add(Libraries.Web.Page.Quote content)This action places a Quote object inside of a TextArea object.
Add(Libraries.Web.Page.BiDirectionalOverride content)This action places a BiDirectionalOverride object inside of a TextArea object.
Add(Libraries.Web.Page.CodeBlock content)This action places a CodeBlock object inside of a TextArea object.
Add(Libraries.Web.Page.Result result)This action places a Result object inside of a TextArea object.
Add(Libraries.Web.Page.ImageMap content)This action places an ImageMap object inside of a TextArea object.
Add(Libraries.Web.Page.Span content)This action places a Span object inside of a TextArea object.
Add(Libraries.Web.Page.Area content)This action places an Area object inside of a TextArea object.
Add(Libraries.Web.Page.KeyGenerator content)This action places a KeyGenerator object inside of a TextArea object.
Add(Libraries.Web.Page.Image content)This action places an Image object inside of a TextArea object.
Add(Libraries.Web.Page.Ruby content)This action places a Ruby object inside of a TextArea object.
Add(Libraries.Web.Page.Input content)This action places an Input object inside of a TextArea object.
Add(Libraries.Web.Page.Embed content)This action places an Embed object inside of a TextArea object.
Add(Libraries.Web.Page.Emphasize content)This action places an Emphasize object inside of a TextArea object.
Add(Libraries.Web.Page.SubscriptText content)This action places a SubscriptText object inside of a TextArea object.
Add(Libraries.Web.Page.SmallText content)This action places a SmallText object inside of a TextArea object.
Add(Libraries.Web.Page.InlineFrame content)This action places an InlineFrame object inside of a TextArea object.
Add(Libraries.Web.Page.NoScript content)This action places a NoScript object inside of a TextArea object.
Add(Libraries.Web.Page.Abbreviation content)This action places a Abbreviation object inside of a TextArea object.
Add(Libraries.Web.Page.MetaData content)This action places a MetaData object inside of a TextArea object.
Add(Libraries.Web.Page.ProgressBar content)This action places a ProgressBar object inside of a TextArea object.
Add(Libraries.Web.Page.Bold content)This action places a Bold object inside of a TextArea object.
Add(Libraries.Web.Page.Video content)This action places a Video object inside of a TextArea object.
Add(Libraries.Web.Page.HiddenContent content)This action places a HiddenContent object inside of a TextArea object.
Add(Libraries.Web.Page.BiDirectionalIsolation content)This action places a BiDirectionalIsolation object inside of a TextArea object.
Add(Libraries.Web.Page.Script content)This action places a Script object inside of a TextArea object.
Add(Libraries.Web.Page.TextArea content)This action places a TextArea object inside of a TextArea object.
Add(Libraries.Web.Page.Canvas content)This action places a Canvas object inside of a TextArea object.
Add(Libraries.Web.Page.Italic content)This action places an Italic object inside of a TextArea object.
Add(Libraries.Web.Page.Deleted content)This action places a Deleted object inside of a TextArea object.
Add(Libraries.Web.Page.Button content)This action places a Button object inside of a TextArea object.
Add(Libraries.Web.Page.Time content)This action places a Time object inside of a TextArea object.
Add(Libraries.Web.Page.SampleOutput content)This action places a SampleOutput object inside of a TextArea object.
Add(Libraries.Web.Page.Cite content)This action places a Cite object inside of a TextArea object.
Add(Libraries.Web.Page.Link content)This action places a Link object inside of a TextArea object.
Add(Libraries.Web.Page.WordBreak content)This action places a WordBreak object inside of a TextArea object.
Add(Libraries.Web.Page.EmbedContent content)This action places an EmbedContent object inside of a TextArea object.
AddAttribute(text name, text value)This action adds an attribute to this object.
AddClassAttribute(text value)Adds to the ClassAttribute attribute.
AddText(text value)This action sets the description text for this WebTag.
Compare(Libraries.Language.Object object)This action compares two object hash codes and returns a CompareResult.
Equals(Libraries.Language.Object object)This action determines if two objects are equal based on their hash code values.
Generate()
GenerateAttributes()This action returns a text description of all attributes stored.
GenerateNestedTags()This action generates the HTML output text of all of the nested WebTags.
GetAccessKey()Returns the AccessKey attribute.
GetAttribute(text name)This action returns an attribute from this object's Attributes object.
GetAttributeValue(text name)This action returns an attribute from this object's Attributes object.
GetAttributes()Returns a list of all attributes on the system.
GetAutofocus()This action gets the autofocus Attribute.
GetClassAttribute()Returns the ClassAttribute attribute.
GetContentEditable()Returns the ContentEditable attribute.
GetContextMenu()Returns the ContextMenu attribute.
GetDisabled()This action gets the disabled attribute of the textarea.
GetDraggable()Returns the Draggable attribute.
GetDropZone()Returns the DropZone attribute.
GetFormName()This action gets the formName attribute of the TextArea.
GetHashCode()This action gets the hash code for an object.
GetHeight()This action gets the height attribute of the textarea.
GetHidden()Returns the Hidden attribute.
GetIdentifier()Returns the Identifier attribute.
GetIterator()This action returns an iterator of all attributes stored in this object.
GetLanguage()Returns the Language attribute.
GetMaxLength()This action gets the max length attribute of the textarea.
GetName()This action gets the name attribute of the textarea.
GetNumberOfAttributes()This action returns the number of attributes that are currently stored in this object.
GetNumberOfNestedTags()This action gets the number of nested tags within the current WebTag.
GetPlaceHolder()This action gets the placeholder attribute of the textarea.
GetReadOnly()This action gets the read-only attribute of the textarea.
GetRequired()This action gets the require attribute of the textarea.
GetSpellcheck()Returns the Spellcheck attribute.
GetStyle()Returns the Style attribute.
GetTabIndex()Returns the TabIndex attribute.
GetTextDirection()Returns the TextDirection attribute.
GetTextWrap()This action gets the text wrap attribute of the textarea.
GetTitle()Returns the Title attribute.
GetWidth()This action gets the width of the textarea.
HasAttribute(text name)This action returns whether or not an attribute exists for the key passed in as a parameter.
Remove(Libraries.Web.Page.WebTag tag)This action removes the first instance of a webtag found in the list of sub-WebTags.
RemoveAttribute(text name)This action removes an attribute with a particular key.
SetAccessKey(text value)Sets the AccessKey attribute.
SetAutofocus(boolean value)This action sets the autofocus Attribute.
SetClassAttribute(text value)Sets the ClassAttribute attribute.
SetContentEditable(text value)Sets the ContentEditable attribute.
SetContextMenu(text value)Sets the ContextMenu attribute.
SetDisabled(boolean value)This action sets the disabled attribute of the textarea.
SetDraggable(boolean value)Sets the Draggable attribute.
SetDropZone(text value)Sets the DropZone attribute.
SetFormName(text value)This action sets the form attribute of the textarea.
SetHeight(integer value)This action sets the required attribute of the textarea.
SetHidden(boolean value)Sets the AccessKey attribute.
SetIdentifier(text value)Sets the Identifier attribute.
SetLanguage(text value)Creates and sets an attribute for language.
SetMaxLength(integer value)This action sets the max length attribute of the textarea.
SetName(text value)This action sets the name attribute of the textarea.
SetPlaceHolder(text value)This action sets the placeholder attribute of the textarea.
SetReadOnly(boolean value)This action sets the read-only attribute of the textarea.
SetRequired(boolean value)This action sets the required attribute of the textarea.
SetSpellcheck(boolean value)Sets the Spellcheck attribute.
SetStyle(text value)Sets the Style attribute.
SetTabIndex(text value)Sets the TabIndex attribute.
SetTextDirection(text value)Sets the TextDirection attribute.
SetTextWrap(text value)This action sets the text wrap attribute of the textarea.
SetTitle(text value)Sets the Title attribute.
SetWidth(integer value)This action sets the width Attribute.

Actions Documentation

Add(Libraries.Web.Page.Highlight content)

This action places a Highlight object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Highlight highlight
            page:Add(highlight)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Inserted content)

This action places an Inserted object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Inserted inserted
            page:Add(inserted)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.PerformanceGauge content)

This action places a PerformanceGauge object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            PerformanceGauge performanceGauge
            page:Add(performanceGauge)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.StrikeThrough content)

This action places a StrikeThrough object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            StrikeThrough strikeThrough
            page:Add(strikeThrough)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.LineBreak content)

This action places a LineBreak object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            LineBreak lineBreak
            page:Add(lineBreak)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.UnderlineText content)

This action places an UnderlineText object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            UnderlineText underlineText
            page:Add(underlineText)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.DefinitionTerm content)

This action places a DefinitionTerm object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            DefinitionTerm definitionTerm
            page:Add(definitionTerm)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Audio content)

This action places an Audio object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Audio audio
            page:Add(audio)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.StrongText content)

This action places a StrongText object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            StrongText strongText
            page:Add(strongText)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.SuperscriptText content)

This action places a SuperscriptText object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            SuperscriptText superscriptText
            page:Add(superscriptText)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Attribute attribute)

This action adds an attribute to this object. If an attribute with the same name as

Example Code

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)

Parameters

Add(Libraries.Web.Page.Select content)

This action places a Select object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Select select
            page:Add(select)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Option content)

This action places a Option object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Option option
            page:Add(option)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Label content)

This action places a Label object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Label label
            page:Add(label)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.KeyboardInput content)

This action places a KeyboardInput object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            KeyboardInput keyboardInput
            page:Add(keyboardInput)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Variable content)

This action places a Variable object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Variable variable
            page:Add(variable)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.ListOptions content)

This action places a ListOptions object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            ListOptions listOptions
            page:Add(listOptions)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Quote content)

This action places a Quote object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Quote quote
            page:Add(quote)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.BiDirectionalOverride content)

This action places a BiDirectionalOverride object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            BiDirectionalOverride biDirectionalOverride
            page:Add(biDirectionalOverride)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.CodeBlock content)

This action places a CodeBlock object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            CodeBlock codeBlock
            page:Add(codeBlock)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Result result)

This action places a Result object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Result result
            page:Add(result)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.ImageMap content)

This action places an ImageMap object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            ImageMap imageMap
            page:Add(imageMap)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Span content)

This action places a Span object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Span span
            page:Add(span)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Area content)

This action places an Area object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Area area
            page:Add(area)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.KeyGenerator content)

This action places a KeyGenerator object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            KeyGenerator keyGenerator
            page:Add(keyGenerator)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Image content)

This action places an Image object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Image image
            page:Add(image)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Ruby content)

This action places a Ruby object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Ruby ruby
            page:Add(ruby)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Input content)

This action places an Input object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Input input
            page:Add(input)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Embed content)

This action places an Embed object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Embed embed
            page:Add(embed)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Emphasize content)

This action places an Emphasize object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Emphasize emphasize
            page:Add(emphasize)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.SubscriptText content)

This action places a SubscriptText object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            SubscriptText subscriptText
            page:Add(subscriptText)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.SmallText content)

This action places a SmallText object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            SmallText smallText
            page:Add(smallText)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.InlineFrame content)

This action places an InlineFrame object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            InlineFrame inlineFrame
            page:Add(inlineFrame)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.NoScript content)

This action places a NoScript object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            NoScript noScript
            page:Add(noScript)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Abbreviation content)

This action places a Abbreviation object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Abbreviation abbreviation
            page:Add(abbreviation)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.MetaData content)

This action places a MetaData object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            MetaData metaData
            page:Add(metaData)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.ProgressBar content)

This action places a ProgressBar object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            ProgressBar progressBar
            page:Add(progressBar)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Bold content)

This action places a Bold object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Bold bold
            page:Add(bold)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Video content)

This action places a Video object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Video video
            page:Add(video)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.HiddenContent content)

This action places a HiddenContent object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            HiddenContent hiddenContent
            page:Add(hiddenContent)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.BiDirectionalIsolation content)

This action places a BiDirectionalIsolation object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            BiDirectionalIsolation biDirectionalIsolation
            page:Add(biDirectionalIsolation)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Script content)

This action places a Script object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Script script
            page:Add(script)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.TextArea content)

This action places a TextArea object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            TextArea textArea
            page:Add(textArea)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Canvas content)

This action places a Canvas object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Canvas canvas
            page:Add(canvas)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Italic content)

This action places an Italic object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Italic italic
            page:Add(italic)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Deleted content)

This action places a Deleted object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Deleted deleted
            page:Add(deleted)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Button content)

This action places a Button object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Button button
            page:Add(button)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Time content)

This action places a Time object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Time time
            page:Add(time)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.SampleOutput content)

This action places a SampleOutput object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            SampleOutput sampleOutput
            page:Add(sampleOutput)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.Cite content)

This action places a Cite object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Cite cite
            page:Add(cite)

            text value = page:Generate()
            output value
        end
    end

Parameters

This action places a Link object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            Link link
            page:Add(link)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.WordBreak content)

This action places a WordBreak object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            WordBreak wordBreak
            page:Add(wordBreak)

            text value = page:Generate()
            output value
        end
    end

Parameters

Add(Libraries.Web.Page.EmbedContent content)

This action places an EmbedContent object inside of a TextArea object.

Example Code

use Libraries.Web.Page.all

    class Main
        action Main
            WebPage page
            

            EmbedContent embedContent
            page:Add(embedContent)

            text value = page:Generate()
            output value
        end
    end

Parameters

AddAttribute(text name, text value)

This action adds an attribute to this object. This action is a helper action, which essentially does the same thing as the Add(Attribute) action. If an attribute with the same name as

Example Code

use Libraries.Web.Page.AttributeAccepter
        use Libraries.Web.Page.Attribute

        AttributeAccepter accept
        accept:AddAttribute("src", "http://www.google.com")

Parameters

AddClassAttribute(text value)

Adds to the ClassAttribute attribute. Multiple class names can be listed in the passed text, separated by a space.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        accept:AddClassAttribute("myClass")

Parameters

AddText(text value)

This action sets the description text for this WebTag.

Example Code

use Libraries.Web.Page.TableRow
        use Libraries.Web.Page.TableData

        //TableRow and TableData are both WebTags
        TableRow row
        TableData cell
        cell:AddDescription("name")
        row:Add(cell)

Parameters

Compare(Libraries.Language.Object object)

This action compares two object hash codes and returns a CompareResult. The compare result is either larger if this hash code is larger than the object passed as a parameter, smaller, or equal.

Example Code

use Libraries.Language.Support.CompareResult
        Object o
        Object t
        CompareResult result = o:Compare(t)

Parameters

Return

Libraries.Language.Support.CompareResult: The Compare result, Smaller, Equal, or Larger.

Equals(Libraries.Language.Object object)

This action determines if two objects are equal based on their hash code values.

Example Code

use Libraries.Language.Object
        use Libraries.Language.Types.Text
        Object o
        Text t
        boolean result = o:Equals(t)

Parameters

Return

boolean: True if the hash codes are equal and false if they are not equal.

Generate()

Return

text

GenerateAttributes()

This action returns a text description of all attributes stored.

Example Code

use Libraries.Web.Page.AttributeAccepter
        use Libraries.Web.Page.Attribute

        AttributeAccepter accept
        accept:AddAttribute("src", "http://www.google.com")
        text result = accept:GenerateAttributes()

Return

text:

GenerateNestedTags()

This action generates the HTML output text of all of the nested WebTags.

Example Code

use Libraries.Web.Page.TableRow
        use Libraries.Web.Page.TableData

        //TableRow and TableData are both WebTags
        TableRow row
        TableData cell
        cell:SetDescription("name")
        row:Add(cell)
        output row:GenerateNestedTags()

Return

text: The text including all webtags within this WebTag.

GetAccessKey()

Returns the AccessKey attribute. Specifies a shortcut key for the web element.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        Attribute attribute = accept:GetAccessKey()

Return

Libraries.Web.Page.Attribute: The current AccessKey attribute.

GetAttribute(text name)

This action returns an attribute from this object's Attributes object. If no attribute exists for a given key, this action returns undefined.

Example Code

use Libraries.Web.Page.AttributeAccepter
        use Libraries.Web.Page.Attribute

        AttributeAccepter accept
        //as we have not set any attribute, this would
        //return undefined
        Attribute attribute = accept:GetAttribute("src")

Parameters

Return

Libraries.Web.Page.Attribute:

GetAttributeValue(text name)

This action returns an attribute from this object's Attributes object. If no attribute exists for a given key, this action returns undefined.

Example Code

use Libraries.Web.Page.AttributeAccepter
        use Libraries.Web.Page.Attribute

        AttributeAccepter accept
        accept:AddAttribute("src", "http://www.google.com")
        //This helper action would throw an error if "src" were not set.
        text value = accept:GetAttributeValue("src")

Parameters

Return

text:

GetAttributes()

Returns a list of all attributes on the system.

Example Code

use Libraries.Web.Page.AttributeAccepter
        use Libraries.Web.Page.Attributes

        AttributeAccepter accept
        Attributes attributes = accept:GetAttributes()

Return

Libraries.Web.Page.Attributes: The attributes class contains all of the attributes that have been set for this object.

GetAutofocus()

This action gets the autofocus Attribute. The autofocus attribute tells the TextArea whether or not it will get focus when a webPage is loaded.

Example Code

use Libraries.Web.Page.TextArea
        use Libraries.Web.Page.Attribute

        TextArea myTextArea
        boolean isAutofocusOn = myTextArea:GetAutofocus()

Return

boolean: True if autofocus is enabled or false if it is disabled.

GetClassAttribute()

Returns the ClassAttribute attribute.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        Attribute attribute = accept:GetClassAttribute()

Return

Libraries.Web.Page.Attribute: The current ClassAttribute attribute.

GetContentEditable()

Returns the ContentEditable attribute.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        Attribute attribute = accept:GetContentEditable()

Return

Libraries.Web.Page.Attribute: The current ContentEditable attribute.

GetContextMenu()

Returns the ContextMenu attribute.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        Attribute attribute = accept:GetContextMenu()

Return

Libraries.Web.Page.Attribute: The current ContextMenu attribute.

GetDisabled()

This action gets the disabled attribute of the textarea. If false is returned the textarea is enabled and if true is returned it is disabled.

Example Code

use Libraries.Web.Page.TextArea
        use Libraries.Web.Page.Attribute

        TextArea myTextArea
        boolean disabled = myTextArea:GetDisabled()

Return

boolean: True if the textarea is disabled and false if it not.

GetDraggable()

Returns the Draggable attribute.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        Attribute attribute = accept:GetDraggable()

Return

Libraries.Web.Page.Attribute: The current Draggable attribute.

GetDropZone()

Returns the DropZone attribute.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        Attribute attribute = accept:GetDropZone()

Return

Libraries.Web.Page.Attribute: The current DropZone attribute.

GetFormName()

This action gets the formName attribute of the TextArea. The name of the formName is stored as the value in the attribute.

Example Code

use Libraries.Web.Page.TextArea
        use Libraries.Web.Page.Attribute

        TextArea myTextArea
        Attribute formName = myTextArea:GetFormName()

Return

Libraries.Web.Page.Attribute: The formName attribute.

GetHashCode()

This action gets the hash code for an object.

Example Code

Object o
        integer hash = o:GetHashCode()

Return

integer: The integer hash code of the object.

GetHeight()

This action gets the height attribute of the textarea. This attribute specifies the height in lines of the textarea. The default value is 2 lines.

Example Code

use Libraries.Web.Page.TextArea
        use Libraries.Web.Page.Attribute

        TextArea myTextArea
        Attribute height = myTextArea:GetHeight()

Return

Libraries.Web.Page.Attribute: The height of the textarea.

GetHidden()

Returns the Hidden attribute.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        Attribute attribute = accept:GetHidden()

Return

Libraries.Web.Page.Attribute: The current Hidden attribute.

GetIdentifier()

Returns the Identifier attribute.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        Attribute attribute = accept:GetIdentifier()

Return

Libraries.Web.Page.Attribute: The current Identifier attribute.

GetIterator()

This action returns an iterator of all attributes stored in this object.

Example Code

use Libraries.Web.Page.AttributeAccepter
        use Libraries.Web.Page.Attribute
        use Libraries.Containers.Iterator

        AttributeAccepter accept
        accept:AddAttribute("src", "http://www.google.com")

        //output out all of the attributes
        Iterator<Attribute> it =  accept:GetIterator()
        repeat while it:HasNext()
            Attribute at = it:Next()
            output at:Generate()
        end

Return

Libraries.Containers.Iterator:

GetLanguage()

Returns the Language attribute.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        Attribute attribute = accept:GetLanguage()

Return

Libraries.Web.Page.Attribute: The current Language attribute.

GetMaxLength()

This action gets the max length attribute of the textarea. The max length of the form the text area is stored as the value in the attribute.

Example Code

use Libraries.Web.Page.TextArea
        use Libraries.Web.Page.Attribute

        TextArea myTextArea
        Attribute max = myTextArea:GetMaxLength()

Return

Libraries.Web.Page.Attribute: The max length of the characters in the text area.

GetName()

This action gets the name attribute of the textarea. The name of the the text area is stored as the value in the attribute.

Example Code

use Libraries.Web.Page.TextArea
        use Libraries.Web.Page.Attribute

        TextArea myTextArea
        Attribute textAreaName = myTextArea:GetName()

Return

Libraries.Web.Page.Attribute: The name attribute.

GetNumberOfAttributes()

This action returns the number of attributes that are currently stored in this object.

Example Code

use Libraries.Web.Page.AttributeAccepter
        use Libraries.Web.Page.Attribute

        AttributeAccepter accept
        accept:AddAttribute("src", "http://www.google.com")
        integer num = accept:GetNumberOfAttributes()

Return

integer:

GetNumberOfNestedTags()

This action gets the number of nested tags within the current WebTag.

Example Code

use Libraries.Web.Page.TableRow
        use Libraries.Web.Page.TableData

        //TableRow and TableData are both WebTags
        TableRow row
        TableData cell
        cell:SetDescription("name")
        row:Add(cell)
        integer numTags = row:GetNumberOfNestedTags()

Return

integer: The number of nested tags.

GetPlaceHolder()

This action gets the placeholder attribute of the textarea. The placeholder is the description of what should be placed in the text area. This placeholder text is displayed in the text area.

Example Code

use Libraries.Web.Page.TextArea
        use Libraries.Web.Page.Attribute

        TextArea myTextArea
        Attribute placeHolder = myTextArea:GetPlaceHolder()

Return

Libraries.Web.Page.Attribute: The placeholder attribute.

GetReadOnly()

This action gets the read-only attribute of the textarea. If the textarea is readonly then the textarea does not allow text to be written to the textarea.

Example Code

use Libraries.Web.Page.TextArea
        use Libraries.Web.Page.Attribute

        TextArea myTextArea
        boolean readOnly = myTextArea:GetReadOnly()

Return

boolean: True if the textarea is read-only and false if it is not.

GetRequired()

This action gets the require attribute of the textarea. If the textarea is required the value true will be returned and false if it is not required. Required means the textarea must be filled out.

Example Code

use Libraries.Web.Page.TextArea
        use Libraries.Web.Page.Attribute

        TextArea myTextArea
        boolean required = myTextArea:GetRequired()

Return

boolean: True if the textarea is required and false if it is not.

GetSpellcheck()

Returns the Spellcheck attribute.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        Attribute attribute = accept:GetSpellcheck()

Return

Libraries.Web.Page.Attribute: The current Spellcheck attribute.

GetStyle()

Returns the Style attribute.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        Attribute attribute = accept:GetStyle()

Return

Libraries.Web.Page.Attribute: The current Style attribute.

GetTabIndex()

Returns the TabIndex attribute.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        Attribute attribute = accept:GetTabIndex()

Return

Libraries.Web.Page.Attribute: The current TabIndex attribute.

GetTextDirection()

Returns the TextDirection attribute.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        Attribute attribute = accept:GetTextDirection()

Return

Libraries.Web.Page.Attribute: The current TextDirection attribute.

GetTextWrap()

This action gets the text wrap attribute of the textarea. There are two types of text wrap that can be specified, "hard" or "soft". A soft wrap means the text is not wrapped in the text area(this is the default). A hard wrap means the text will be wrapped (contains newlines) and a width must be specifed in this case.

Example Code

use Libraries.Web.Page.TextArea
        use Libraries.Web.Page.Attribute

        TextArea myTextArea
        Attribute wrap = myTextArea:GetTextWrap()

Return

Libraries.Web.Page.Attribute:

GetTitle()

Returns the Title attribute.

Example Code

use Libraries.Web.Page.GlobalAttributeAccepter
        use Libraries.Web.Page.Attribute

        GlobalAttributeAccepter accept
        Attribute attribute = accept:GetTitle()

Return

Libraries.Web.Page.Attribute: The current Title attribute.

GetWidth()

This action gets the width of the textarea. The width attribute defines the width of the TextArea in columns. It corresponds to the following html attribute: