|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.core.Target
qx.ui.core.Widget
qx.ui.core.Parent
qx.ui.layout.BoxLayout
qx.ui.basic.Atom
qx.ui.form.Button
qx.ui.form.RepeatButton
public class RepeatButton
Field Summary |
---|
Fields inherited from class qx.ui.core.Widget |
---|
AUTO |
Constructor Summary | |
---|---|
RepeatButton()
|
|
RepeatButton(java.lang.Object vText)
|
|
RepeatButton(java.lang.Object vText,
java.lang.Object vIcon)
|
|
RepeatButton(java.lang.Object vText,
java.lang.Object vIcon,
java.lang.Object vIconWidth)
|
|
RepeatButton(java.lang.Object vText,
java.lang.Object vIcon,
java.lang.Object vIconWidth,
java.lang.Object vIconHeight)
|
|
RepeatButton(java.lang.Object vText,
java.lang.Object vIcon,
java.lang.Object vIconWidth,
java.lang.Object vIconHeight,
java.lang.Object vFlash)
|
Method Summary | |
---|---|
void |
_oninterval(Event e)
Callback for the interval event. |
void |
_onmousedown(MouseEvent e)
Callback method for the “mouseDown” method. |
void |
_onmouseup(MouseEvent e)
Callback method for the “mouseUp” event. |
java.lang.Integer |
getFirstInterval()
Returns the (computed) value of the property firstInterval . |
java.lang.Integer |
getInterval()
Returns the (computed) value of the property interval . |
void |
initFirstInterval(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property firstInterval
with the default value defined by the class developer. |
void |
initInterval(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property interval
with the default value defined by the class developer. |
void |
resetFirstInterval()
Resets the user value of the property firstInterval . |
void |
resetInterval()
Resets the user value of the property interval . |
void |
setFirstInterval(java.lang.Integer arg)
Sets the user value of the property firstInterval . |
void |
setInterval(java.lang.Integer arg)
Sets the user value of the property interval . |
Methods inherited from class qx.ui.form.Button |
---|
_onkeydown, _onkeyup, _onmousedown, _onmouseout, _onmouseover, _onmouseup |
Methods inherited from class qx.core.Target |
---|
_dispatchEvent, addChangeSelectionListener, addChangeValueListener, addEventListener, addExecuteListener, addJavaEventListener, createDispatchChangeEvent, createDispatchDataEvent, createDispatchEvent, dispatchEvent, hasEventListeners, removeEventListener |
Methods inherited from class qx.core.Object |
---|
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_ |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepeatButton()
public RepeatButton(java.lang.Object vText)
public RepeatButton(java.lang.Object vText, java.lang.Object vIcon)
public RepeatButton(java.lang.Object vText, java.lang.Object vIcon, java.lang.Object vIconWidth)
public RepeatButton(java.lang.Object vText, java.lang.Object vIcon, java.lang.Object vIconWidth, java.lang.Object vIconHeight)
public RepeatButton(java.lang.Object vText, java.lang.Object vIcon, java.lang.Object vIconWidth, java.lang.Object vIconHeight, java.lang.Object vFlash)
Method Detail |
---|
public void _oninterval(Event e)
Callback for the interval event.
Stops the timer and starts it with a new interval (value of the “interval” property). Dispatches the “execute” event.
public void _onmousedown(MouseEvent e)
Callback method for the “mouseDown” method.
Sets the interval of the timer (value of firstInterval property) and starts the timer. Additionally removes the state “abandoned” and adds the state “pressed”.
public void _onmouseup(MouseEvent e)
Callback method for the “mouseUp” event.
Handles the case that the user is releasing the mouse button before the timer interval method got executed. This way the “execute” method get executed at least one time.
public java.lang.Integer getFirstInterval()
Returns the (computed) value of the property firstInterval
.
For further details take a look at the property definition: firstInterval
.
public java.lang.Integer getInterval()
Returns the (computed) value of the property interval
.
For further details take a look at the property definition: interval
.
public void initFirstInterval(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property firstInterval
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: firstInterval
.
public void initInterval(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property interval
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: interval
.
public void resetFirstInterval()
Resets the user value of the property firstInterval
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: firstInterval
.
public void resetInterval()
Resets the user value of the property interval
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: interval
.
public void setFirstInterval(java.lang.Integer arg)
Sets the user value of the property firstInterval
.
For further details take a look at the property definition: firstInterval
.
public void setInterval(java.lang.Integer arg)
Sets the user value of the property interval
.
For further details take a look at the property definition: interval
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |