Ignore:
Timestamp:
12/04/13 10:53:39 (11 years ago)
Author:
jts21
Message:

Add callbacks for middle/right clicks on widgets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/items/widgets/InteractiveWidget.java

    r539 r567  
    17311731        }
    17321732       
     1733        /**
     1734         * Event called when the widget is middle clicked while there are items attached to the FreeItems buffer
     1735         *
     1736         * @return true if event was handled (no pass through), otherwise false
     1737         */
     1738        public boolean ItemsMiddleClickDropped() {
     1739                System.out.println("MiddleClickDropped");
     1740                return false;
     1741        }
     1742       
     1743        /**
     1744         * Event called when the widget is left clicked while there are items attached to the FreeItems buffer
     1745         *
     1746         * @return true if event was handled (no pass through), otherwise false
     1747         */
     1748        public boolean ItemsRightClickDropped() {
     1749                System.out.println("RightClickDropped");
     1750                return false;
     1751        }
     1752       
    17331753}
Note: See TracChangeset for help on using the changeset viewer.