Package org.odlabs.wiquery.ui.resizable

Examples of org.odlabs.wiquery.ui.resizable.ResizableAjaxBehavior


      add(size);
      size.setOutputMarkupId(true);
      size.setEscapeModelStrings(false);
     
      WebMarkupContainer resizable = new WebMarkupContainer("resizable");
      ResizableAjaxBehavior ajaxBehavior = new ResizableAjaxBehavior(){
       
        private static final long serialVersionUID = 1L;

      @Override
        public void onResize(int height, int width, AjaxRequestTarget ajaxRequestTarget) {
        ResizablePanel.this.height = height;
        ResizablePanel.this.width = width;
        ajaxRequestTarget.addComponent(ResizablePanel.this.get("size"));
        }
      };     
     
      ajaxBehavior.getResizableBehavior()
               .setGhost(true)
               .setAnimate(true)
               .setAutoHide(true);
     
      resizable.add(ajaxBehavior);
View Full Code Here

TOP

Related Classes of org.odlabs.wiquery.ui.resizable.ResizableAjaxBehavior

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.