All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.ViewportLayout
java.lang.Object
|
+----com.sun.java.swing.ViewportLayout
- public class ViewportLayout
- extends Object
- implements LayoutManager, Serializable
The default layout manager for JViewport. JViewportLayout defines
a policy for layout that should be useful for most applications.
The viewport makes its view as the same size as the viewport,
however it will not make the view smaller than its minimum size.
As the viewport grows the view is kept bottom justified until
the entire view is visible, subsequently the view is kept top
justified.
-
ViewportLayout()
-
-
addLayoutComponent(String, Component)
-
-
layoutContainer(Container)
-
-
minimumLayoutSize(Container)
-
-
preferredLayoutSize(Container)
-
-
removeLayoutComponent(Component)
-
ViewportLayout
public ViewportLayout()
addLayoutComponent
public void addLayoutComponent(String name,
Component c)
removeLayoutComponent
public void removeLayoutComponent(Component c)
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
layoutContainer
public void layoutContainer(Container parent)
All Packages Class Hierarchy This Package Previous Next Index