changeset 99:581183c6c16a

RT-18290: TreeView: consumes a MOUSE_DRAGGED event (b24)
author Jonathan Giles
date Thu, 01 Dec 2011 10:21:38 +1000
parents b13ea35c580f
children bafb77d6c156
files javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/ListCellBehavior.java javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/TableCellBehavior.java javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/TreeCellBehavior.java
diffstat 3 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/ListCellBehavior.java	Thu Dec 01 10:12:42 2011 +1000
+++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/ListCellBehavior.java	Thu Dec 01 10:21:38 2011 +1000
@@ -86,12 +86,10 @@
             latePress = false;
             doSelect(event);
         }
-        event.consume();
     }
     
     @Override public void mouseDragged(MouseEvent event) {
         latePress = false;
-        event.consume();
     }
     
     private void doSelect(MouseEvent e) {
--- a/javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/TableCellBehavior.java	Thu Dec 01 10:12:42 2011 +1000
+++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/TableCellBehavior.java	Thu Dec 01 10:21:38 2011 +1000
@@ -81,12 +81,10 @@
             latePress = false;
             doSelect(event);
         }
-        event.consume();
     }
     
     @Override public void mouseDragged(MouseEvent event) {
         latePress = false;
-        event.consume();
     }
 
     private void doSelect(MouseEvent e) {
--- a/javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/TreeCellBehavior.java	Thu Dec 01 10:12:42 2011 +1000
+++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/TreeCellBehavior.java	Thu Dec 01 10:21:38 2011 +1000
@@ -83,12 +83,10 @@
             latePress = false;
             doSelect(event);
         }
-        event.consume();
     }
     
     @Override public void mouseDragged(MouseEvent event) {
         latePress = false;
-        event.consume();
     }
     
     private void doSelect(MouseEvent event) {