Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //import com.google.gwt.dev.asm.Label;
- import com.google.gwt.event.dom.client.ClickEvent;
- import com.google.gwt.event.dom.client.ClickHandler;
- import com.google.gwt.user.client.ui.Label;
- /**
- *
- * @author Neverdie
- */
- public class GestionEvenement implements ClickHandler {
- com.google.gwt.user.client.ui.Label label = new Label();
- public GestionEvenement(Object arg) {
- if (arg.getClass().getName().equals("com.google.gwt.user.client.ui.Label")) {
- label = (Label) arg;
- label.setVisible(true);
- }
- }
- @Override
- public void onClick(ClickEvent event) { label.setVisible(!label.isVisible());
- throw new UnsupportedOperationException("Not supported yet.");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement