Package org.wicketstuff.yui.behavior.resize

Examples of org.wicketstuff.yui.behavior.resize.YuiResize


{

  @SuppressWarnings("serial")
  public YuiResizePage()
  {
    add(new WebMarkupContainer("simple").add(new YuiResize()));

    add(new WebMarkupContainer("proxy").add(new YuiResize()
    {
      @Override
      protected String getOpts()
      {
        return "{ proxy: true, status: true}";
      }
    }));

    add(new WebMarkupContainer("animated").add(new YuiResize()
    {
      @Override
      protected String getOpts()
      {
        return "{ proxy: true, status: true, animate: true, animateDuration: .75, "
            + "animateEasing: YAHOO.util.Easing.backBoth}";
      }
    }));

    add(new WebMarkupContainer("eight").add(new YuiResize()
    {
      @Override
      protected String getOpts()
      {
        return "{ handles: 'all', knobHandles: true,  "
            + "height: '199px', width: '300px'," + "proxy: true, status: true,"
            + "draggable: true, animate: true, animateDuration: .75, "
            + "animateEasing: YAHOO.util.Easing.backBoth}";

      }
    }));

    add(new WebMarkupContainer("ghost").add(new YuiResize()
    {
      @Override
      protected String getOpts()
      {
        return "{ handles: 'all', knobHandles: true,  "
View Full Code Here


    // add to container
    container.add(yuiPanel = new WebMarkupContainer("yuiPanel"));
    yuiPanel.setOutputMarkupId(true);

    yuiPanel.add(new YuiResize()
    {

      private static final long serialVersionUID = 1L;

      @Override
View Full Code Here

TOP

Related Classes of org.wicketstuff.yui.behavior.resize.YuiResize

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.