Package org.cyclop.web.components.buttons

Examples of org.cyclop.web.components.buttons.StateButton


  }

  public ButtonsPanel withCompletion(final ButtonListener.CompletionChange buttonListener) {
    UserPreferences preferences = userManager.readPreferences();
    boolean completionEnabled = preferences.isShowCqlCompletionHint();
    AjaxFallbackLink<Void> completion = new StateButton("completion", completionEnabled, "btn btn-sm btn-primary",
        "btn btn-sm btn-primary active") {
      @Override
      protected void onClick(AjaxRequestTarget target, boolean pressed) {
        UserPreferences preferences = userManager.readPreferences();
        preferences.setShowCqlCompletionHint(pressed);
View Full Code Here

TOP

Related Classes of org.cyclop.web.components.buttons.StateButton

Copyright © 2018 www.massapicom. 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.