Uses of Class java.awt.Insets

Uses in package javax.swing.border

Constructors with parameter type java.awt.Insets

Constructs an empty border given the number of pixels required on each side, passed in an Insets object.
MatteBorder.MatteBorder(Insets borderInsets, Color matteColor)
Constructs a MatteBorder given its insets and fill color.
MatteBorder.MatteBorder(Insets borderInsets, Icon tileIcon)
Constructs a MatteBorder given its insets and an icon for tiling the border area.

Methods with parameter type java.awt.Insets

Insets
Returns the insets required for drawing this border around the specified component.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Changes the specified insets to the insets of this border, which is the sum of the insets of the inside and the outside border.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.

Methods with return type java.awt.Insets

Insets
Measures the width of this border.
Insets
Measures the width of this border.
Insets
Returns the insets required for drawing this border around the specified component.
Insets
Measures the width of this border.
Insets
Measures the width of this border.
Insets
Determines the insets of this border, which is the sum of the insets of the inside and the outside border.
Insets
Measures the width of this border.
Insets
Measures the width of this border.
Insets
Measures the width of this border.
Insets
Measures the width of this border.
Insets
Measures the width of this border.
Insets
Measures the width of this border.
Insets
Returns the insets required for drawing this border around the specified component.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Changes the specified insets to the insets of this border, which is the sum of the insets of the inside and the outside border.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.

Uses in package javax.swing.plaf.metal

Fields of type java.awt.Insets

Insets
The borders insets.
Insets
The border insets.
Insets
The border insets.
Insets
The border's insets.
Insets
The insets of this border.
Insets
The editor's border insets.

Methods with parameter type java.awt.Insets

Insets
Returns the insets of the ButtonBorder in the specified newInsets object.
Insets
Returns the border insets.
Insets
Returns the border insets.
Insets
Populates insets with the border insets, then returns it.
Insets
Populates insets with the border insets, then returns it.
Insets
Returns the border insets.
Insets
Returns the border insets.
Insets
Returns the insets of the border, using the supplied Insets instance.
Insets
Returns the border insets.
void
MetalTreeUI.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.
void
Paints the vertical part of the leg.

Methods with return type java.awt.Insets

Insets
Returns the insets of the ButtonBorder.
Insets
Returns the border insets.
Insets
Returns the border insets.
Insets
Returns the border insets.
Insets
Returns the border insets.
Insets
Returns the border insets.
Insets
Returns the border insets.
Insets
Returns the insets of the border, creating a new Insets instance with each call.
Insets
Returns the insets of the border for the Component c.
Insets
Return the insets of this border.
Insets
Returns the border insets.
Insets
Returns the insets of the ButtonBorder in the specified newInsets object.
Insets
Returns the border insets.
Insets
Returns the border insets.
Insets
Populates insets with the border insets, then returns it.
Insets
Populates insets with the border insets, then returns it.
Insets
Returns the border insets.
Insets
Returns the border insets.
Insets
Returns the insets of the border, using the supplied Insets instance.
Insets
Returns the border insets.

Uses in package java.awt.peer

Methods with return type java.awt.Insets

Insets
Insets

Uses in package java.awt

Constructors with parameter type java.awt.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)
Create a new GridBagConstraints object with the indicated parameters.

Fields of type java.awt.Insets

Insets

Methods with return type java.awt.Insets

Insets
Returns the insets for this container, which is the space used for borders, the margin, etc.
Insets
Insets
Returns the insets for this container, which is the space used for borders, the margin, etc.

Uses in package javax.swing.plaf

Classes derived from java.awt.Insets

class
An Insets that is marked as UIResource, which indicates that it has been installed by a pluggable LookAndFeel.

Constructors with parameter type java.awt.Insets

Constructs an empty border given the number of pixels required on each side, passed in an Insets object.

Methods with return type java.awt.Insets

Insets
Measures the width of this border by calling the getBorderInsets method of the wrapped delegate.

Uses in package javax.swing.plaf.basic

Fields of type java.awt.Insets

