|
||||||||||
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.CanvasLayout
qx.ui.popup.Popup
qx.ui.popup.PopupAtom
qx.ui.popup.ToolTip
public class ToolTip
Field Summary |
---|
Fields inherited from class qx.ui.core.Widget |
---|
AUTO |
Constructor Summary | |
---|---|
ToolTip()
|
|
ToolTip(java.lang.Object vLabel)
|
|
ToolTip(java.lang.Object vLabel,
java.lang.Object vIcon)
|
Method Summary | |
---|---|
void |
_afterAppear()
Callback method for the “afterAppear” event. |
void |
_applyBoundToWidget(java.lang.Object value,
java.lang.Object old)
|
void |
_applyHideInterval(java.lang.Object value,
java.lang.Object old)
|
void |
_applyShowInterval(java.lang.Object value,
java.lang.Object old)
|
void |
_beforeAppear()
Callback method for the “beforeAppear” event. |
void |
_beforeDisappear()
Callback method for the “beforeDisappear” event. |
java.lang.Object |
_onhidetimer(Event e)
Callback method for the “interval” event of the hide timer. |
void |
_onmouseover(MouseEvent e)
Callback method for the “mouseOver” event. |
void |
_onshowtimer(Event e)
Callback method for the “interval” event of the show timer. |
void |
_startHideTimer()
Utility method to start the timer for the hide interval (if the timer is disabled) |
void |
_startShowTimer()
Utility method to start the timer for the show interval (if the timer is disabled) |
void |
_stopHideTimer()
Utility method to stop the timer for the hide interval (if the timer is enabled) |
void |
_stopShowTimer()
Utility method to stop the timer for the show interval (if the timer is enabled) |
Widget |
getBoundToWidget()
Returns the (computed) value of the property boundToWidget . |
java.lang.Integer |
getHideInterval()
Returns the (computed) value of the property hideInterval . |
boolean |
getHideOnHover()
Returns the (computed) value of the property hideOnHover . |
java.lang.Integer |
getMousePointerOffsetX()
Returns the (computed) value of the property mousePointerOffsetX . |
java.lang.Integer |
getMousePointerOffsetY()
Returns the (computed) value of the property mousePointerOffsetY . |
java.lang.Integer |
getShowInterval()
Returns the (computed) value of the property showInterval . |
void |
initBoundToWidget(Widget arg)
Calls the apply method and dispatches the change event of the property boundToWidget
with the default value defined by the class developer. |
void |
initHideInterval(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property hideInterval
with the default value defined by the class developer. |
void |
initHideOnHover(boolean arg)
Calls the apply method and dispatches the change event of the property hideOnHover
with the default value defined by the class developer. |
void |
initMousePointerOffsetX(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property mousePointerOffsetX
with the default value defined by the class developer. |
void |
initMousePointerOffsetY(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property mousePointerOffsetY
with the default value defined by the class developer. |
void |
initShowInterval(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property showInterval
with the default value defined by the class developer. |
boolean |
isHideOnHover()
Check whether the (computed) value of the boolean property hideOnHover equals true . |
void |
resetBoundToWidget()
Resets the user value of the property boundToWidget . |
void |
resetHideInterval()
Resets the user value of the property hideInterval . |
void |
resetHideOnHover()
Resets the user value of the property hideOnHover . |
void |
resetMousePointerOffsetX()
Resets the user value of the property mousePointerOffsetX . |
void |
resetMousePointerOffsetY()
Resets the user value of the property mousePointerOffsetY . |
void |
resetShowInterval()
Resets the user value of the property showInterval . |
void |
setBoundToWidget(Widget arg)
Sets the user value of the property boundToWidget . |
void |
setHideInterval(java.lang.Integer arg)
Sets the user value of the property hideInterval . |
void |
setHideOnHover(boolean arg)
Sets the user value of the property hideOnHover . |
void |
setMousePointerOffsetX(java.lang.Integer arg)
Sets the user value of the property mousePointerOffsetX . |
void |
setMousePointerOffsetY(java.lang.Integer arg)
Sets the user value of the property mousePointerOffsetY . |
void |
setShowInterval(java.lang.Integer arg)
Sets the user value of the property showInterval . |
boolean |
toggleHideOnHover()
Toggles the (computed) value of the boolean property hideOnHover . |
Methods inherited from class qx.ui.popup.PopupAtom |
---|
getAtom |
Methods inherited from class qx.ui.layout.CanvasLayout |
---|
_createLayoutImpl |
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 ToolTip()
public ToolTip(java.lang.Object vLabel)
public ToolTip(java.lang.Object vLabel, java.lang.Object vIcon)
Method Detail |
---|
public void _afterAppear()
Callback method for the “afterAppear” event.
If the property Popup.restrictToPageOnOpen
is set to true
the tooltip gets repositioned to ensure it is displayed within the
boundaries of the ClientDocument
.
_afterAppear
in class Popup
public void _applyBoundToWidget(java.lang.Object value, java.lang.Object old)
public void _applyHideInterval(java.lang.Object value, java.lang.Object old)
public void _applyShowInterval(java.lang.Object value, java.lang.Object old)
public void _beforeAppear()
Callback method for the “beforeAppear” event.
Does two things: stops the timer for the show interval and starts the timer for the hide interval.
_beforeAppear
in class Popup
public void _beforeDisappear()
Callback method for the “beforeDisappear” event.
Stops the timer for the hide interval.
_beforeDisappear
in class Popup
public java.lang.Object _onhidetimer(Event e)
Callback method for the “interval” event of the hide timer.
Hides the tooltip by calling the corresponding Widget.hide()
method.
public void _onmouseover(MouseEvent e)
Callback method for the “mouseOver” event.
If property #hideOnOver
is enabled the tooltip gets hidden
public void _onshowtimer(Event e)
Callback method for the “interval” event of the show timer.
Positions the tooltip (sets left and top) and calls the
Widget.show()
method.
public void _startHideTimer()
Utility method to start the timer for the hide interval (if the timer is disabled)
public void _startShowTimer()
Utility method to start the timer for the show interval (if the timer is disabled)
public void _stopHideTimer()
Utility method to stop the timer for the hide interval (if the timer is enabled)
public void _stopShowTimer()
Utility method to stop the timer for the show interval (if the timer is enabled)
public Widget getBoundToWidget()
Returns the (computed) value of the property boundToWidget
.
For further details take a look at the property definition: boundToWidget
.
public java.lang.Integer getHideInterval()
Returns the (computed) value of the property hideInterval
.
For further details take a look at the property definition: hideInterval
.
public boolean getHideOnHover()
Returns the (computed) value of the property hideOnHover
.
For further details take a look at the property definition: hideOnHover
.
public java.lang.Integer getMousePointerOffsetX()
Returns the (computed) value of the property mousePointerOffsetX
.
For further details take a look at the property definition: mousePointerOffsetX
.
public java.lang.Integer getMousePointerOffsetY()
Returns the (computed) value of the property mousePointerOffsetY
.
For further details take a look at the property definition: mousePointerOffsetY
.
public java.lang.Integer getShowInterval()
Returns the (computed) value of the property showInterval
.
For further details take a look at the property definition: showInterval
.
public void initBoundToWidget(Widget arg)
Calls the apply method and dispatches the change event of the property boundToWidget
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: boundToWidget
.
public void initHideInterval(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property hideInterval
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: hideInterval
.
public void initHideOnHover(boolean arg)
Calls the apply method and dispatches the change event of the property hideOnHover
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: hideOnHover
.
public void initMousePointerOffsetX(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property mousePointerOffsetX
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: mousePointerOffsetX
.
public void initMousePointerOffsetY(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property mousePointerOffsetY
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: mousePointerOffsetY
.
public void initShowInterval(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property showInterval
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: showInterval
.
public boolean isHideOnHover()
Check whether the (computed) value of the boolean property hideOnHover
equals true
.
For further details take a look at the property definition: hideOnHover
.
public void resetBoundToWidget()
Resets the user value of the property boundToWidget
.
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: boundToWidget
.
public void resetHideInterval()
Resets the user value of the property hideInterval
.
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: hideInterval
.
public void resetHideOnHover()
Resets the user value of the property hideOnHover
.
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: hideOnHover
.
public void resetMousePointerOffsetX()
Resets the user value of the property mousePointerOffsetX
.
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: mousePointerOffsetX
.
public void resetMousePointerOffsetY()
Resets the user value of the property mousePointerOffsetY
.
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: mousePointerOffsetY
.
public void resetShowInterval()
Resets the user value of the property showInterval
.
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: showInterval
.
public void setBoundToWidget(Widget arg)
Sets the user value of the property boundToWidget
.
For further details take a look at the property definition: boundToWidget
.
public void setHideInterval(java.lang.Integer arg)
Sets the user value of the property hideInterval
.
For further details take a look at the property definition: hideInterval
.
public void setHideOnHover(boolean arg)
Sets the user value of the property hideOnHover
.
For further details take a look at the property definition: hideOnHover
.
public void setMousePointerOffsetX(java.lang.Integer arg)
Sets the user value of the property mousePointerOffsetX
.
For further details take a look at the property definition: mousePointerOffsetX
.
public void setMousePointerOffsetY(java.lang.Integer arg)
Sets the user value of the property mousePointerOffsetY
.
For further details take a look at the property definition: mousePointerOffsetY
.
public void setShowInterval(java.lang.Integer arg)
Sets the user value of the property showInterval
.
For further details take a look at the property definition: showInterval
.
public boolean toggleHideOnHover()
Toggles the (computed) value of the boolean property hideOnHover
.
For further details take a look at the property definition: hideOnHover
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |