Examples of LiquidCanvasBehavior


Examples of org.wicketstuff.artwork.liquidcanvas.LiquidCanvasBehavior

    public LiquidExamplePage(final PageParameters parameters) {
      super(parameters);

      Graphics g=new Shadow();
      g.setChainedGraphics(new Border()).setChainedGraphics(new Gradient());
      LiquidCanvasBehavior liquidCanvasBehaviorOne=new LiquidCanvasBehavior(g,new RoundedRect());
     
      WebMarkupContainer liquidOneExample=new WebMarkupContainer("LiquidOne");
      liquidOneExample.add(liquidCanvasBehaviorOne);
        add(liquidOneExample);
       
       
      g=new Shadow(9,"#FF3300",2);
      g.setChainedGraphics(new Border()).setChainedGraphics(new Gradient());
      LiquidCanvasBehavior liquidCanvasBehaviorTwo=new LiquidCanvasBehavior(g,new RoundedRect());

       
      WebMarkupContainer liquidTwoExample=new WebMarkupContainer("LiquidTwo");
      liquidTwoExample.add(liquidCanvasBehaviorTwo);
        add(liquidTwoExample);

       
      g=new Gradient("rgba(255,255,255, 0.2)","#888");
     
      LiquidCanvasBehavior liquidCanvasBehaviorThree=new LiquidCanvasBehavior(g,new RoundedRect());

       
      WebMarkupContainer liquidThreeExample=new WebMarkupContainer("LiquidThree");
      liquidThreeExample.add(liquidCanvasBehaviorThree);
        add(liquidThreeExample);
View Full Code Here

Examples of org.wicketstuff.artwork.liquidcanvas.LiquidCanvasBehavior

  @Override
  protected LiquidCanvasBehavior getBehavior() {
    Graphics g=new Border();
    g.setChainedGraphics(new Shadow());
   
    return new LiquidCanvasBehavior(g);
  }
View Full Code Here

Examples of org.wicketstuff.artwork.liquidcanvas.LiquidCanvasBehavior

public class TwoGraphicPage extends AbstractGraphicPage {

  @Override
  protected LiquidCanvasBehavior getBehavior() {
    return new LiquidCanvasBehavior(new Border(),new Shadow());
  }
View Full Code Here

Examples of org.wicketstuff.artwork.liquidcanvas.LiquidCanvasBehavior

public class OneGraphicPage extends AbstractGraphicPage {

  @Override
  protected LiquidCanvasBehavior getBehavior() {
    return new LiquidCanvasBehavior(new Border());
  }
View Full Code Here

Examples of org.wicketstuff.artwork.liquidcanvas.LiquidCanvasBehavior

  public HomePage(final PageParameters parameters) {
    super(parameters);
    // Add the simplest type of label
    Graphics g = new Shadow();
    g.setChainedGraphics(new Border()).setChainedGraphics(new Gradient());
    LiquidCanvasBehavior a = new LiquidCanvasBehavior(g, new RoundedRect());
    add(new WebMarkupContainer("message").add(a));

    add(new WebMarkupContainer("box").add(new NiftyCornersBehavior()));

    // TODO Add your page's components here
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.