Package org.wicketstuff.artwork.liquidcanvas.graphics

Examples of org.wicketstuff.artwork.liquidcanvas.graphics.Border


   */
    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);
View Full Code Here


public class OneGraphicChainedPage extends AbstractGraphicPage {

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

public class TwoGraphicPage extends AbstractGraphicPage {

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

public class OneGraphicPage extends AbstractGraphicPage {

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

   */
  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()));

View Full Code Here

TOP

Related Classes of org.wicketstuff.artwork.liquidcanvas.graphics.Border

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.