List of usage examples for com.vaadin.shared EventId CLICK_EVENT_IDENTIFIER
String CLICK_EVENT_IDENTIFIER
To view the source code for com.vaadin.shared EventId CLICK_EVENT_IDENTIFIER.
Click Source Link
From source file:org.asi.ui.customtextfield.client.VCustomTextField.java
License:Apache License
@Override public void onClick(ClickEvent event) { if (client != null && client.hasEventListeners(this, EventId.CLICK_EVENT_IDENTIFIER)) { client.updateVariable(paintableId, EventId.CLICK_EVENT_IDENTIFIER, "", true); }// w w w. j av a 2 s . c o m }
From source file:org.vaadin.alump.scaleimage.ScaleImage.java
License:Apache License
/** * Add click listener/*from w w w. ja v a2 s . c om*/ * @param listener Listener added */ public void addClickListener(MouseEvents.ClickListener listener) { addListener(EventId.CLICK_EVENT_IDENTIFIER, ClickEvent.class, listener, MouseEvents.ClickListener.clickMethod); }
From source file:org.vaadin.alump.scaleimage.ScaleImage.java
License:Apache License
/** * Remove click listener/*from w ww .java 2s. c o m*/ * @param listener Listener removed */ public void removeClickListener(MouseEvents.ClickListener listener) { removeListener(EventId.CLICK_EVENT_IDENTIFIER, ClickEvent.class, listener); }