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.

WindowControlButtonFocus.java 661B

12345678910111213141516171819202122232425
  1. package com.vaadin.tests.themes.valo;
  2. import com.vaadin.server.VaadinRequest;
  3. import com.vaadin.tests.components.AbstractTestUI;
  4. import com.vaadin.ui.Label;
  5. import com.vaadin.ui.Window;
  6. public class WindowControlButtonFocus extends AbstractTestUI {
  7. @Override
  8. protected void setup(VaadinRequest request) {
  9. Window window = new Window("Window", new Label());
  10. window.center();
  11. addWindow(window);
  12. }
  13. @Override
  14. protected Integer getTicketNumber() {
  15. return 8918;
  16. }
  17. @Override
  18. protected String getTestDescription() {
  19. return "Window control buttons should have noticeable focus styles.";
  20. }
  21. }