org.kalmeo.kuix.layout
Interface Layout

All Known Implementing Classes:
BorderLayout, FlowLayout, GridLayout, InlineLayout, StaticLayout, TableLayout

public interface Layout

Author:
bbeaulant

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
 

Method Detail

measurePreferredSize

void measurePreferredSize(Widget target,
                          int preferredWidth,
                          Metrics metrics)
Returns the Metrics that represents the widget's preferedSize

Parameters:
target - The target widget
preferredWidth -

doLayout

void doLayout(Widget target)
Do the layout on the specified Widget

Parameters:
target - The target widget


Copyright © 2007-2008 Kalmeo. All Rights Reserved.