Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.wicketstuff;
 
public class LiquidExamplePage extends ArtworkParentExamplePage {
	private static final long serialVersionUID = 1L;
	// TODO Add any page properties or variables here

    
Constructor that is invoked when page is invoked without a session.

Parameters:
parameters Page parameters
    public LiquidExamplePage(final PageParameters parameters) {
    	super(parameters);
    	Graphics g=new Shadow();
    	LiquidCanvasBehavior liquidCanvasBehaviorOne=new LiquidCanvasBehavior(g,new RoundedRect());
    	
    	WebMarkupContainer liquidOneExample=new WebMarkupContainer("LiquidOne");
    	liquidOneExample.add(liquidCanvasBehaviorOne);
        add(liquidOneExample);
        
        
    	g=new Shadow(9,"#FF3300",2);
    	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);
        
        
        
    }
New to GrepCode? Check out our FAQ X