Documentation of 'de.erichseifert.gral.navigation.NavigationEvent' Java class
NavigationEvent
de.erichseifert.gral.navigation

Class NavigationEvent<T>

  • Type Parameters:
    T - Data type of the value that has been changed.


    public class NavigationEvent<T>
    extends java.lang.Object
    Data class that describes a navigational event, like zooming or panning.
    • Constructor Summary

      Constructors 
      Constructor and Description
      NavigationEvent(Navigator source, T valueOld, T valueNew)
      Initializes a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Navigator getSource()
      Returns the navigator that has caused the change.
      T getValueNew()
      Returns the value after the change.
      T getValueOld()
      Returns the value before the change.
      • Methods inherited from class java.lang.Object

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

      • NavigationEvent

        public NavigationEvent(Navigator source,
                               T valueOld,
                               T valueNew)
        Initializes a new instance.
        Parameters:
        source - Navigator object that has caused the change.
        valueOld - Value before the change
        valueNew - Value after the change.
    • Method Detail

      • getSource

        public Navigator getSource()
        Returns the navigator that has caused the change.
        Returns:
        Navigator object that has caused the change.
      • getValueOld

        public T getValueOld()
        Returns the value before the change.
        Returns:
        Value before the change.
      • getValueNew

        public T getValueNew()
        Returns the value after the change.
        Returns:
        Value after the change.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.