org.wings.SFlowDownLayout 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;
/**
* A {@link SFlowLayout} with vertical orientation.
*
* The container to which this layout is applied will preferrably keep it's natural dimension.
* Apply {@link SDimension#FULLWIDTH} as prefererred size on the container
* to take up the full width.
*
* @author Armin Haaf
*/
public class SFlowDownLayout extends SFlowLayout {
/**
* Creates a new SFlowDownLayout.
*/
public SFlowDownLayout() {
super(LEFT_ALIGN);
}
/**
* Creates a new SFlowDownLayout
with vertical orientation and the given alignment
* and gaps
* @param alignment the alignment
*/
public SFlowDownLayout(int alignment) {
super(alignment);
}
/**
* Creates a new SFlowDownLayout
with vertical orientation and the given alignment
* and gaps
* @param alignment the alignment
* @param hgap the horizontal gap
* @param vgap the vertical gap
*/
public SFlowDownLayout(int alignment, int hgap, int vgap) {
super(alignment, hgap, vgap);
}
}