Package org.wicketstuff.artwork.liquidcanvas.graphics

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


   */
    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");
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.Gradient

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.