Insets
The insets around the content area.
Insets
The insets between the FocusRectangle and the ContentRectangle.
Insets
The JSlider's insets.
Insets
The extra insets around the selected tab.
Insets
The insets around the tab area.
Insets
The insets around each and every tab.

Methods with parameter type java.awt.Insets

int
BasicProgressBarUI.getAmountFull(Insets b, int width, int height)
This method returns the length of the bar (from the minimum) in pixels (or units that the Graphics object draws in) based on the progressBar's getPercentComplete() value.
int
This method returns the width of the JSplitPane minus the insets.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Determines the insets of this border by calling the getMargin() method of the enclosed component.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
int
This method returns the given insets left value.
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.
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.
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.
void
BasicProgressBarUI.paintString(Graphics g, int x, int y, int width, int height, int amountFull, Insets b)
This method paints the string for the progressBar.
void
Paints the vertical part of the leg.
void
BasicTabbedPaneUI.rotateInsets(Insets topInsets, Insets targetInsets, int targetPlacement)
This method rotates the insets given a direction to rotate them in.
void
BasicSplitPaneUI.BasicHorizontalLayoutManager.setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize)
This methods sets the bounds of the given component.

Methods with return type java.awt.Insets

Insets
Measures the width of this border.
Insets
Measures the width of this border.
Insets
Measures the width of this border.
Insets
Measures the width of this border.
Insets
Measures the width of this border.
Insets
Measures the width of this border.
Insets
Measures the width of this border.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Determines the insets of this border by calling the getMargin() method of the enclosed component.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
Measures the width of this border, storing the results into a pre-existing Insets object.
Insets
This method returns the content border insets appropriately rotated.
Insets
Determines the width of the border that gets painted by drawEtchedRect(Graphics,int,int,int,int,Color,Color,Color,Color).
Insets
Determines the width of the border that gets painted by drawGroove(Graphics,int,int,int,int,Color,Color).
Insets
Returns the insets of the current border.
Insets
Retrieves the insets of the divider.
Insets
This method returns the insets for the DragWindow.
Insets
This method returns the insets of the given JComponent.
Insets
This method returns the border insets of the current border.
Insets
This method returns the selected tab pad insets appropriately rotated.
Insets
This method returns the tab area insets appropriately rotated.
Insets
BasicTabbedPaneUI.getTabInsets(int tabPlacement, int tabIndex)
This method returns the tab insets appropriately rotated.

Uses in package java.awt.dnd

Methods with return type java.awt.Insets

Insets
This method returns the Insets describing the autoscrolling region or border relative to the geometry of the implementing Component

Uses in package javax.swing.plaf.synth

Methods with parameter type java.awt.Insets

Insets

Methods with return type java.awt.Insets

Insets

Uses in package javax.swing.text

Methods with parameter type java.awt.Insets

void

Methods with return type java.awt.Insets

Insets

Uses in package javax.swing

Methods with parameter type java.awt.Insets

Insets
Get the component's insets, which are calculated from the border property.
Insets
Get the component's insets, which are calculated from the JComponent.border property.
void
Set the button's "margin" property, which is an Insets object describing the distance between the button's border and its text and icon.
void
Sets the margin between the menu bar's border and its menus (this is a bound property with the name 'margin').
void
This method sets the margin property.

Methods with return type java.awt.Insets

Insets
Get the component's insets, which are calculated from the border property.
Insets
Get the component's insets, which are calculated from the JComponent.border property.
Insets
Get the component's insets, which are calculated from the border property.
Insets
Get the component's insets, which are calculated from the JComponent.border property.
Insets
Returns an insets entry for the default locale.
Insets
Returns an Insets object from the defaults table.
Insets
Returns an insets entry for a specic locale.
Insets
Returns an Insets object from the defaults table.
Insets
Return the button's "margin" property, which is an Insets object describing the distance between the button's border and its text and icon.
Insets
Returns the margin between the menu bar's border and its menus.
Insets
Returns margin for this popup menu.
Insets
This method returns the margin property.