01: /*
02: * Copyright 2000,2005 wingS development team.
03: *
04: * This file is part of wingS (http://wingsframework.org).
05: *
06: * wingS is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU Lesser General Public License
08: * as published by the Free Software Foundation; either version 2.1
09: * of the License, or (at your option) any later version.
10: *
11: * Please see COPYING for the complete licence.
12: */
13: package org.wings;
14:
15: /**
16: * A {@link SFlowLayout} with vertical orientation.
17: * <p/>
18: * The container to which this layout is applied will preferrably keep it's natural dimension.
19: * Apply {@link SDimension#FULLWIDTH} as prefererred size on the container
20: * to take up the full width.
21: *
22: * @author <a href="mailto:haaf@mercatis.de">Armin Haaf</a>
23: */
24: public class SFlowDownLayout extends SFlowLayout {
25: /**
26: * Creates a new SFlowDownLayout.
27: */
28: public SFlowDownLayout() {
29: super (LEFT_ALIGN);
30: }
31:
32: /**
33: * Creates a new <code>SFlowDownLayout</code> with vertical orientation and the given alignment
34: * and gaps
35: * @param alignment the alignment
36: */
37: public SFlowDownLayout(int alignment) {
38: super (alignment);
39: }
40:
41: /**
42: * Creates a new <code>SFlowDownLayout</code> with vertical orientation and the given alignment
43: * and gaps
44: * @param alignment the alignment
45: * @param hgap the horizontal gap
46: * @param vgap the vertical gap
47: */
48: public SFlowDownLayout(int alignment, int hgap, int vgap) {
49: super(alignment, hgap, vgap);
50: }
51:
52: }
|