|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jaulp.layout.LayoutUtils
public final class LayoutUtils
The Class LayoutUtils helps with method for simplify the live with Layouts.
Constructor Summary | |
---|---|
LayoutUtils()
|
Method Summary | |
---|---|
static void |
addComponent(java.awt.GridBagLayout gbl,
java.awt.GridBagConstraints gbc,
int gridx,
int gridy,
java.awt.Component component,
java.awt.Container panelToAdd)
Adds the component. |
static void |
addComponent(java.awt.GridBagLayout gbl,
java.awt.GridBagConstraints gbc,
int anchor,
int fill,
java.awt.Insets insets,
int gridx,
int gridy,
int gridwidth,
int gridheight,
double weightx,
double weighty,
java.awt.Component addComponentToPanel,
java.awt.Container panelToAdd)
Adds the component. |
static void |
addComponent(java.awt.GridBagLayout gbl,
java.awt.GridBagConstraints gbc,
int anchor,
int fill,
java.awt.Insets insets,
int gridx,
int gridy,
int gridwidth,
int gridheight,
double weightx,
double weighty,
int ipadx,
int ipady,
java.awt.Component addComponentToPanel,
java.awt.Container panelToAdd)
Adds the component. |
static void |
addComponentWithHorizontalStrutInBox(java.awt.GridBagLayout gbl,
java.awt.GridBagConstraints gbc,
int anchor,
int fill,
java.awt.Insets insets,
int gridx,
int gridy,
int gridwidth,
int gridheight,
double weightx,
double weighty,
int horizontalStrut,
java.awt.Component addComponentToPanel,
java.awt.Container panelToAdd)
Adds the component with horizontal strut in box. |
static void |
addComponentWithVerticalStrutInBox(java.awt.GridBagLayout gbl,
java.awt.GridBagConstraints gbc,
int anchor,
int fill,
java.awt.Insets insets,
int gridx,
int gridy,
int gridwidth,
int gridheight,
double weightx,
double weighty,
int verticalStrut,
java.awt.Component addComponentToPanel,
java.awt.Container panelToAdd)
Adds the component with vertical strut in box. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutUtils()
Method Detail |
---|
public static void addComponent(java.awt.GridBagLayout gbl, java.awt.GridBagConstraints gbc, int gridx, int gridy, java.awt.Component component, java.awt.Container panelToAdd)
gbl
- the gblgbc
- the gbcgridx
- the gridxgridy
- the gridycomponent
- the componentpanelToAdd
- the panel to addpublic static void addComponent(java.awt.GridBagLayout gbl, java.awt.GridBagConstraints gbc, int anchor, int fill, java.awt.Insets insets, int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int ipadx, int ipady, java.awt.Component addComponentToPanel, java.awt.Container panelToAdd)
gbl
- the gblgbc
- the gbcanchor
- the anchorfill
- the fillinsets
- the insetsgridx
- the gridxgridy
- the gridygridwidth
- the gridwidthgridheight
- the gridheightweightx
- the weightxweighty
- the weightyipadx
- the ipadxipady
- the ipadyaddComponentToPanel
- the add component to panelpanelToAdd
- the panel to addpublic static void addComponent(java.awt.GridBagLayout gbl, java.awt.GridBagConstraints gbc, int anchor, int fill, java.awt.Insets insets, int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, java.awt.Component addComponentToPanel, java.awt.Container panelToAdd)
gbl
- the gblgbc
- the gbcanchor
- the anchorfill
- the fillinsets
- the insetsgridx
- the gridxgridy
- the gridygridwidth
- the gridwidthgridheight
- the gridheightweightx
- the weightxweighty
- the weightyaddComponentToPanel
- the add component to panelpanelToAdd
- the panel to addpublic static void addComponentWithVerticalStrutInBox(java.awt.GridBagLayout gbl, java.awt.GridBagConstraints gbc, int anchor, int fill, java.awt.Insets insets, int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int verticalStrut, java.awt.Component addComponentToPanel, java.awt.Container panelToAdd)
gbl
- the gblgbc
- the gbcanchor
- the anchorfill
- the fillinsets
- the insetsgridx
- the gridxgridy
- the gridygridwidth
- the gridwidthgridheight
- the gridheightweightx
- the weightxweighty
- the weightyverticalStrut
- the vertical strutaddComponentToPanel
- the add component to panelpanelToAdd
- the panel to addpublic static void addComponentWithHorizontalStrutInBox(java.awt.GridBagLayout gbl, java.awt.GridBagConstraints gbc, int anchor, int fill, java.awt.Insets insets, int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int horizontalStrut, java.awt.Component addComponentToPanel, java.awt.Container panelToAdd)
gbl
- the gblgbc
- the gbcanchor
- the anchorfill
- the fillinsets
- the insetsgridx
- the gridxgridy
- the gridygridwidth
- the gridwidthgridheight
- the gridheightweightx
- the weightxweighty
- the weightyhorizontalStrut
- the horizontal strutaddComponentToPanel
- the add component to panelpanelToAdd
- the panel to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |