# <text> Element

Specifies that this property attribute takes a text value.

## Syntax

    <text
        long="true | false"
        max-length="maximumNumberOfCharactersAllowed"
    />

## Attributes

long | Specifies whether the IDE should provide an expanded editing area for the attribute's value. Set this attribute to false to provide a typical single-line editing field in the Property Editor. [Ignored in beta.] Allowable values: true or false. Use: Optional. Type: xs:boolean. Default value: false.
max-length | Specifies the maximum number of characters allowed for the value of this attribute. Allowable values: Any integer. Use: Optional. Type: xs:int. Default value: None.

## Type

None.

## Hierarchy

Parent: attribute.

Children: None.

## Remarks

This element is one of several you can use to specify the type of a property attribute's value. The complete list includes boolean, class-name, class-names, date, decimal, enumeration, file-path, integer, QNAME, text, URI, URL, URN, XML, or custom. Note that you may use only one of these types for a given attribute.

Related Topics

Control Property Schema Reference

Tutorial: Java Control