Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults vararg body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Num body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq NameLoad Num body If Call NameLoad SubscriptLoad NameLoad Index Num NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign TupleStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign TupleStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Num body If Call NameLoad SubscriptLoad NameLoad Index Num NameLoad body Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Raise NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad Str NameLoad If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad Str NameLoad If CompareLt NameLoad Num body Assign NameStore Num If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad Str NameLoad If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If BoolOpAnd CompareGt NameLoad Num CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Num decorator_list decorator_list
N/A N/A Defines a text editor component. warnings warn muntjac.ui.abstract_text_field AbstractTextField muntjac.data.property IProperty TextField N/A AbstractTextField N/A N/A A text editor component that can be bound to any bindable IProperty.
    The text editor supports both multiline and single line modes, default
    is one-line mode.

    Since C{TextField} extends C{AbstractField} it implements the
    L{IBuffered} interface. A C{TextField} is in write-through mode by default,
    so L{AbstractField.setWriteThrough} must be called to enable buffering.

    @author: Vaadin Ltd.
    @author: Richard Lincoln
    @version: @VERSION@
     N/A CLIENT_WIDGET None __init__ N/A N/A self N/A args N/A N/A Constructs a C{TextField} with optional caption, dataSource and/or
        value.

        @param args: tuple of the form
            - ()
            - (caption)
              1. the caption string for the editor
            - (dataSource)
              1. the IProperty to be edited with this editor
            - (caption, dataSource)
              1. the caption string for the editor
              2. the IProperty to be edited with this editor
            - (caption, text)
              1. the caption string for the editor
              2. the initial text content of the editor
         N/A N/A self _secret False N/A N/A self _rows 0 N/A N/A self _wordwrap True N/A nargs N/A len args N/A N/A nargs 0 N/A N/A N/A N/A N/A super TextField self __init__ N/A N/A N/A self setValue N/A N/A N/A nargs 1 N/A N/A N/A isinstance N/A args N/A 0 IProperty N/A N/A N/A N/A N/A super TextField self __init__ N/A N/A dataSource args N/A N/A N/A self setPropertyDataSource dataSource N/A N/A N/A caption args N/A N/A N/A TextField __init__ self N/A N/A N/A self setCaption caption N/A N/A N/A nargs 2 N/A N/A N/A isinstance N/A args N/A 1 IProperty N/A N/A N/A caption dataSource args N/A N/A N/A TextField __init__ self dataSource N/A N/A N/A self setCaption caption N/A N/A N/A N/A N/A super TextField self __init__ N/A N/A caption value args N/A N/A N/A self setValue value N/A N/A N/A self setCaption caption N/A N/A ValueError too many arguments N/A isSecret N/A N/A self N/A N/A N/A Gets the secret property. If a field is used to enter secret
        information the information is not echoed to display.

        @return: C{True} if the field is used to enter secret
                 information, C{False} otherwise.

        @deprecated: Use L{PasswordField} instead for secret text input.
         N/A N/A warn use PasswordField instead DeprecationWarning N/A N/A self _secret N/A setSecret N/A N/A self secret N/A N/A N/A Sets the secret property on and off. If a field is used to enter
        secret information the information is not echoed to display.

        @param secret:
                   the value specifying if the field is used to enter secret
                   information.
        @deprecated: Use L{PasswordField} instead for secret text input.
         N/A N/A warn use PasswordField instead DeprecationWarning N/A N/A N/A self _secret secret N/A N/A N/A self _secret secret N/A N/A N/A self requestRepaint N/A paintContent N/A N/A self target N/A N/A N/A N/A N/A self isSecret N/A N/A N/A N/A target addAttribute secret True N/A rows N/A N/A self getRows N/A N/A rows 0 N/A N/A N/A N/A target addAttribute rows rows N/A N/A N/A target addAttribute multiline True N/A N/A N/A N/A self isWordwrap N/A N/A N/A N/A target addAttribute wordwrap False N/A N/A N/A N/A super TextField self paintContent target N/A getRows N/A N/A self N/A N/A N/A Gets the number of rows in the editor. If the number of rows is set
        to 0, the actual number of displayed rows is determined implicitly by
        the adapter.

        @return: number of explicitly set rows.
        @deprecated: Use L{TextArea} for a multi-line text input.
         N/A N/A warn use TextArea for a multi-line text input DeprecationWarning N/A N/A self _rows N/A setRows N/A N/A self rows N/A N/A N/A Sets the number of rows in the editor.

        @param rows:
                   the number of rows for this editor.
        @deprecated: Use L{TextArea} for a multi-line text input.
         N/A N/A warn use TextArea for a multi-line text input DeprecationWarning N/A N/A rows 0 N/A N/A rows 0 N/A N/A N/A self _rows rows N/A N/A N/A self _rows rows N/A N/A N/A self requestRepaint N/A isWordwrap N/A N/A self N/A N/A N/A Tests if the editor is in word-wrap mode.

        @return: C{True} if the component is in the word-wrap mode,
                 C{False} if not.
        @deprecated: Use L{TextArea} for a multi-line text input.
         N/A N/A warn use TextArea for a multi-line text input DeprecationWarning N/A N/A self _wordwrap N/A setWordwrap N/A N/A self wordwrap N/A N/A N/A Sets the editor's word-wrap mode on or off.

        @param wordwrap:
                   the boolean value specifying if the editor should be in
                   word-wrap mode after the call or not.

        @deprecated: Use L{TextArea} for a multi-line text input.
         N/A N/A warn use TextArea for a multi-line text input DeprecationWarning N/A N/A N/A self _wordwrap wordwrap N/A N/A N/A self _wordwrap wordwrap N/A N/A N/A self requestRepaint N/A setHeight N/A N/A self height unit N/A None N/A N/A Sets the height of the L{TextField} instance.

        Setting height for L{TextField} also has a side-effect that puts
        L{TextField} into multiline mode (aka "textarea"). Multiline mode
        can also be achieved by calling L{setRows}. The height
        value overrides the number of rows set by L{setRows}.

        If you want to set height of single line L{TextField}, call
        L{setRows} with value 0 after setting the height. Setting
        rows to 0 resets the side-effect.

        You should use L{TextArea} instead of L{TextField} for multiline
        text input.
         N/A N/A unit None N/A N/A N/A N/A N/A super TextField self setHeight height N/A N/A N/A N/A N/A super TextField self setHeight height unit N/A N/A N/A height 1 N/A N/A self __class__ TextField N/A N/A N/A N/A self setRows 2 N/A N/A