API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. GroupLayout.SequentialGroup View Source
Author(s)
Since
1.6
Version
Serial
Hierarchy
 Object
      GroupLayout.Spring
          GroupLayout.Group
              GroupLayout.SequentialGroup
Implements
Subclasses
Description
public class GroupLayout.SequentialGroup
  A Group that positions and sizes its elements sequentially, one after another.
Constructors
pack-private GroupLayout.SequentialGroup ()
Methods
Hide/Show inherited methods
public SequentialGroup addComponent (boolean useAsBaseline, Component component)
  Adds a Component to this Group.
public SequentialGroup addComponent (boolean useAsBaseline, Component component, int min, int pref, int max)
  Adds a Component to this Group with the specified size.
public SequentialGroup addComponent (Component component) [Overrides GroupLayout.Group]
Adds a Component to this Group.
public SequentialGroup addComponent (Component component, int min, int pref, int max) [Overrides GroupLayout.Group]
Adds a Component to this Group with the specified size.
public SequentialGroup addContainerGap ()
  Adds an element representing the preferred gap between an edge the container and components that touch the border of the container.
public SequentialGroup addContainerGap (int pref, int max)
  Adds an element representing the preferred gap between one edge of the container and the next or previous Component with the specified size.
public SequentialGroup addGap (int size) [Overrides GroupLayout.Group]
Adds a rigid gap to this Group.
public SequentialGroup addGap (int min, int pref, int max) [Overrides GroupLayout.Group]
Adds a gap to this Group with the specified size.
public SequentialGroup addGroup (boolean useAsBaseline, Group group)
  Adds a Group to this Group.
public SequentialGroup addGroup (Group group) [Overrides GroupLayout.Group]
Adds a Group to this Group.
public SequentialGroup addPreferredGap (JComponent comp1, JComponent comp2, ComponentPlacement type)
  Adds an element representing the preferred gap between two components.
public SequentialGroup addPreferredGap (JComponent comp1, JComponent comp2, ComponentPlacement type, int pref, int max)
  Adds an element representing the preferred gap between two components.
public SequentialGroup addPreferredGap (ComponentPlacement type)
  Adds an element representing the preferred gap between the nearest components.
public SequentialGroup addPreferredGap (ComponentPlacement type, int pref, int max)
  Adds an element representing the preferred gap between the nearest components.
pack-private Group addSpring (Spring spring) [Inherited From GroupLayout.Group]
Adds the Spring to the list of Springs and returns the receiver.
pack-private void calculateAutopadding (int axis) [Inherited From GroupLayout.Group]
pack-private int calculateMaximumSize (int axis) [Inherited From GroupLayout.Group] [Specified in GroupLayout.Spring]
pack-private int calculateMinimumSize (int axis) [Inherited From GroupLayout.Group] [Specified in GroupLayout.Spring]
pack-private int calculatePreferredSize (int axis) [Inherited From GroupLayout.Group] [Specified in GroupLayout.Spring]
pack-private int calculateSize (int axis, int type) [Inherited From GroupLayout.Group]
  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 () [Overrides GroupLayout.Spring]
pack-private BaselineResizeBehavior getBaselineResizeBehavior () [Overrides 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) [Inherited From GroupLayout.Group]
pack-private int getSpringSize (Spring spring, int axis, int type) [Inherited From GroupLayout.Group]
pack-private int indexOf (Spring spring) [Inherited From GroupLayout.Group]
pack-private void insertAutopadding (int axis, List<AutoPreferredGapSpring> leadingPadding, List<AutoPreferredGapSpring> trailingPadding, List<ComponentSpring> leading, List<ComponentSpring> trailing, boolean insert) [Specified in GroupLayout.Group]
pack-privatefinal boolean isResizable (int axis) [Inherited From GroupLayout.Spring]
pack-private int operator (int a, int b) [Specified in GroupLayout.Group]
pack-private void removeAutopadding () [Inherited From GroupLayout.Group]
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) [Inherited From GroupLayout.Group]
pack-private void setValidSize (int axis, int origin, int size) [Specified in GroupLayout.Group]
pack-private void unset () [Inherited From GroupLayout.Spring]
Resets the cached min/max/pref.
pack-private void unsetAutopadding () [Inherited From GroupLayout.Group]
Fields
Hide/Show inherited fields
pack-private List<Spring> springs [Inherited From GroupLayout.Group]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar