API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. OverlayLayout View Source
Author(s)
Timothy Prinzing
Since
Version
1.29 04/10/06
Serial
Hierarchy
 Object
      OverlayLayout
Implements
 LayoutManager2
 Serializable
Subclasses
Description
public class OverlayLayout
  A layout manager to arrange components over the top of each other.
See also:   
Constructors
public OverlayLayout (Container target)
  Constructs a layout manager that performs overlay arrangement of the children.
Methods
Hide/Show inherited methods
public void addLayoutComponent (Component comp, Object constraints) [Specified in LayoutManager2]
  Adds the specified component to the layout, using the specified constraint object.
public void addLayoutComponent (String name, Component comp)
  Adds the specified component to the layout.
pack-private void checkContainer (Container target)
pack-private void checkRequests ()
public float getLayoutAlignmentX (Container target) [Specified in LayoutManager2]
  Returns the alignment along the x axis for the container.
public float getLayoutAlignmentY (Container target) [Specified in LayoutManager2]
  Returns the alignment along the y axis for the container.
publicfinal Container getTarget ()
  Returns the container that uses this layout manager.
public void invalidateLayout (Container target) [Specified in LayoutManager2]
  Indicates a child has changed its layout related information, which causes any cached calculations to be flushed.
public void layoutContainer (Container target)
  Called by the AWT when the specified container needs to be laid out.
public Dimension maximumLayoutSize (Container target) [Specified in LayoutManager2]
  Returns the maximum dimensions needed to lay out the components contained in the specified target container.
public Dimension minimumLayoutSize (Container target)
  Returns the minimum dimensions needed to lay out the components contained in the specified target container.
public Dimension preferredLayoutSize (Container target)
  Returns the preferred dimensions for this layout given the components in the specified target container.
public void removeLayoutComponent (Component comp)
  Removes the specified component from the layout.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar