com.gwtext.client.util
Class ClickRepeater

java.lang.Object
  extended by com.gwtext.client.core.JsObject
      extended by com.gwtext.client.util.ClickRepeater

public class ClickRepeater
extends JsObject

A wrapper class which can be applied to any element. Fires a "click" event while the mouse is pressed. The interval between firings may be specified in the config but defaults to 10 milliseconds. Optionally, a CSS class may be applied to the element during the time it is pressed.


Field Summary
 
Fields inherited from class com.gwtext.client.core.JsObject
jsObj
 
Constructor Summary
ClickRepeater(ClickRepeaterConfig config)
          Create a new ClickRepeater.
 
Method Summary
 void addListener(com.gwtext.client.util.event.ClickRepeaterListener listener)
          Add a ClickRepeater listener.
 
Methods inherited from class com.gwtext.client.core.JsObject
getJsObj, getProperties, isCreated, setJsObj
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClickRepeater

public ClickRepeater(ClickRepeaterConfig config)
Create a new ClickRepeater.

Parameters:
config - ClickRepeater configuration
Method Detail

addListener

public void addListener(com.gwtext.client.util.event.ClickRepeaterListener listener)
Add a ClickRepeater listener.

Parameters:
listener - the listener