com.google.gwt.user.client.ui.impl
Class TextBoxImpl

java.lang.Object
  extended by com.google.gwt.user.client.ui.impl.TextBoxImpl
Direct Known Subclasses:
TextBoxImplIE6

public class TextBoxImpl
extends java.lang.Object

Implementation class used by TextBox.


Constructor Summary
TextBoxImpl()
           
 
Method Summary
 int getCursorPos(Element elem)
           
 int getSelectionLength(Element elem)
           
 int getTextAreaCursorPos(Element elem)
           
 int getTextAreaSelectionLength(Element elem)
           
 void setSelectionRange(Element elem, int pos, int length)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextBoxImpl

public TextBoxImpl()
Method Detail

getCursorPos

public int getCursorPos(Element elem)

getSelectionLength

public int getSelectionLength(Element elem)

getTextAreaCursorPos

public int getTextAreaCursorPos(Element elem)

getTextAreaSelectionLength

public int getTextAreaSelectionLength(Element elem)

setSelectionRange

public void setSelectionRange(Element elem,
                              int pos,
                              int length)