API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. ViewportLayout View Source
Author(s)
Hans Muller
Since
Version
1.39 11/17/05
Serial
Hierarchy
 Object
      ViewportLayout
Implements
 LayoutManager
 Serializable
Subclasses
Description
public class ViewportLayout
  The default layout manager for JViewport.
See also:   
Constructors
public ViewportLayout ()
Methods
Hide/Show inherited methods
public void addLayoutComponent (String name, Component c) [Specified in LayoutManager]
  Adds the specified component to the layout.
public void layoutContainer (Container parent) [Specified in LayoutManager]
  Called by the AWT when the specified container needs to be laid out.
public Dimension minimumLayoutSize (Container parent) [Specified in LayoutManager]
  Returns the minimum dimensions needed to layout the components contained in the specified target container.
public Dimension preferredLayoutSize (Container parent) [Specified in LayoutManager]
  Returns the preferred dimensions for this layout given the components in the specified target container.
public void removeLayoutComponent (Component c) [Specified in LayoutManager]
  Removes the specified component from the layout.
Fields
Hide/Show inherited fields
pack-privatestatic ViewportLayout SHARED_INSTANCE
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar