TextArea

Kind of class:class
Inherits from:ScrollView < View < UIComponent < UIObject < MovieClip
Classpath:mx.controls.TextArea
File last modified:Tuesday, 18 December 2007, 15:44:37
Component metadata:
    Event
    "change"

    Summary


    Constructor
    Class properties
    Class properties inherited from ScrollView
    Class properties inherited from View
    Class properties inherited from UIObject
    Instance properties
    Class methods
    Class methods inherited from View
    Class methods inherited from UIObject
    Instance methods
    Event handlers
    Event handlers inherited from ScrollView
    Event handlers inherited from UIComponent

    Constructor

    TextArea

    function TextArea (
    )

    Class properties

    mergedClipParameters

    static mergedClipParameters:Boolean = UIObject.mergeClipParameters(TextArea.prototype.clipParameters, ScrollView.prototype.clipParameters)
    (read)

    symbolName

    static symbolName:String = "TextArea"
    (read)

    symbolOwner

    static symbolOwner:Object = TextArea
    (read)

    version

    static version:String = "2.0.2.127"
    (read)

    Instance properties

    __editable

    __editable:Boolean = true
    (read)

    __hScrollPolicy

    __hScrollPolicy:String = "auto"
    (read)

    __vScrollPolicy

    __vScrollPolicy:String = "auto"
    (read)

    _accProps

    _accProps:Object
    (read)

    _hpos

    _hpos:Number
    (read)

    _vpos

    _vpos:Number
    (read)

    className

    className:String = "TextArea"
    (read)

    name of this class

    clipParameters

    clipParameters:Object = { text: 1, wordWrap: 1, editable: 1, maxChars: 1, restrict: 1, html: 1, password: 1}
    (read)

    editable

    editable:Boolean
    (read,write)

    true if the component is editable
    Component metadata:
      Inspectable
      defaultValue:
      true

      hookedH

      hookedH:Boolean
      (read)

      hookedV

      hookedV:Boolean
      (read)

      hPosition

      hPosition
      (write)

      html

      html:Boolean
      (read,write)

      true if text is supplied as html
      Component metadata:
        Inspectable
        defaultValue:
        false

        initializing

        initializing:Boolean = true
        (read)

        initText

        initText:String
        (read)

        label

        label:TextField
        (read)

        length

        length:Number
        (read)

        current length of text in component

        maxChars

        maxChars:Number
        (read,write)

        maximum number of characters that can be input into this component
        Component metadata:
          Inspectable
          category:
          "Limits"
          defaultValue:
          null,
          verbose:
          1,

          password

          password:Boolean
          (read,write)

          true to use '*' instead of the actual characters
          Component metadata:
            Inspectable
            category:
            "Other"
            defaultValue:
            false,
            verbose:
            1,

            restrict

            restrict:String
            (read,write)

            list of characters to accept or deny
            Component metadata:
              Inspectable
              category:
              "Limits"
              defaultValue:
              "",
              verbose:
              1,

              styleSheet

              styleSheet:TextField.StyleSheet
              (read)

              styleSheet

              styleSheet:TextField = .StyleSheet
              (write)

              tabIndex

              tabIndex:Number
              (read,write)

              tab order when using tab key to navigate** @tiptext tabIndex of the component* @helpid 3184

              text

              text:String
              (read,write)

              the text in the component
              Component metadata:
                Bindable
                ChangeEvent
                "change"
                Inspectable
                defaultValue:
                ""

                tfh

                tfh:Number
                (read)

                tfw

                tfw:Number
                (read)

                tfx

                tfx:Number
                (read)

                tfy

                tfy:Number
                (read)

                vPosition

                vPosition
                (write)

                vScrollPolicy

                vScrollPolicy:String
                (read)

                wordWrap

                wordWrap:Boolean
                (read,write)

                true if should wordwrap. If false, long lines get clipped
                Component metadata:
                  Inspectable
                  defaultValue:
                  true

                  Instance methods

                  adjustScrollBars

                  function adjustScrollBars (
                  )

                  draw

                  function draw (
                  Void) : Void

                  getHtml

                  function getHtml (
                  ) : Boolean

                  scrollChanged

                  function scrollChanged (
                  Void) : Void

                  setEnabled

                  function setEnabled (
                  enable:Boolean) : Void

                  setHtml

                  function setHtml (
                  value:Boolean) : Void

                  setScrollProperties

                  function setScrollProperties (
                  colCount:Number, colWidth:Number, rwCount:Number, rwHeight:Number, hPadding:Number, wPadding:Number) : Void

                  set the parameters for scrolling
                  #
                  Parameters:
                  colCount:
                  number of units to scroll horizontally
                  #
                  colWidth:
                  width in pixels of each of those units
                  #
                  rwCount :
                  number of untis to scroll vertically
                  #
                  rwHeight:
                  height in pixels of each of those units
                  #
                  hPadding:
                  pixels on the left edge that are not scrolled (for row headers)
                  #