Class HoverEvent


  • public class HoverEvent
    extends java.lang.Object
    HoverEvent contains information about a component hovered by the mouse
    • Constructor Summary

      Constructors 
      Constructor Description
      HoverEvent​(java.awt.Component source)
      Creates a HoverEvent
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Component getSource()
      Gets the hoverable component that is the source for this event
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HoverEvent

        public HoverEvent​(java.awt.Component source)
        Creates a HoverEvent
        Parameters:
        source - the hoverable component that is the source for this event
    • Method Detail

      • getSource

        public java.awt.Component getSource()
        Gets the hoverable component that is the source for this event
        Returns:
        the hoverable component