com.supermap.data

Class TimePositionChangedEvent

  • java.lang.Object
    • java.util.EventObject
      • com.supermap.data.TimePositionChangedEvent
  • All Implemented Interfaces:
    java.io.Serializable


    public class TimePositionChangedEvent
    extends java.util.EventObject
    Indicates the event that the time of animation changes.

    Call this method when the time of node animation changes.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      TimePositionChangedEvent(java.lang.Object source, double timePosition)
      Create a new object of TimePositionChangedEvent according to the given parameter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double getTimePosition()
      Get current time position.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

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

      • TimePositionChangedEvent

        public TimePositionChangedEvent(java.lang.Object source,
                                        double timePosition)
        Create a new object of TimePositionChangedEvent according to the given parameter.
        Parameters:
        source - The source object.
        timePosition - The specified time position
    • Method Detail

      • getTimePosition

        public double getTimePosition()
        Get current time position.
        Returns:
        Time position.