|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gwtext.client.core.JsObject
com.gwtext.client.core.BaseConfig
com.gwtext.client.util.ClickRepeaterConfig
public class ClickRepeaterConfig
ClickRepeater configuration class.
Field Summary |
---|
Fields inherited from class com.gwtext.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
ClickRepeaterConfig()
|
Method Summary | |
---|---|
void |
setAccelerate(boolean accelerate)
True if autorepeating should start slowly and accelerate. |
void |
setDelay(int delay)
The initial delay before the repeating event begins firing. |
void |
setElement(com.google.gwt.user.client.Element element)
The element to act as a button. |
void |
setElement(java.lang.String elementID)
The element to act as a button. |
void |
setInterval(int interval)
The interval between firings of the "click" event. |
void |
setPressClass(java.lang.String pressClass)
A CSS class name to be applied to the element while pressed. |
void |
setPreventDefault(boolean preventDefault)
True to prevent the default click event. |
void |
setStopDefault(boolean stopDefault)
True to stop the default click event. |
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 |
---|
public ClickRepeaterConfig()
Method Detail |
---|
public void setAccelerate(boolean accelerate)
accelerate
- true to start slowly and acceleratepublic void setDelay(int delay)
delay
- delay in milliseconds. Default is 250public void setElement(com.google.gwt.user.client.Element element)
element
- the elementpublic void setElement(java.lang.String elementID)
elementID
- the element IDpublic void setInterval(int interval)
interval
- the firing intervalpublic void setPressClass(java.lang.String pressClass)
pressClass
- the press CSS classpublic void setPreventDefault(boolean preventDefault)
preventDefault
- true to prevent default clickpublic void setStopDefault(boolean stopDefault)
stopDefault
- true to stop default click event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |