Package com.dodo.blog.ui.component.composite

Source Code of com.dodo.blog.ui.component.composite.AsideContentPanel

package com.dodo.blog.ui.component.composite;

import com.dodo.blog.ui.component.container.Panel;

/**
* @author <a href="mailto:pohorelec@comvai.com">Jozef Pohorelec</a>
*/
public class AsideContentPanel
        extends Panel
{
    public AsideContentPanel()
    {
        setClassName( "aside-content" );

        Panel asideLeft = new Panel();
        asideLeft.setClassName( "aside-left" );
        add( asideLeft );

        Panel asideRight = new Panel();
        asideRight.setClassName( "aside-right" );
        add( asideRight );

        asideLeft.add( new AsidePanel( AsidePanel.Type.MOST_VIEWED ) );
        asideLeft.add( new AsidePanel( AsidePanel.Type.BEST_RATED ) );
        asideLeft.add( new AsidePanel( AsidePanel.Type.RECENT_POSTS ) );
        asideRight.add( new AsidePanel( AsidePanel.Type.CATEGORIES ) );
        asideRight.add( new AsidePanel( AsidePanel.Type.TAGS ) );
    }
}
TOP

Related Classes of com.dodo.blog.ui.component.composite.AsideContentPanel

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.