Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1.  
  2. //import com.google.gwt.dev.asm.Label;
  3. import com.google.gwt.event.dom.client.ClickEvent;
  4. import com.google.gwt.event.dom.client.ClickHandler;
  5. import com.google.gwt.user.client.ui.Label;
  6.  
  7. /**
  8. *
  9. * @author Neverdie
  10. */
  11. public class GestionEvenement implements ClickHandler {
  12.  
  13. com.google.gwt.user.client.ui.Label label = new Label();
  14.  
  15. public GestionEvenement(Object arg) {
  16. if (arg.getClass().getName().equals("com.google.gwt.user.client.ui.Label")) {
  17. label = (Label) arg;
  18. label.setVisible(true);
  19. }
  20.  
  21. }
  22.  
  23. @Override
  24. public void onClick(ClickEvent event) { label.setVisible(!label.isVisible());
  25. throw new UnsupportedOperationException("Not supported yet.");
  26.  
  27.  
  28.  
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement