aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-10-17 18:02:07 +0200
committerSven Gothel <[email protected]>2013-10-17 18:02:07 +0200
commitd9fba0ea89ae71ce29fb528593fee24707b896ad (patch)
treed90b93fceedc50407d9abeafce3828e78e5f816a /src/newt/classes/jogamp
parent8815245ebb9efc6d49052ff1fb34a3ee6ecfcc6b (diff)
Regression of commit a90bf31f8747dd38c61d518f8af4d4d4a64a8e90: 'consume<Type>Event(<Type>Event ..)' must be protected and non-final
Overriding by impl. class allowed.
Diffstat (limited to 'src/newt/classes/jogamp')
-rw-r--r--src/newt/classes/jogamp/newt/WindowImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newt/classes/jogamp/newt/WindowImpl.java b/src/newt/classes/jogamp/newt/WindowImpl.java
index 656bca6bc..dcb811b97 100644
--- a/src/newt/classes/jogamp/newt/WindowImpl.java
+++ b/src/newt/classes/jogamp/newt/WindowImpl.java
@@ -2784,7 +2784,7 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer
* - dispatch event to listener
* </pre>
*/
- private final void consumePointerEvent(MouseEvent pe) {
+ protected void consumePointerEvent(MouseEvent pe) {
int x = pe.getX();
int y = pe.getY();
@@ -3124,7 +3124,7 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer
return e.isConsumed();
}
- private final void consumeKeyEvent(KeyEvent e) {
+ protected void consumeKeyEvent(KeyEvent e) {
boolean consumedE = false;
if( null != keyboardFocusHandler && !e.isAutoRepeat() ) {
consumedE = propagateKeyEvent(e, keyboardFocusHandler);
@@ -3203,7 +3203,7 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer
return windowListeners.toArray(new WindowListener[windowListeners.size()]);
}
- private final void consumeWindowEvent(WindowEvent e) {
+ protected void consumeWindowEvent(WindowEvent e) {
if(DEBUG_IMPLEMENTATION) {
System.err.println("consumeWindowEvent: "+e+", visible "+isVisible()+" "+getX()+"/"+getY()+" "+getWidth()+"x"+getHeight());
}