def __init__(self, *args):
        #: Tells if input is used to enter sensitive information that is not
        #  echoed to display. Typically passwords.
        self._secret = False

        #: Number of visible rows in a multiline TextField. Value 0 implies a
        #  single-line text-editor.
        self._rows = 0

        #: Tells if word-wrapping should be used in multiline mode.
        self._wordwrap = True

        nargs = len(args)
        if nargs == 0:
            super(TextField, self).__init__()
            self.setValue('')
        elif nargs == 1:
            if isinstance(args[0], IProperty):
                super(TextField, self).__init__()
                dataSource, = args
                self.setPropertyDataSource(dataSource)
            else:
                caption, = args
                TextField.__init__(self)
                self.setCaption(caption)
        elif nargs == 2:
            if isinstance(args[1], IProperty):
                caption, dataSource = args
                TextField.__init__(self, dataSource)
                self.setCaption(caption)
            else:
                super(TextField, self).__init__()
                caption, value = args
                self.setValue(value)
                self.setCaption(caption)
        else:
            raise ValueError, 'too many arguments'
open_parameter_exploration(entity:ParameterExplorationEntity) -> None
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/text_field.py/TextField.__init__--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/collection/workspace.py/QVistrailList.open_parameter_exploration