diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-06 08:55:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-12 09:41:28 +0200 |
commit | 0477e6c39b7ce8b7f6560fbf222c19fe4f358dc8 (patch) | |
tree | 218eba20dd23c6a865cf01aa7532bf1261a69bc8 /odk/examples/DevelopersGuide/GUI/UnoMenu2.java | |
parent | e2e55a7c49079dfd896da6515b98d451e4c8735b (diff) |
java: add @Override annotation to overriding methods
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
Diffstat (limited to 'odk/examples/DevelopersGuide/GUI/UnoMenu2.java')
-rw-r--r-- | odk/examples/DevelopersGuide/GUI/UnoMenu2.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odk/examples/DevelopersGuide/GUI/UnoMenu2.java b/odk/examples/DevelopersGuide/GUI/UnoMenu2.java index 6c3cb0c60828..24b0aabab04e 100644 --- a/odk/examples/DevelopersGuide/GUI/UnoMenu2.java +++ b/odk/examples/DevelopersGuide/GUI/UnoMenu2.java @@ -85,13 +85,16 @@ public UnoMenu2(XComponentContext _xContext, XMultiComponentFactory _xMCF) { e.printStackTrace(); }} + @Override protected void closeDialog(){ xDialog.endExecute(); } + @Override public void mouseReleased(MouseEvent mouseEvent) { } + @Override public void mousePressed(MouseEvent mouseEvent) { if (mouseEvent.PopupTrigger){ Rectangle aPos = new Rectangle(mouseEvent.X, mouseEvent.Y, 0, 0); @@ -100,12 +103,15 @@ public UnoMenu2(XComponentContext _xContext, XMultiComponentFactory _xMCF) { } } + @Override public void mouseExited(MouseEvent mouseEvent) { } + @Override public void mouseEntered(MouseEvent mouseEvent) { } + @Override public void disposing(EventObject eventObject) { } } |