org.htmlparser.parserapplications.filterbuilder.layouts
public class VerticalLayoutManager extends Object implements LayoutManager2, Serializable
Constructor Summary | |
---|---|
VerticalLayoutManager()
Constructs a VerticalLayoutManager object. |
Method Summary | |
---|---|
void | addLayoutComponent(String name, Component comp)
Adds the specified component with the specified name to
the layout. |
void | addLayoutComponent(Component comp, Object constraints)
Adds the specified component to the layout, using the specified
constraint object. |
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. |
Parameters: name the component name comp the component to be added
Parameters: comp the component to be added constraints where/how the component is added to the layout.
Parameters: target The target container.
Returns: The X-axis alignment.
Parameters: target The target container.
Returns: The Y-axis alignment.
Parameters: target The target container.
Parameters: target The container which needs to be laid out.
Parameters: target The component to be laid out.
Returns: The maximum size for the container.
See Also: VerticalLayoutManager
Parameters: target The component to be laid out.
Returns: The minimum size.
See Also: VerticalLayoutManager
Parameters: target The component to be laid out.
Returns: A size deemed suitable for laying out the container.
See Also: VerticalLayoutManager
Parameters: comp the component ot be removed
HTML Parser is an open source library released under LGPL. | |