org.wings.SPanel Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2000,2005 wingS development team.
*
* This file is part of wingS (http://wingsframework.org).
*
* wingS is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1
* of the License, or (at your option) any later version.
*
* Please see COPYING for the complete licence.
*/
package org.wings;
import org.wings.plaf.PanelCG;
/**
* Container that display and arranges the contained using the assigned {@link SLayoutManager}.
*
* @author Armin Haaf
*/
public class SPanel
extends SContainer {
/**
* Creates a panel with the default layout manager.
*/
public SPanel() {
super(new org.wings.SFlowLayout());
}
/**
* Creates a panel with the specified layout manager
* @param l the layout manager for the panel
*/
public SPanel(SLayoutManager l) {
super(l);
}
public void setCG(PanelCG cg) {
super.setCG(cg);
}
}