|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ToolTipMethods
This interface provides a set of methods that should be added into components to support custom WebLaF tooltips. Basically all these methods are already implemented in EventUtils but it is much easier to call them directly from popover.
SwingMethods
,
TooltipManager
Method Summary | |
---|---|
WebCustomTooltip |
addToolTip(javax.swing.Icon icon,
java.lang.String tooltip)
Adds custom WebLaF tooltip to the component. |
WebCustomTooltip |
addToolTip(javax.swing.Icon icon,
java.lang.String tooltip,
TooltipWay tooltipWay)
Adds custom WebLaF tooltip to the component. |
WebCustomTooltip |
addToolTip(javax.swing.Icon icon,
java.lang.String tooltip,
TooltipWay tooltipWay,
int delay)
Adds custom WebLaF tooltip to the component. |
WebCustomTooltip |
addToolTip(javax.swing.JComponent tooltip)
Adds custom WebLaF tooltip to the component. |
WebCustomTooltip |
addToolTip(javax.swing.JComponent tooltip,
int delay)
Adds custom WebLaF tooltip to the component. |
WebCustomTooltip |
addToolTip(javax.swing.JComponent tooltip,
TooltipWay tooltipWay)
Adds custom WebLaF tooltip to the component. |
WebCustomTooltip |
addToolTip(javax.swing.JComponent tooltip,
TooltipWay tooltipWay,
int delay)
Adds custom WebLaF tooltip to the component. |
WebCustomTooltip |
addToolTip(java.lang.String tooltip)
Adds custom WebLaF tooltip to the component. |
WebCustomTooltip |
addToolTip(java.lang.String tooltip,
TooltipWay tooltipWay)
Adds custom WebLaF tooltip to the component. |
WebCustomTooltip |
addToolTip(java.lang.String tooltip,
TooltipWay tooltipWay,
int delay)
Adds custom WebLaF tooltip to the component. |
void |
removeToolTip(WebCustomTooltip tooltip)
Removes specified custom WebLaF tooltip from the component. |
void |
removeToolTips()
Removes all custom WebLaF tooltips from the component. |
void |
removeToolTips(java.util.List<WebCustomTooltip> tooltips)
Removes specified custom WebLaF tooltips from the component. |
void |
removeToolTips(WebCustomTooltip... tooltips)
Removes specified custom WebLaF tooltips from the component. |
WebCustomTooltip |
setToolTip(javax.swing.Icon icon,
java.lang.String tooltip)
Sets single custom WebLaF tooltip into the component. |
WebCustomTooltip |
setToolTip(javax.swing.Icon icon,
java.lang.String tooltip,
TooltipWay tooltipWay)
Sets single custom WebLaF tooltip into the component. |
WebCustomTooltip |
setToolTip(javax.swing.Icon icon,
java.lang.String tooltip,
TooltipWay tooltipWay,
int delay)
Sets single custom WebLaF tooltip into the component. |
WebCustomTooltip |
setToolTip(javax.swing.JComponent tooltip)
Sets single custom WebLaF tooltip into the component. |
WebCustomTooltip |
setToolTip(javax.swing.JComponent tooltip,
int delay)
Sets single custom WebLaF tooltip into the component. |
WebCustomTooltip |
setToolTip(javax.swing.JComponent tooltip,
TooltipWay tooltipWay)
Sets single custom WebLaF tooltip into the component. |
WebCustomTooltip |
setToolTip(javax.swing.JComponent tooltip,
TooltipWay tooltipWay,
int delay)
Sets single custom WebLaF tooltip into the component. |
WebCustomTooltip |
setToolTip(java.lang.String tooltip)
Sets single custom WebLaF tooltip into the component. |
WebCustomTooltip |
setToolTip(java.lang.String tooltip,
TooltipWay tooltipWay)
Sets single custom WebLaF tooltip into the component. |
WebCustomTooltip |
setToolTip(java.lang.String tooltip,
TooltipWay tooltipWay,
int delay)
Sets single custom WebLaF tooltip into the component. |
Method Detail |
---|
WebCustomTooltip setToolTip(java.lang.String tooltip)
tooltip
- tooltip text or language key
WebCustomTooltip setToolTip(javax.swing.Icon icon, java.lang.String tooltip)
icon
- tooltip icontooltip
- tooltip text or language key
WebCustomTooltip setToolTip(java.lang.String tooltip, TooltipWay tooltipWay)
tooltip
- tooltip text or language keytooltipWay
- tooltip display direction
WebCustomTooltip setToolTip(javax.swing.Icon icon, java.lang.String tooltip, TooltipWay tooltipWay)
icon
- tooltip icontooltip
- tooltip text or language keytooltipWay
- tooltip display direction
WebCustomTooltip setToolTip(java.lang.String tooltip, TooltipWay tooltipWay, int delay)
tooltip
- tooltip text or language keytooltipWay
- tooltip display directiondelay
- tooltip display delay
WebCustomTooltip setToolTip(javax.swing.Icon icon, java.lang.String tooltip, TooltipWay tooltipWay, int delay)
icon
- tooltip icontooltip
- tooltip text or language keytooltipWay
- tooltip display directiondelay
- tooltip display delay
WebCustomTooltip setToolTip(javax.swing.JComponent tooltip)
tooltip
- custom tooltip component
WebCustomTooltip setToolTip(javax.swing.JComponent tooltip, int delay)
tooltip
- custom tooltip componentdelay
- tooltip display delay
WebCustomTooltip setToolTip(javax.swing.JComponent tooltip, TooltipWay tooltipWay)
tooltip
- custom tooltip componenttooltipWay
- tooltip display direction
WebCustomTooltip setToolTip(javax.swing.JComponent tooltip, TooltipWay tooltipWay, int delay)
tooltip
- custom tooltip componenttooltipWay
- tooltip display directiondelay
- tooltip display delay
WebCustomTooltip addToolTip(java.lang.String tooltip)
tooltip
- tooltip text or language key
WebCustomTooltip addToolTip(javax.swing.Icon icon, java.lang.String tooltip)
icon
- tooltip icontooltip
- tooltip text or language key
WebCustomTooltip addToolTip(java.lang.String tooltip, TooltipWay tooltipWay)
tooltip
- tooltip text or language keytooltipWay
- tooltip display direction
WebCustomTooltip addToolTip(javax.swing.Icon icon, java.lang.String tooltip, TooltipWay tooltipWay)
icon
- tooltip icontooltip
- tooltip text or language keytooltipWay
- tooltip display direction
WebCustomTooltip addToolTip(java.lang.String tooltip, TooltipWay tooltipWay, int delay)
tooltip
- tooltip text or language keytooltipWay
- tooltip display directiondelay
- tooltip display delay
WebCustomTooltip addToolTip(javax.swing.Icon icon, java.lang.String tooltip, TooltipWay tooltipWay, int delay)
icon
- tooltip icontooltip
- tooltip text or language keytooltipWay
- tooltip display directiondelay
- tooltip display delay
WebCustomTooltip addToolTip(javax.swing.JComponent tooltip)
tooltip
- custom tooltip component
WebCustomTooltip addToolTip(javax.swing.JComponent tooltip, int delay)
tooltip
- custom tooltip componentdelay
- tooltip display delay
WebCustomTooltip addToolTip(javax.swing.JComponent tooltip, TooltipWay tooltipWay)
tooltip
- custom tooltip componenttooltipWay
- tooltip display direction
WebCustomTooltip addToolTip(javax.swing.JComponent tooltip, TooltipWay tooltipWay, int delay)
tooltip
- custom tooltip componenttooltipWay
- tooltip display directiondelay
- tooltip display delay
void removeToolTip(WebCustomTooltip tooltip)
tooltip
- custom WebLaF tooltip to removevoid removeToolTips()
void removeToolTips(WebCustomTooltip... tooltips)
tooltips
- custom WebLaF tooltips to removevoid removeToolTips(java.util.List<WebCustomTooltip> tooltips)
tooltips
- custom WebLaF tooltips to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |