Package com.wiquery.plugin.antilia.link

Examples of com.wiquery.plugin.antilia.link.JqAjaxLink


         
          private static final long serialVersionUID = 1L;
         
          @Override
          protected void populateMenu(IMenu menu, int row, IModel<Person> rowModel) {
            menu.addMenuItem(new JqAjaxLink(menu.newItemId(), JQIcon.ui_icon_alert, "alert!") {
             
              private static final long serialVersionUID = 1L;

              @Override
              public void onClick(AjaxRequestTarget target) {
View Full Code Here


         
          private static final long serialVersionUID = 1L;
         
          @Override
          protected void populateMenu(IMenu menu, int row, IModel<Person> rowModel) {
            menu.addMenuItem(new JqAjaxLink(menu.newItemId(), JQIcon.ui_icon_alert, "alert!") {
             
              private static final long serialVersionUID = 1L;

              @Override
              public void onClick(AjaxRequestTarget target) {
View Full Code Here

  /**
   * @param id
   */
  public IndicatorPanel(String id, List<SourceInfo> code) {
    super(id);
    JqAjaxLink link = new JqAjaxLink("link", JQIcon.ui_icon_help, "See source code") {
      private static final long serialVersionUID = 1L;

     
      @Override
      public void onClick(AjaxRequestTarget target) {
View Full Code Here

        item.add(new EmptyPanel("id"));
      }

      @Override
      protected void populateItem(Item<JQIcon> item) {
        item.add(new JqAjaxLink("id", item.getModelObject(), item.getModelObject().getCssName()) {
         
          private static final long serialVersionUID = 1L;

          @Override
          public void onClick(AjaxRequestTarget target) {
View Full Code Here

  protected void configureFoldable(IMenu menu) {
    if(!isFoldable()) {
      return;
    }
    if(isAjaxFoldable()) {
      menu.addMenuItem(new JqAjaxLink(menu.newItemId(), JQIcon.ui_icon_circle_minus, "Fold") {
         
          private static final long serialVersionUID = 1L;
 
       
        @Override
        public void onClick(AjaxRequestTarget target) {
          setFolded(true);
          target.addComponent(RoundPanel.this.menu);
          //target.appendJavascript(new JsStatement().$(body).chain(new FadeOut(EffectSpeed.FAST)).render(true).toString());       
          target.appendJavascript(root.getMarkupId()+".toggleFold();");
        }
       
        @Override
        public boolean isVisible() {
          return !folded;
        }
        });
     
      menu.addMenuItem(new JqAjaxLink(menu.newItemId(), JQIcon.ui_icon_circle_plus, "Unfold") {
         
          private static final long serialVersionUID = 1L;
 
       
        @Override
View Full Code Here

TOP

Related Classes of com.wiquery.plugin.antilia.link.JqAjaxLink

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.