|
MDateSelector | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmseries.utils.VFlowLayout
public class VFlowLayout
A Simple layout manager that will stack components vertically as they are added. When there is excess space, the components are not assigned it so they all remain to the top of the container. The components stretch horizontally to width of the container
| Constructor Summary | |
|---|---|
VFlowLayout()
|
|
| Method Summary | |
|---|---|
void |
addLayoutComponent(Component comp,
Object constraints)
Not currently used but likely to be overridden in subclasses |
void |
addLayoutComponent(String name,
Component comp)
Not used by this class |
protected Dimension |
calculateLayoutSize(Container parent)
Total up the height of each component in the container plus the insets of the container itself. |
float |
getLayoutAlignmentX(Container target)
|
float |
getLayoutAlignmentY(Container target)
|
protected Dimension |
getLayoutSize(Container parent)
The layout size is not changed by this layout manager so we can cache the the dimensions. |
void |
invalidateLayout(Container target)
|
void |
layoutContainer(Container parent)
Lays out the container by stacking the components in one vertical column. |
Dimension |
maximumLayoutSize(Container parent)
|
Dimension |
minimumLayoutSize(Container parent)
|
Dimension |
preferredLayoutSize(Container parent)
|
void |
removeLayoutComponent(Component comp)
Not used by this class |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VFlowLayout()
| Method Detail |
|---|
public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize in interface LayoutManagerpublic Dimension minimumLayoutSize(Container parent)
minimumLayoutSize in interface LayoutManagerpublic Dimension maximumLayoutSize(Container parent)
maximumLayoutSize in interface LayoutManager2public void layoutContainer(Container parent)
layoutContainer in interface LayoutManagerprotected Dimension calculateLayoutSize(Container parent)
protected Dimension getLayoutSize(Container parent)
public void addLayoutComponent(String name,
Component comp)
addLayoutComponent in interface LayoutManagerpublic void removeLayoutComponent(Component comp)
removeLayoutComponent in interface LayoutManagerpublic float getLayoutAlignmentY(Container target)
getLayoutAlignmentY in interface LayoutManager2public float getLayoutAlignmentX(Container target)
getLayoutAlignmentX in interface LayoutManager2public void invalidateLayout(Container target)
invalidateLayout in interface LayoutManager2
public void addLayoutComponent(Component comp,
Object constraints)
addLayoutComponent in interface LayoutManager2
|
MDateSelector | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||