You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Focusable.java 515B

12345678910111213141516
  1. package com.vaadin.terminal.gwt.client;
  2. /**
  3. * GWT's HasFocus is way too overkill for just receiving focus in simple
  4. * components. Vaadin uses this interface in addition to GWT's HasFocus to pass
  5. * focus requests from server to actual ui widgets in browsers.
  6. *
  7. * So in to make your server side focusable component receive focus on client
  8. * side it must either implement this or HasFocus interface.
  9. */
  10. public interface Focusable {
  11. /**
  12. * Sets focus to this widget.
  13. */
  14. public void focus();
  15. }