freemind.preferences.layout
Class VariableSizeCardLayout

java.lang.Object
  extended by java.awt.CardLayout
      extended by freemind.preferences.layout.VariableSizeCardLayout
All Implemented Interfaces:
java.awt.LayoutManager, java.awt.LayoutManager2, java.io.Serializable

public class VariableSizeCardLayout
extends java.awt.CardLayout

See Also:
Serialized Form

Constructor Summary
VariableSizeCardLayout()
           
VariableSizeCardLayout(int hgap, int vgap)
           
 
Method Summary
 java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
          Determines the preferred size of the container argument using this card layout.
 
Methods inherited from class java.awt.CardLayout
addLayoutComponent, addLayoutComponent, first, getHgap, getLayoutAlignmentX, getLayoutAlignmentY, getVgap, invalidateLayout, last, layoutContainer, maximumLayoutSize, minimumLayoutSize, next, previous, removeLayoutComponent, setHgap, setVgap, show, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VariableSizeCardLayout

public VariableSizeCardLayout()

VariableSizeCardLayout

public VariableSizeCardLayout(int hgap,
                              int vgap)
Method Detail

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
Determines the preferred size of the container argument using this card layout.

Specified by:
preferredLayoutSize in interface java.awt.LayoutManager
Overrides:
preferredLayoutSize in class java.awt.CardLayout
Parameters:
parent - the parent container in which to do the layout
Returns:
the preferred dimensions to lay out the subcomponents of the specified container
See Also:
Container.getPreferredSize(), CardLayout.minimumLayoutSize(java.awt.Container)