aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/ui/Window.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/itmill/toolkit/ui/Window.java')
-rw-r--r--src/com/itmill/toolkit/ui/Window.java28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/com/itmill/toolkit/ui/Window.java b/src/com/itmill/toolkit/ui/Window.java
index a042a30776..416270f194 100644
--- a/src/com/itmill/toolkit/ui/Window.java
+++ b/src/com/itmill/toolkit/ui/Window.java
@@ -94,11 +94,6 @@ public class Window extends Panel implements URIHandler, ParameterHandler {
private int border = BORDER_DEFAULT;
/**
- * Focused component.
- */
- private Focusable focusedComponent;
-
- /**
* Distance of Window top border in pixels from top border of the containing
* (main window) or -1 if unspecified.
*/
@@ -872,29 +867,6 @@ public class Window extends Panel implements URIHandler, ParameterHandler {
}
/**
- * Gets the currently focused component in this window.
- *
- * @return the Focused component or null if none is focused.
- */
- public Component.Focusable getFocusedComponent() {
- return focusedComponent;
- }
-
- /**
- * Sets the currently focused component in this window.
- *
- * @param focusable
- * the Focused component or null if none is focused.
- */
- public void setFocusedComponent(Component.Focusable focusable) {
- final Application app = getApplication();
- if (app != null) {
- app.setFocusedComponent(focusable);
- focusedComponent = focusable;
- }
- }
-
- /**
* Gets the distance of Window left border in pixels from left border of the
* containing (main window).
*