|
HTML Parser Home Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.htmlparser.parserapplications.filterbuilder.layouts.VerticalLayoutManager
public class VerticalLayoutManager
A layout manager like a vertical FlowLayout. Stacks components vertically like GridLayout(0,1) but doesn't resize each component equally. More like a vertical FlowLayout but doesn't snake columns or align things.
Constructor Summary | |
---|---|
VerticalLayoutManager()
Constructs a VerticalLayoutManager object. |
Method Summary | |
---|---|
void |
addLayoutComponent(Component comp,
Object constraints)
Adds the specified component to the layout, using the specified constraint object. |
void |
addLayoutComponent(String name,
Component comp)
Adds the specified component with the specified name to the layout. |
float |
getLayoutAlignmentX(Container target)
Returns the alignment along the x axis. |
float |
getLayoutAlignmentY(Container target)
Returns the alignment along the y axis. |
void |
invalidateLayout(Container target)
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded. |
void |
layoutContainer(Container target)
Lays out the container. |
Dimension |
maximumLayoutSize(Container target)
Returns the maximum size of this component. |
Dimension |
minimumLayoutSize(Container target)
Calculates the minimum size dimensions for the specified panel given the components in the specified parent container. |
Dimension |
preferredLayoutSize(Container target)
Calculates the preferred size dimensions for the specified panel given the components in the specified parent container. |
void |
removeLayoutComponent(Component comp)
Removes the specified component from the layout. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VerticalLayoutManager()
Method Detail |
---|
public Dimension minimumLayoutSize(Container target)
minimumLayoutSize
in interface LayoutManager
target
- The component to be laid out.
preferredLayoutSize(java.awt.Container)
public Dimension preferredLayoutSize(Container target)
preferredLayoutSize
in interface LayoutManager
target
- The component to be laid out.
minimumLayoutSize(java.awt.Container)
public Dimension maximumLayoutSize(Container target)
maximumLayoutSize
in interface LayoutManager2
target
- The component to be laid out.
preferredLayoutSize(java.awt.Container)
public void addLayoutComponent(String name, Component comp)
addLayoutComponent
in interface LayoutManager
name
- the component namecomp
- the component to be addedpublic void removeLayoutComponent(Component comp)
removeLayoutComponent
in interface LayoutManager
comp
- the component ot be removedpublic void layoutContainer(Container target)
layoutContainer
in interface LayoutManager
target
- The container which needs to be laid out.public void addLayoutComponent(Component comp, Object constraints)
addLayoutComponent
in interface LayoutManager2
comp
- the component to be addedconstraints
- where/how the component is added to the layout.public float getLayoutAlignmentX(Container target)
getLayoutAlignmentX
in interface LayoutManager2
target
- The target container.
public float getLayoutAlignmentY(Container target)
getLayoutAlignmentY
in interface LayoutManager2
target
- The target container.
public void invalidateLayout(Container target)
invalidateLayout
in interface LayoutManager2
target
- The target container.
|
© 2006 Derrick Oswald Sep 17, 2006
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
HTML Parser is an open source library released under Common Public License. |