de.erichseifert.gral.navigation
Class NavigationEvent<T>
- java.lang.Object
-
- de.erichseifert.gral.navigation.NavigationEvent<T>
-
- Type Parameters:
T- Data type of the value that has been changed.
public class NavigationEvent<T> extends java.lang.ObjectData 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 NavigatorgetSource()Returns the navigator that has caused the change.TgetValueNew()Returns the value after the change.TgetValueOld()Returns the value before 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