Documentation of 'com.jstatcom.ts.DefaultTSMouseListener' Java class
DefaultTSMouseListener
com.jstatcom.ts

Class DefaultTSMouseListener

  • All Implemented Interfaces:
    java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener


    public class DefaultTSMouseListener
    extends java.awt.event.MouseAdapter
    A MouseListener that is especially designed to be used with the TSList. It is meant to be shared between TSList instances, but can also be created and subclassed if necessary. The default implementation is empty, because no special mouse behaviour is attached to the TSList.
    • Constructor Summary

      Constructors 
      Constructor and Description
      DefaultTSMouseListener(java.lang.String name)
      Creates a DefaultTSMouseListener with a descriptive name.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      static DefaultTSMouseListener getSharedInstance()
      Returns an instance of the DefaultTSMouseListener, that can be shared across all TSList instances.
      java.lang.String toString()
      Returns String representation of DefaultTSMouseListener.
      • Methods inherited from class java.awt.event.MouseAdapter

        mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DefaultTSMouseListener

        public DefaultTSMouseListener(java.lang.String name)
        Creates a DefaultTSMouseListener with a descriptive name.
    • Method Detail

      • getSharedInstance

        public static DefaultTSMouseListener getSharedInstance()
        Returns an instance of the DefaultTSMouseListener, that can be shared across all TSList instances. It is also possible to create subclasses that can be individually configured and set to a TSList that should have a different MouseListener.
        Returns:
        an instance of this class that can be shared
      • toString

        public java.lang.String toString()
        Returns String representation of DefaultTSMouseListener.
        Overrides:
        toString in class java.lang.Object
        Returns:
        string representation

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.