API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. LayoutStyle View Source
Author(s)
Since
1.6
Version
1.2, 11/17/05
Serial
Hierarchy
 Object
      LayoutStyle
Implements
Subclasses
Description
publicabstract abstract class LayoutStyle
  LayoutStyle provides information about how to position components.
See also:   
Constructors
public LayoutStyle ()
  Creates a new LayoutStyle.
Methods
Hide/Show inherited methods
publicabstract int getContainerGap (JComponent component, int position, Container parent)
  Returns the amount of space to place between the component and specified edge of its parent.
publicstatic LayoutStyle getInstance ()
  Returns the shared instance of LayoutStyle.
publicabstract int getPreferredGap (JComponent component1, JComponent component2, ComponentPlacement type, int position, Container parent)
  Returns the amount of space to use between two components.
publicstatic void setInstance (LayoutStyle style)
  Sets the shared instance of LayoutStyle.
Fields
Hide/Show inherited fields
Nested Classes
  LayoutStyle.ComponentPlacement
ComponentPlacement is an enumeration of the possible ways two components can be placed relative to each other.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar