org.kalmeo.kuix.layout
Class FlowLayout

java.lang.Object
  extended by org.kalmeo.kuix.layout.FlowLayout
All Implemented Interfaces:
Layout

public class FlowLayout
extends java.lang.Object
implements Layout

Author:
bbeaulant

Field Summary
 Alignment alignment
           
 
Constructor Summary
FlowLayout()
          Construct a FlowLayout
FlowLayout(Alignment alignment)
          Construct a FlowLayout
 
Method Summary
 void doLayout(Widget target)
          Do the layout on the specified Widget
 void measurePreferredSize(Widget target, int preferredWidth, Metrics metrics)
          Returns the Metrics that represents the widget's preferedSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alignment

public Alignment alignment
Constructor Detail

FlowLayout

public FlowLayout()
Construct a FlowLayout


FlowLayout

public FlowLayout(Alignment alignment)
Construct a FlowLayout

Parameters:
alignment -
Method Detail

measurePreferredSize

public void measurePreferredSize(Widget target,
                                 int preferredWidth,
                                 Metrics metrics)
Description copied from interface: Layout
Returns the Metrics that represents the widget's preferedSize

Specified by:
measurePreferredSize in interface Layout
Parameters:
target - The target widget

doLayout

public void doLayout(Widget target)
Description copied from interface: Layout
Do the layout on the specified Widget

Specified by:
doLayout in interface Layout
Parameters:
target - The target widget


Copyright © 2007-2008 Kalmeo. All Rights Reserved.