ewe.ui
Class QuickLayout

java.lang.Object
  extended byewe.ui.QuickLayout
All Implemented Interfaces:
LayoutManager

public class QuickLayout
extends Object
implements LayoutManager


Field Summary
 boolean stretchFirstColumn
           
 boolean stretchFirstRow
           
 boolean stretchLastColumn
           
 boolean stretchLastRow
           
 int unitPreferredHeight
           
 int unitPreferredWidth
           
 
Constructor Summary
QuickLayout()
           
 
Method Summary
 Dimension getPreferredSize(Grid controls, Panel panel, Dimension destination)
           
 void layout(Grid grid, Panel panel, Rect panelRect)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Field Detail

unitPreferredWidth

public int unitPreferredWidth

unitPreferredHeight

public int unitPreferredHeight

stretchLastColumn

public boolean stretchLastColumn

stretchLastRow

public boolean stretchLastRow

stretchFirstColumn

public boolean stretchFirstColumn

stretchFirstRow

public boolean stretchFirstRow
Constructor Detail

QuickLayout

public QuickLayout()
Method Detail

layout

public void layout(Grid grid,
                   Panel panel,
                   Rect panelRect)
Specified by:
layout in interface LayoutManager

getPreferredSize

public Dimension getPreferredSize(Grid controls,
                                  Panel panel,
                                  Dimension destination)
Specified by:
getPreferredSize in interface LayoutManager