Java Platform 1.2
Beta 4

Uses of Class
java.awt.Insets

Packages that use Insets
com.sun.java.swing Provides a set of "lightweight" (all-Java
com.sun.java.swing.border Provides classes and interface for drawing specialized borders around a Swing component.  
com.sun.java.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.  
com.sun.java.swing.text Provides classes and interfaces that deal with editable and noneditable text components.  
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.  
java.awt.dnd Provides interfaces and classes for supporting drag-and-drop operations.  
 

Uses of Insets in com.sun.java.swing
 

Methods in com.sun.java.swing that return Insets
 Insets JComponent.getInsets()
          If a border has been set on this component, returns the border's insets, else calls super.getInsets.
 Insets JComponent.getInsets(Insets insets)
          Returns an Insets object containing this component's inset values.
 Insets AbstractButton.getMargin()
          Returns the margin between the button's border and the label.
 Insets JToolBar.getMargin()
          Returns the margin between the toolbar's border and its buttons.
static Insets UIManager.getInsets(Object key)
           
 Insets JPopupMenu.getMargin()
          Returns the margin between the popupmenu's border and its containees. return an Insets object containing the margin values.
 Insets JMenuBar.getMargin()
          Returns the margin between the menubar's border and its menus.
 Insets JViewport.getInsets()
          Returns the insets (border) dimensions as (0,0,0,0)
 Insets JViewport.getInsets(Insets insets)
          Returns an Insets object containing this JViewPort's inset values.
 Insets UIDefaults.getInsets(Object key)
          If the value of key is a Insets return it, otherwise return null.
 

Methods in com.sun.java.swing with parameters of type Insets
 Insets JComponent.getInsets(Insets insets)
          Returns an Insets object containing this component's inset values.
 void AbstractButton.setMargin(Insets m)
          Sets space for margin between the button's border and the label.
 void JToolBar.setMargin(Insets m)
          Sets the margin between the toolbar's border and its buttons.
 void JMenuBar.setMargin(Insets margin)
          Sets the margin between the menubar's border and its menus.
 Insets JViewport.getInsets(Insets insets)
          Returns an Insets object containing this JViewPort's inset values.
 

Uses of Insets in com.sun.java.swing.border
 

Methods in com.sun.java.swing.border that return Insets
 Insets AbstractBorder.getBorderInsets(Component c)
          This default implementation returns the value of getBorderMargins.
 Insets AbstractBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Insets BevelBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets BevelBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Insets SoftBevelBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets Border.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets EtchedBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets EtchedBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Insets EmptyBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets EmptyBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Insets LineBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets LineBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Insets CompoundBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Insets CompoundBorder.getBorderInsets(Component c)
          Returns the insets of the composite border by adding the insets of the outside border to the insets of the inside border.
 Insets MatteBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets TitledBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets TitledBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 

Methods in com.sun.java.swing.border with parameters of type Insets
 Insets AbstractBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Insets BevelBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Insets EtchedBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Insets EmptyBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Insets LineBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Insets CompoundBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Insets TitledBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 

Constructors in com.sun.java.swing.border with parameters of type Insets
EmptyBorder.EmptyBorder(Insets insets)
          Creates an empty border with the specified insets.
 

Uses of Insets in com.sun.java.swing.plaf
 

Subclasses of Insets in com.sun.java.swing.plaf
  InsetsUIResource
           
 

Methods in com.sun.java.swing.plaf that return Insets
 Insets BorderUIResource.getBorderInsets(Component c)
           
 

Constructors in com.sun.java.swing.plaf with parameters of type Insets
BorderUIResource.EmptyBorderUIResource.BorderUIResource.EmptyBorderUIResource(Insets insets)
           
 

Uses of Insets in com.sun.java.swing.text
 

Methods in com.sun.java.swing.text that return Insets
 Insets JTextComponent.getMargin()
          Returns the margin between the text component's border and its text.
 

Methods in com.sun.java.swing.text with parameters of type Insets
 void JTextComponent.setMargin(Insets m)
          Sets margin space between the text component's border and its text.
 

Uses of Insets in java.awt
 

Fields in java.awt declared as Insets
 Insets GridBagConstraints.insets
          This field specifies the external padding of the component, the minimum amount of space between the component and the edges of its display area.
 

Methods in java.awt that return Insets
 Insets Container.getInsets()
          Determines the insets of this container, which indicate the size of the container's border.
 Insets Container.insets()
          Deprecated. As of JDK version 1.1, replaced by getInsets().
 

Uses of Insets in java.awt.dnd
 

Methods in java.awt.dnd that return Insets
 Insets Autoscroll.getAutoscrollInsets()
          return the Insets describing the autoscrolling region or border relative to the geometry of the implementing Component.
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.