Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.jboogie.layout

Class FillLayout

com.gentleware.jboogie.layout.LayoutStrategy
    inheritcom.gentleware.jboogie.layout.FillLayout

public class FillLayout


A layout manager that sets the bounds of each contained element to the container's own bounds. It reports as its preferred bounds (0, 0, maxWidth, maxHeight) where maxWidth/maxHeight is the maximum of all contained elements.

Created: 26.02.2003 17:49:46

Authors:
Stephen Kelvin


 Attribute Summary
private double  _minimumHeight
 
private double  _minimumWidth
 
arrow_up
 

 Constructor Summary
public   FillLayout(Project project)
 
public   FillLayout(Project project, double minimumWidth, double minimumHeight)
 
arrow_up
 

 Method Summary
protected double   getMinimumHeight()
 
protected PDimension   getMinimumSizeImpl(LayoutableElement container, List layoutableElements)
 
protected double   getMinimumWidth()
 
protected PBounds   getPreferredBoundsImpl(LayoutableElement container, List layoutableElements)
 
public void   reshapeElements(LayoutableElement container, List layoutableElements, DiMacroMemento memento)
 
arrow_up
 

Tagged Values
static false
 

 Attribute Detail

_minimumHeight

private double _minimumHeight

arrow_up


_minimumWidth

private double _minimumWidth

arrow_up
 Constructor Detail

FillLayout

public FillLayout FillLayout(Project project)

Parameters:
project -
Returns:
arrow_up


FillLayout

public FillLayout FillLayout(Project project, double minimumWidth, double minimumHeight)

Parameters:
project -
minimumWidth -
minimumHeight -
Returns:
arrow_up
 Method Detail

getMinimumHeight

protected double getMinimumHeight()

Returns:
arrow_up


getMinimumSizeImpl

protected PDimension getMinimumSizeImpl(LayoutableElement container, List layoutableElements)

Parameters:
container -
layoutableElements -
Returns:
arrow_up


getMinimumWidth

protected double getMinimumWidth()

Returns:
arrow_up


getPreferredBoundsImpl

protected PBounds getPreferredBoundsImpl(LayoutableElement container, List layoutableElements)

Parameters:
container -
layoutableElements -
Returns:
arrow_up


reshapeElements

public void reshapeElements(LayoutableElement container, List layoutableElements, DiMacroMemento memento)

Parameters:
container -
layoutableElements -
memento -
arrow_up
Created  2004 - 10 - 21

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.