Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Standard Edition

Uses of Class
java.awt.Insets

Packages that use Insets
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.border Provides classes and interface for drawing specialized borders around a Swing component. 
javax.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.plaf.metal Provides user interface objects built according to the ``metal'' look-and-feel. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

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().
 

Constructors in java.awt with parameters of type Insets
GridBagConstraints.GridBagConstraints(int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets, int ipadx, int ipady)
          Creates a GridBagConstraints object with all of its fields set to the passed-in arguments.
 

Uses of Insets in java.awt.dnd
 

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

Uses of Insets in javax.swing
 

Methods in javax.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.
static Insets UIManager.getInsets(Object key)
          Returns an Insets object from the defaults table.
 Insets UIDefaults.getInsets(Object key)
          If the value of key is a Insets return it, otherwise return null.
 Insets JToolBar.getMargin()
          Returns the margin between the toolbar's border and its buttons.
 Insets AbstractButton.getMargin()
          Returns the margin between the button's border and the label.
 Insets JViewport.getInsets()
          Returns the insets (border) dimensions as (0,0,0,0), since borders are not supported on a JViewport.
 Insets JViewport.getInsets(Insets insets)
          Returns an Insets object containing this JViewport's inset values.
 Insets JMenuBar.getMargin()
          Returns the margin between the menubar's border and its menus.
 Insets JPopupMenu.getMargin()
          Returns the margin between the popupmenu's border and its containees.
 

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

Uses of Insets in javax.swing.border
 

Methods in javax.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 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.
 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 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 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 Border.getBorderInsets(Component c)
          Returns the insets of the border.
 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 MatteBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets MatteBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 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 SoftBevelBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 

Methods in javax.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 TitledBorder.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 EmptyBorder.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 BevelBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Insets MatteBorder.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.
 

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

Uses of Insets in javax.swing.plaf
 

Subclasses of Insets in javax.swing.plaf
 class InsetsUIResource
           
 

Methods in javax.swing.plaf that return Insets
 Insets BorderUIResource.getBorderInsets(Component c)
           
 

Constructors in javax.swing.plaf with parameters of type Insets
BorderUIResource.EmptyBorderUIResource.BorderUIResource.EmptyBorderUIResource(Insets insets)
           
 

Uses of Insets in javax.swing.plaf.basic
 

Fields in javax.swing.plaf.basic declared as Insets
protected  Insets BasicTabbedPaneUI.tabInsets
           
protected  Insets BasicTabbedPaneUI.selectedTabPadInsets
           
protected  Insets BasicTabbedPaneUI.tabAreaInsets
           
protected  Insets BasicTabbedPaneUI.contentBorderInsets
           
protected  Insets BasicSliderUI.focusInsets
           
protected  Insets BasicSliderUI.insetCache
           
 

Methods in javax.swing.plaf.basic that return Insets
protected  Insets BasicTabbedPaneUI.getTabInsets(int tabPlacement, int tabIndex)
           
protected  Insets BasicTabbedPaneUI.getSelectedTabPadInsets(int tabPlacement)
           
protected  Insets BasicTabbedPaneUI.getTabAreaInsets(int tabPlacement)
           
protected  Insets BasicTabbedPaneUI.getContentBorderInsets(int tabPlacement)
           
 Insets BasicDesktopIconUI.getInsets(JComponent c)
           
 Insets BasicToolBarUI.DragWindow.getInsets()
           
 Insets BasicSplitPaneUI.getInsets(JComponent jc)
          Returns the insets.
static Insets BasicGraphicsUtils.getEtchedInsets()
          Returns the amount of space taken up by a border drawn by drawEtchedRect()
static Insets BasicGraphicsUtils.getGrooveInsets()
          Returns the amount of space taken up by a border drawn by drawGroove()
 Insets BasicBorders.ButtonBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.ToggleButtonBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.RadioButtonBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.MenuBarBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.MarginBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.FieldBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.SplitPaneBorder.getBorderInsets(Component c)
           
protected  Insets BasicComboBoxUI.getInsets()
          Gets the insets from the JComboBox.
 

Methods in javax.swing.plaf.basic with parameters of type Insets
protected static void BasicTabbedPaneUI.rotateInsets(Insets topInsets, Insets targetInsets, int targetPlacement)
           
protected  int BasicSplitPaneUI.BasicHorizontalLayoutManager.getAvailableSize(Dimension containerSize, Insets insets)
          Returns the available width based on the container size and Insets.
protected  int BasicSplitPaneUI.BasicHorizontalLayoutManager.getInitialLocation(Insets insets)
          Returns the left inset, unless the Insets or null in which case 0 is returned.
protected  void BasicSplitPaneUI.BasicHorizontalLayoutManager.setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize)
          Sets the width of the component c to be size, placing its x location at location, y to the insets.top and height to the containersize.height less the top and bottom insets.
protected  int BasicSplitPaneUI.BasicVerticalLayoutManager.getAvailableSize(Dimension containerSize, Insets insets)
          Returns the available height based on the container size and Insets.
protected  int BasicSplitPaneUI.BasicVerticalLayoutManager.getInitialLocation(Insets insets)
          Returns the top inset, unless the Insets or null in which case 0 is returned.
protected  void BasicSplitPaneUI.BasicVerticalLayoutManager.setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize)
          Sets the height of the component c to be size, placing its x location to insets.left, y to location and width to the containersize.width less the left and right insets.
protected  int BasicProgressBarUI.getAmountFull(Insets b, int width, int height)
          This determines the amount of the progress bar that should be filled based on the percent done gathered from the model.
protected  void BasicProgressBarUI.paintString(Graphics g, int x, int y, int width, int height, int amountFull, Insets b)
           
protected  void BasicTreeUI.paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
          Paints the horizontal part of the leg.
protected  void BasicTreeUI.paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)
          Paints the vertical part of the leg.
protected  void BasicTreeUI.paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
          Paints the expand (toggle) part of a row.
protected  void BasicTreeUI.paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
          Paints the renderer part of a row.
 

Uses of Insets in javax.swing.plaf.metal
 

Fields in javax.swing.plaf.metal declared as Insets
protected static Insets MetalBorders.ButtonBorder.borderInsets
           
protected static Insets MetalBorders.MenuBarBorder.borderInsets
           
protected static Insets MetalBorders.MenuItemBorder.borderInsets
           
protected static Insets MetalBorders.PopupMenuBorder.borderInsets
           
protected static Insets MetalComboBoxEditor.editorBorderInsets
           
 

Methods in javax.swing.plaf.metal that return Insets
 Insets MetalBorders.Flush3DBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.ButtonBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.InternalFrameBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.MenuBarBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.MenuItemBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.PopupMenuBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.ToolBarBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.ScrollPaneBorder.getBorderInsets(Component c)
           
 

Methods in javax.swing.plaf.metal with parameters of type Insets
protected  void MetalTreeUI.paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)
           
protected  void MetalTreeUI.paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
           
 

Uses of Insets in javax.swing.text
 

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

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


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.