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 VerticalLayout

com.gentleware.jboogie.layout.LayoutStrategy
    inheritcom.gentleware.jboogie.layout.VerticalLayout

public class VerticalLayout


A layout for vertically aligning the contained elements.


 Attribute Summary
private double  _vgap
 
arrow_up
 

 Association Summary
private Insets2D  _insets
 
private PDimension  _minimumSize
 
private LayoutX  _xAlign
 
arrow_up
 

 Constructor Summary
public   VerticalLayout(Project project, PDimension minimumSize, Insets2D insets, double vgap, LayoutX xAlign)
 
arrow_up
 

 Method Summary
protected PBounds   getPreferredBoundsImpl(LayoutableElement container, List layoutableElements)
The necessary bounds are based on the bounds of the contained graphElements. 
public void   reshapeElements(LayoutableElement container, List layoutableElements, DiMacroMemento memento)
 
arrow_up
 

Tagged Values
static false
gentleware-imported-line-number 19
gentleware-imported-package-statement-line-number 5
 

 Attribute Detail

_vgap

private double _vgap

arrow_up
 Association Detail

_insets

private Insets2D _insets

arrow_up


_minimumSize

private PDimension _minimumSize

arrow_up


_xAlign

private LayoutX _xAlign

arrow_up
 Constructor Detail

VerticalLayout

public com.gentleware.jboogie.layout.VerticalLayout VerticalLayout(Project project, PDimension minimumSize, Insets2D insets, double vgap, LayoutX xAlign)

Parameters:
project - the overall owner.
minimumSize - The width and height are the minimum values returned by getPreferredBounds.
insets - The insets for the parent that the child elements will respect.
vgap - The vertical gap between elements used for getPreferredBounds.
xAlign - Left, center, or right.
Returns:
arrow_up
 Method Detail

getPreferredBoundsImpl

protected PBounds getPreferredBoundsImpl(LayoutableElement container, List layoutableElements)


The necessary bounds are based on the bounds of the contained graphElements. The width is max'ed, the height is the element count plus the necessary vertical gaps.  
Parameters:
container -
layoutableElements -
Returns:
a PBounds with position 0,0 and the necessary width and height based on minimum size, insets and vgap.
arrow_up


reshapeElements

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

Parameters:
container -
layoutableElements -
memento -
arrow_up
Created  2004 - 12 - 1

    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.