Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.fudaa.ebli.calque
Class CalqueLayout  view CalqueLayout download CalqueLayout.java

java.lang.Object
  extended byorg.fudaa.ebli.calque.CalqueLayout
All Implemented Interfaces:
java.awt.LayoutManager, java.awt.LayoutManager2

public class CalqueLayout
extends java.lang.Object
implements java.awt.LayoutManager2

Un overlay layout pour les calques. Les calques sont dessines les uns par-dessus les autres, chacun etant a fond transparent.

Version:
$Revision: 1.1 $ $Date: 2003/01/30 10:56:50 $ by $Author: deniger $

Constructor Summary
CalqueLayout()
           
 
Method Summary
 void addLayoutComponent(java.awt.Component _comp, java.lang.Object _cstr)
          Ajoute un composant.
 void addLayoutComponent(java.lang.String _name, java.awt.Component _comp)
          Ajoute un composant sans contraintes.
 float getLayoutAlignmentX(java.awt.Container _parent)
          Returns the preferred X axis alignment for the specified target container.
 float getLayoutAlignmentY(java.awt.Container _parent)
          Returns the preferred Y axis alignment for the specified target container.
 void invalidateLayout(java.awt.Container _parent)
          Forces the layout manager to purge any cached information about the layout of the target container.
 void layoutContainer(java.awt.Container _parent)
          Applique ce layout a un container.
 java.awt.Dimension maximumLayoutSize(java.awt.Container _parent)
          Calcule la taille maximale pour ce layout.
 java.awt.Dimension minimumLayoutSize(java.awt.Container _parent)
          Calcule la taille minimum pour ce layout.
 java.awt.Dimension preferredLayoutSize(java.awt.Container _parent)
          Calcule la taille ideale pour ce layout.
 void removeLayoutComponent(java.awt.Component _comp)
          Retire un composant.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalqueLayout

public CalqueLayout()
Method Detail

addLayoutComponent

public void addLayoutComponent(java.awt.Component _comp,
                               java.lang.Object _cstr)
Ajoute un composant.

Specified by:
addLayoutComponent in interface java.awt.LayoutManager2

addLayoutComponent

public void addLayoutComponent(java.lang.String _name,
                               java.awt.Component _comp)
Ajoute un composant sans contraintes.

Specified by:
addLayoutComponent in interface java.awt.LayoutManager

removeLayoutComponent

public void removeLayoutComponent(java.awt.Component _comp)
Retire un composant.

Specified by:
removeLayoutComponent in interface java.awt.LayoutManager

minimumLayoutSize

public java.awt.Dimension minimumLayoutSize(java.awt.Container _parent)
Calcule la taille minimum pour ce layout. A partir des tailles des composants.

Specified by:
minimumLayoutSize in interface java.awt.LayoutManager

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container _parent)
Calcule la taille ideale pour ce layout. A partir des tailles des composants.

Specified by:
preferredLayoutSize in interface java.awt.LayoutManager

maximumLayoutSize

public java.awt.Dimension maximumLayoutSize(java.awt.Container _parent)
Calcule la taille maximale pour ce layout. A partir des tailles des composants.

Specified by:
maximumLayoutSize in interface java.awt.LayoutManager2

invalidateLayout

public void invalidateLayout(java.awt.Container _parent)
Description copied from interface: java.awt.LayoutManager2
Forces the layout manager to purge any cached information about the layout of the target container. This will force it to be recalculated.

Specified by:
invalidateLayout in interface java.awt.LayoutManager2

getLayoutAlignmentX

public float getLayoutAlignmentX(java.awt.Container _parent)
Description copied from interface: java.awt.LayoutManager2
Returns the preferred X axis alignment for the specified target container. This value will range from 0 to 1 where 0 is alignment closest to the origin, 0.5 is centered, and 1 is aligned furthest from the origin.

Specified by:
getLayoutAlignmentX in interface java.awt.LayoutManager2

getLayoutAlignmentY

public float getLayoutAlignmentY(java.awt.Container _parent)
Description copied from interface: java.awt.LayoutManager2
Returns the preferred Y axis alignment for the specified target container. This value will range from 0 to 1 where 0 is alignment closest to the origin, 0.5 is centered, and 1 is aligned furthest from the origin.

Specified by:
getLayoutAlignmentY in interface java.awt.LayoutManager2

layoutContainer

public void layoutContainer(java.awt.Container _parent)
Applique ce layout a un container. Les composants sont redimensionnes et places.

Specified by:
layoutContainer in interface java.awt.LayoutManager