Package org.apache.batik.ext.swing
Class JGridBagPanel.DefaultInsetsManager
- java.lang.Object
-
- org.apache.batik.ext.swing.JGridBagPanel.DefaultInsetsManager
-
- All Implemented Interfaces:
JGridBagPanel.InsetsManager
- Enclosing class:
- JGridBagPanel
private static class JGridBagPanel.DefaultInsetsManager extends java.lang.Object implements JGridBagPanel.InsetsManager
Default implemenation
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
leftInset
leftInset is the space used by default as a padding to the left of each grid cell.java.awt.Insets
leftInsets
java.awt.Insets
positiveInsets
(package private) int
topInset
topInset is the space used by default as a padding to the top of each grid cell.java.awt.Insets
topInsets
java.awt.Insets
topLeftInsets
-
Constructor Summary
Constructors Modifier Constructor Description private
DefaultInsetsManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Insets
getInsets(int gridx, int gridy)
Returns the insets for cell (gridx, gridy);
-
-
-
Field Detail
-
leftInset
int leftInset
leftInset is the space used by default as a padding to the left of each grid cell.
-
topInset
int topInset
topInset is the space used by default as a padding to the top of each grid cell.
-
positiveInsets
public java.awt.Insets positiveInsets
-
leftInsets
public java.awt.Insets leftInsets
-
topInsets
public java.awt.Insets topInsets
-
topLeftInsets
public java.awt.Insets topLeftInsets
-
-
Method Detail
-
getInsets
public java.awt.Insets getInsets(int gridx, int gridy)
Description copied from interface:JGridBagPanel.InsetsManager
Returns the insets for cell (gridx, gridy);- Specified by:
getInsets
in interfaceJGridBagPanel.InsetsManager
-
-