選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

Focusable.java 557B

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