Changeset 277 for trunk/src/org/expeditee/gui/PopupManager.java
- Timestamp:
- 08/25/08 12:42:23 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/PopupManager.java
r219 r277 45 45 46 46 private LinkedList<AnimatedPopup> _animatingPopups = new LinkedList<AnimatedPopup>(); 47 48 47 private AnimationThread _animationThread = null; 49 48 50 49 private final int ANIMATION_DURATION = 180; // Tume its takes for a maximize . minimize to animate. In ms. 51 50 private final int ANIMATION_RATE = 30; // in ms … … 87 86 if (c == null) throw new NullPointerException("c"); 88 87 return _invokers.contains(c); 88 } 89 90 /** 91 * Gets an invoker for a popup 92 * 93 * @param p 94 * The popup to get the invoker for. 95 * 96 * @return 97 * The invoker for the given popup. 98 * Null if popup does not exist. 99 */ 100 public Component getInvoker(Popup p) { 101 if (p == null) throw new NullPointerException("p"); 102 return _popups.get(p); 89 103 } 90 104 … … 704 718 } 705 719 720 706 721 public class ExpandShrinkAnimator implements PopupAnimator { 707 722
Note:
See TracChangeset
for help on using the changeset viewer.