Class TimelineEngine.FullObjectID

  • Enclosing class:
    TimelineEngine

    static class TimelineEngine.FullObjectID
    extends java.lang.Object
    Identifies a main object and an optional secondary ID.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Object mainObj
      Main object for the timeline.
      java.lang.Comparable subID
      ID to distinguish between different sub-components of mainObj.
    • Constructor Summary

      Constructors 
      Constructor Description
      FullObjectID​(java.lang.Object mainObj, java.lang.Comparable subID)
      Creates a new object ID.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • mainObj

        public java.lang.Object mainObj
        Main object for the timeline.
      • subID

        public java.lang.Comparable subID
        ID to distinguish between different sub-components of mainObj. For example, the tabbed pane uses this field to make tab-specific animations.
    • Constructor Detail

      • FullObjectID

        public FullObjectID​(java.lang.Object mainObj,
                            java.lang.Comparable subID)
        Creates a new object ID.
        Parameters:
        mainObj - The main object.
        subID - ID to distinguish between different sub-components of mainObj. Can be null.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object