Klasse AWTToolTipManager
java.lang.Object
de.labAlive.core.window.tooltip.AWTToolTipManager
- Alle implementierten Schnittstellen:
MouseListener, Runnable, EventListener
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidvoidDetermines which Component the mouse cursor is over and starts a thread to wait the appropriate amount of time before displaying its tooltip.voidInterrupts the thread that is waiting to display the tooltip and hides the tooltip window.voidInterrupts the thread that is waiting to display the tooltip and hides the tooltip window.voidstatic voidremoveToolTipText(Component component) Removes a tooltip from a given Component.voidrun()Implementation of the timer thread.static voidsetToolTipText(Component component, String tip) Adds a tooltip to a given Component.
-
Methodendetails
-
setToolTipText
-
mouseEntered
Determines which Component the mouse cursor is over and starts a thread to wait the appropriate amount of time before displaying its tooltip.- Angegeben von:
mouseEnteredin SchnittstelleMouseListener
-
mouseExited
Interrupts the thread that is waiting to display the tooltip and hides the tooltip window.- Angegeben von:
mouseExitedin SchnittstelleMouseListener
-
mousePressed
Interrupts the thread that is waiting to display the tooltip and hides the tooltip window.- Angegeben von:
mousePressedin SchnittstelleMouseListener
-
mouseReleased
- Angegeben von:
mouseReleasedin SchnittstelleMouseListener
-
mouseClicked
- Angegeben von:
mouseClickedin SchnittstelleMouseListener
-
removeToolTipText
Removes a tooltip from a given Component.- Parameter:
component- the Component
-
run
-