| net.mygwt.ui.client.widget.KeyPressTextBox
All known Subclasses: net.mygwt.ui.client.viewer.ViewerFilterTextBox,
KeyPressTextBox | public class KeyPressTextBox extends TextBox (Code) | | A base class for text box's that monitor key presses using a
DelayedTask .
|
Constructor Summary | |
public | KeyPressTextBox() Creates a new key press text box. |
Method Summary | |
public int | getDelay() Returns the delay. | protected void | onChange() Subclasses should override as needed. | public void | setDelay(int delay) Sets the delay. |
KeyPressTextBox | public KeyPressTextBox()(Code) | | Creates a new key press text box.
|
getDelay | public int getDelay()(Code) | | Returns the delay.
the delay in milliseconds |
onChange | protected void onChange()(Code) | | Subclasses should override as needed.
|
setDelay | public void setDelay(int delay)(Code) | | Sets the delay. Default value is 300.
Parameters: delay - the delay in milliseconds |
|
|