public interface TooltipConfiguration extends Serializable
Modifier and Type | Method and Description |
---|---|
int |
getCloseTimeout()
Returns the time (in ms) the tooltip should be displayed after an event
that will cause it to be closed (e.g.
|
int |
getMaxWidth()
Returns the maximum width of the tooltip popup.
|
int |
getOpenDelay()
Returns the time (in ms) that should elapse after an event triggering
tooltip showing has occurred (e.g.
|
int |
getQuickOpenDelay()
Returns the time (in ms) that should elapse before a tooltip will be
shown, in the situation when a tooltip has very recently been shown
(within
getQuickOpenDelay() ms). |
int |
getQuickOpenTimeout()
Returns the time (in ms) during which
getQuickOpenDelay() should
be used instead of getOpenDelay() . |
void |
setCloseTimeout(int closeTimeout)
Sets the time (in ms) the tooltip should be displayed after an event that
will cause it to be closed (e.g.
|
void |
setMaxWidth(int maxWidth)
Sets the maximum width of the tooltip popup.
|
void |
setOpenDelay(int openDelay)
Sets the time (in ms) that should elapse after an event triggering
tooltip showing has occurred (e.g.
|
void |
setQuickOpenDelay(int quickOpenDelay)
Sets the time (in ms) that should elapse before a tooltip will be shown,
in the situation when a tooltip has very recently been shown (within
getQuickOpenDelay() ms). |
void |
setQuickOpenTimeout(int quickOpenTimeout)
Sets the time (in ms) that determines when
getQuickOpenDelay()
should be used instead of getOpenDelay() . |
int getCloseTimeout()
void setCloseTimeout(int closeTimeout)
closeTimeout
- The close timeoutint getQuickOpenTimeout()
getQuickOpenDelay()
should
be used instead of getOpenDelay()
. The quick open delay is used
when the tooltip has very recently been shown, is currently hidden but
about to be shown again.void setQuickOpenTimeout(int quickOpenTimeout)
getQuickOpenDelay()
should be used instead of getOpenDelay()
. The quick open delay
is used when the tooltip has very recently been shown, is currently
hidden but about to be shown again.quickOpenTimeout
- The quick open timeoutint getQuickOpenDelay()
getQuickOpenDelay()
ms).void setQuickOpenDelay(int quickOpenDelay)
getQuickOpenDelay()
ms).quickOpenDelay
- The quick open delayint getOpenDelay()
getQuickOpenDelay()
is used instead of this.void setOpenDelay(int openDelay)
getQuickOpenDelay()
is used instead of this.openDelay
- The open delayint getMaxWidth()
void setMaxWidth(int maxWidth)
maxWidth
- The maximum width the tooltip popupCopyright © 2019 Vaadin Ltd. All rights reserved.