API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. GroupLayout.Group View Source
Author(s)
Since
1.6
Version
Serial
Hierarchy
 Object
      GroupLayout.Spring
          GroupLayout.Group
Implements
Subclasses
Description
publicabstract abstract class GroupLayout.Group
  Group provides the basis for the two types of operations supported by GroupLayout: laying out components one after another (SequentialGroup) or aligned (ParallelGroup).
Constructors
pack-private GroupLayout.Group ()
Methods
Hide/Show inherited methods
public Group addComponent (Component component)
  Adds a Component to this Group.
public Group addComponent (Component component, int min, int pref, int max)
  Adds a Component to this Group with the specified size.
public Group addGap (int size)
  Adds a rigid gap to this Group.
public Group addGap (int min, int pref, int max)
  Adds a gap to this Group with the specified size.
public Group addGroup (Group group)
  Adds a Group to this Group.
pack-private Group addSpring (Spring spring)
Adds the Spring to the list of Springs and returns the receiver.
pack-private void calculateAutopadding (int axis)
pack-private int calculateMaximumSize (int axis) [Specified in GroupLayout.Spring]
pack-private int calculateMinimumSize (int axis) [Specified in GroupLayout.Spring]
pack-private int calculatePreferredSize (int axis) [Specified in GroupLayout.Spring]
pack-private int calculateSize (int axis, int type)
  Calculates the specified size.
pack-private int constrain (int value) [Inherited From GroupLayout.Spring]
pack-private Alignment getAlignment () [Inherited From GroupLayout.Spring]
Alignment for this Spring, this may be null.
pack-private int getBaseline () [Inherited From GroupLayout.Spring]
pack-private BaselineResizeBehavior getBaselineResizeBehavior () [Inherited From GroupLayout.Spring]
pack-privatefinal int getMaximumSize (int axis) [Inherited From GroupLayout.Spring]
Returns the maximum size.
pack-privatefinal int getMinimumSize (int axis) [Inherited From GroupLayout.Spring]
Returns the minimum size.
pack-private Spring getParent () [Inherited From GroupLayout.Spring]
Returns the parent of this spring.
pack-privatefinal int getPreferredSize (int axis) [Inherited From GroupLayout.Spring]
Returns the preferred size.
pack-private int getSize () [Inherited From GroupLayout.Spring]
Returns the current size.
pack-private Spring getSpring (int index)
pack-private int getSpringSize (Spring spring, int axis, int type)
pack-private int indexOf (Spring spring)
pack-privateabstract void insertAutopadding (int axis, List<AutoPreferredGapSpring> leadingPadding, List<AutoPreferredGapSpring> trailingPadding, List<ComponentSpring> leading, List<ComponentSpring> trailing, boolean insert)
  Adjusts the autopadding springs in this group and its children.
pack-privatefinal boolean isResizable (int axis) [Inherited From GroupLayout.Spring]
pack-privateabstract int operator (int a, int b)
  Used to compute how the two values representing two springs will be combined.
pack-private void removeAutopadding ()
Removes any AutopaddingSprings for this Group and its children.
pack-private void setAlignment (Alignment alignment) [Inherited From GroupLayout.Spring]
pack-private void setParent (Spring parent) [Inherited From GroupLayout.Spring]
Sets the parent of this Spring.
pack-private void setSize (int axis, int origin, int size) [Overrides GroupLayout.Spring]
pack-privateabstract void setValidSize (int axis, int origin, int size)
This is invoked from setSize if passed a value other than UNSET.
pack-private void unset () [Inherited From GroupLayout.Spring]
Resets the cached min/max/pref.
pack-private void unsetAutopadding ()
Fields
Hide/Show inherited fields
pack-private List<Spring> springs
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar