[trident~source:112] Added Timeline.setName() for debugging purposes

  • From: kirillg@kenai.com
  • To: commits@trident.kenai.com
  • Subject: [trident~source:112] Added Timeline.setName() for debugging purposes
  • Date: Mon, 22 Mar 2010 05:31:52 +0000

Project:    trident
Repository: source
Revision:   112
Author:     kirillg
Date:       2010-03-22 05:31:46 UTC
Link:       

Log Message:
------------
Added Timeline.setName() for debugging purposes


Revisions:
----------
112


Modified Paths:
---------------
src/org/pushingpixels/trident/Timeline.java
src/org/pushingpixels/trident/TimelineEngine.java


Diffs:
------
Index: src/org/pushingpixels/trident/Timeline.java
===================================================================
--- src/org/pushingpixels/trident/Timeline.java (revision 111)
+++ src/org/pushingpixels/trident/Timeline.java (revision 112)
@@ -62,6 +62,8 @@
 
        Chain callback;
 
+       String name;
+
        List<AbstractFieldInfo> propertiesToInterpolate;
 
        /**
@@ -615,4 +617,12 @@
        public final long getDuration() {
                return this.duration;
        }
+
+       public String getName() {
+               return name;
+       }
+
+       public void setName(String name) {
+               this.name = name;
+       }
 }
\ No newline at end of file
Index: src/org/pushingpixels/trident/TimelineEngine.java
===================================================================
--- src/org/pushingpixels/trident/TimelineEngine.java   (revision 111)
+++ src/org/pushingpixels/trident/TimelineEngine.java   (revision 112)
@@ -323,6 +323,20 @@
                        // System.err.println("Periodic update on "
                        // + this.runningTimelines.size() + " timelines; "
                        // + passedSinceLastIteration + " ms passed since 
last");
+                       // for (Timeline t : runningTimelines) {
+                       // if (t.mainObject != null
+                       // && t.mainObject.getClass().getName().indexOf(
+                       // "ProgressBar") >= 0) {
+                       // continue;
+                       // }
+                       // System.err.println("\tTimeline @"
+                       // + t.hashCode()
+                       // + " ["
+                       // + t.getName()
+                       // + "] on "
+                       // + (t.mainObject == null ? "null" : t.mainObject
+                       // .getClass().getName()));
+                       // }
                        for (Iterator<Timeline> itTimeline = 
this.runningTimelines
                                        .iterator(); itTimeline.hasNext();) {
                                Timeline timeline = itTimeline.next();





[trident~source:112] Added Timeline.setName() for debugging purposes

kirillg 03/22/2010
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close