aloneinterfaces
Class MonLayout

java.lang.Object
  extended by java.awt.GridBagLayout
      extended by aloneinterfaces.MonLayout
All Implemented Interfaces:
java.awt.LayoutManager, java.awt.LayoutManager2, java.io.Serializable

public class MonLayout
extends java.awt.GridBagLayout

Window organisation (layout) or panel. Useful for Interface's use.
Graphical class

Author:
Stéfan Engelen (2006), Gabriel Chandesris (2008)
See Also:
Interface, Serialized Form

Field Summary
private  java.awt.Dimension dimUnitaire
          Unit Dimension.
private static long serialVersionUID
          Serial number (46).
private  int taille
          Length.
 
Fields inherited from class java.awt.GridBagLayout
columnWeights, columnWidths, comptable, defaultConstraints, layoutInfo, MAXGRIDSIZE, MINSIZE, PREFERREDSIZE, rowHeights, rowWeights
 
Constructor Summary
MonLayout()
           
 
Method Summary
 void setTaille(java.awt.Container conteneur, int taille)
          To change the length of this layout.
 void XYposition(java.awt.Container conteneur, javax.swing.JComponent composant, int x, int y, int largeur, int hauteur)
          To change item position.
 
Methods inherited from class java.awt.GridBagLayout
addLayoutComponent, addLayoutComponent, adjustForGravity, AdjustForGravity, arrangeGrid, ArrangeGrid, getConstraints, getLayoutAlignmentX, getLayoutAlignmentY, getLayoutDimensions, getLayoutInfo, GetLayoutInfo, getLayoutOrigin, getLayoutWeights, getMinSize, GetMinSize, invalidateLayout, layoutContainer, location, lookupConstraints, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setConstraints, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial number (46).

See Also:
Constant Field Values

taille

private int taille
Length.


dimUnitaire

private java.awt.Dimension dimUnitaire
Unit Dimension.

Constructor Detail

MonLayout

public MonLayout()
Method Detail

setTaille

public void setTaille(java.awt.Container conteneur,
                      int taille)
To change the length of this layout.

Parameters:
conteneur - Container
taille - int

XYposition

public void XYposition(java.awt.Container conteneur,
                       javax.swing.JComponent composant,
                       int x,
                       int y,
                       int largeur,
                       int hauteur)
To change item position.

Parameters:
conteneur - Container (parent item)
composant - JComponent (active component)
x - int (position relative)
y - int (position relative)
largeur - int (width)
hauteur - int (height)