Ignore:
Timestamp:
08/25/08 12:42:23 (16 years ago)
Author:
bjn8
Message:

Simple changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/PopupManager.java

    r219 r277  
    4545       
    4646        private LinkedList<AnimatedPopup> _animatingPopups = new LinkedList<AnimatedPopup>();
    47 
    4847        private AnimationThread _animationThread = null;
    49        
     48
    5049        private final int ANIMATION_DURATION = 180; // Tume its takes for a maximize . minimize to animate. In ms.
    5150        private final int ANIMATION_RATE = 30; // in ms
     
    8786                if (c == null) throw new NullPointerException("c");
    8887                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);
    89103        }
    90104       
     
    704718        }
    705719       
     720       
    706721        public class ExpandShrinkAnimator implements PopupAnimator {
    707722               
Note: See TracChangeset for help on using the changeset viewer.