Documentation of 'edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin' Java class
AbstractGraphMousePlugin
edu.uci.ics.jung.visualization.control

Class AbstractGraphMousePlugin

    • Constructor Summary

      Constructors 
      Constructor and Description
      AbstractGraphMousePlugin(int modifiers)
      Creates an instance with the specified mouse event modifiers.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean checkModifiers(java.awt.event.MouseEvent e)
      check the mouse event modifiers against the instance member modifiers.
      java.awt.Cursor getCursor() 
      int getModifiers()
      getter for mouse modifiers
      void setCursor(java.awt.Cursor cursor) 
      void setModifiers(int modifiers)
      setter for mouse modifiers
      • Methods inherited from class java.lang.Object

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

      • AbstractGraphMousePlugin

        public AbstractGraphMousePlugin(int modifiers)
        Creates an instance with the specified mouse event modifiers.
        Parameters:
        modifiers - the mouse event modifiers to use
    • Method Detail

      • getModifiers

        public int getModifiers()
        getter for mouse modifiers
        Specified by:
        getModifiers in interface GraphMousePlugin
        Returns:
        the mouse event modifiers that will activate this plugin
      • setModifiers

        public void setModifiers(int modifiers)
        setter for mouse modifiers
        Specified by:
        setModifiers in interface GraphMousePlugin
        Parameters:
        modifiers - the mouse event modifiers that will activate this plugin
      • checkModifiers

        public boolean checkModifiers(java.awt.event.MouseEvent e)
        check the mouse event modifiers against the instance member modifiers. Default implementation checks equality. Can be overridden to test with a mask
        Specified by:
        checkModifiers in interface GraphMousePlugin
        Parameters:
        e - an event to compare to
        Returns:
        whether the member modifiers match the event modifiers
      • getCursor

        public java.awt.Cursor getCursor()
        Returns:
        Returns the cursor.
      • setCursor

        public void setCursor(java.awt.Cursor cursor)
        Parameters:
        cursor - The cursor to set.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.