Method getInsets()
Return type:
java.awt.Insets
Member of:
javax.swing.JComponent
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
return new Dimension (Integer.MAX_VALUE, fm.getHeight() + c.getInsets().top + c.getInsets().bottom);
2
return renderTarget.getInsets().top;
3
Insets insets = renderTarget.getInsets();
4
d.height = fm.getHeight() + c.getInsets().top + c.getInsets().bottom;
5
Insets insets = getInsets();
6
setSize(getInsets().left + getInsets().right + 20,
7
Insets insets = getInsets();
8
Insets insets = getInsets();
9
Insets insets = this.getInsets();
10
insets = getInsets();
11
Insets insets = cellRenderer.getInsets();
12
Insets insets = getInsets();
13
Insets insets = component.getInsets();
14
Insets insets = c.getInsets();
15
final Insets parentComponentInsets = m_parentComponent.getInsets();
16
Insets i = c.getInsets();
17
contentPaneLocation.x += contentPane.getInsets().left;
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.