Examples of ClickButtonListener


Examples of org.waveprotocol.wave.client.widget.button.ClickButton.ClickButtonListener

  // the click handler in the context of the activate method of a node event handler,
  // which has access to the ContentElement.
  public SuggestionButton(final ContentElement element) {
    Widget clickButton =
        ButtonFactory.createIconClickButton(IconButtonStyle.LIGHTBULB, TOOLTIP,
        new ClickButtonListener() {
          @Override
          public void onClick() {
            HasSuggestions suggestion =
                element.getProperty(SuggestionRenderer.HAS_SUGGESTIONS_PROP);
            element.getSuggestionsManager().showSuggestionsFor(suggestion);
View Full Code Here

Examples of org.waveprotocol.wave.client.widget.button.ClickButton.ClickButtonListener

  // the click handler in the context of the activate method of a node event handler,
  // which has access to the ContentElement.
  public SuggestionButton(final ContentElement element) {
    Widget clickButton =
        ButtonFactory.createIconClickButton(IconButtonStyle.LIGHTBULB, TOOLTIP,
        new ClickButtonListener() {
          @Override
          public void onClick() {
            HasSuggestions suggestion =
                element.getProperty(SuggestionRenderer.HAS_SUGGESTIONS_PROP);
            element.getSuggestionsManager().showSuggestionsFor(suggestion);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.