Module java.desktop

Class BasicTreeUI.MouseInputHandler

    • Field Detail

      • source

        protected Component source
        Source that events are coming from.
      • destination

        protected Component destination
        Destination that receives all events.
    • Constructor Detail

      • MouseInputHandler

        public MouseInputHandler​(Component source,
                                 Component destination,
                                 MouseEvent event)
        Constructs a new instance of MouseInputHandler.
        Parameters:
        source - a source component
        destination - a destination component
        event - a mouse event
    • Method Detail

      • removeFromSource

        protected void removeFromSource()
        Removes an event from the source.