Example #1
0
 def __init__(self, **kwargs):
     if not kwargs.has_key('StyleName'): kwargs['StyleName']="gwt-TextBox"
     if kwargs.has_key('Element'):
         element = kwargs.pop('Element')
     else:
         element = DOM.createInputText()
     TextBoxBase.__init__(self, element, **kwargs)
Example #2
0
 def __init__(self, **kwargs):
     if not kwargs.has_key('StyleName'):
         kwargs['StyleName'] = "gwt-TextArea"
     if kwargs.has_key('Element'):
         element = kwargs.pop('Element')
     else:
         element = DOM.createTextArea()
     TextBoxBase.__init__(self, element, **kwargs)
Example #3
0
 def __init__(self, **kwargs):
     if kwargs.has_key('Element'):
         element = kwargs.pop('Element')
     else:
         element = DOM.createInputPassword()
     self.setElement(element)
     if not kwargs.has_key('StyleName'):
         kwargs['StyleName'] = "gwt-PasswordTextBox"
     TextBoxBase.__init__(self, element, **kwargs)
Example #4
0
 def getCursorPos(self):
     return TextBoxBase.getCursorPos(self)
Example #5
0
 def getCursorPos(self):
     return TextBoxBase.getCursorPos(self)