edu.washington.cs.supple.render
Interface AlignedLayoutHelper

All Known Implementing Classes:
AlignedVerticalContainerWidget

public interface AlignedLayoutHelper

Author:
kgajos

Method Summary
 java.awt.Dimension getLabelSize(java.lang.String labelText)
           
 boolean isRightAlignedWidget(Widget widget)
          Checks if the widget should not be split but should be placed enitrely on the right side in aligned layouts
 boolean isSplittableWidget(Widget widget)
          Checks if a particular widget should be split for aligned layouts
 

Method Detail

isSplittableWidget

public boolean isSplittableWidget(Widget widget)
Checks if a particular widget should be split for aligned layouts

Parameters:
widget - widgets to be checked
Returns:
true if the widget should be split, false otherwise

isRightAlignedWidget

public boolean isRightAlignedWidget(Widget widget)
Checks if the widget should not be split but should be placed enitrely on the right side in aligned layouts

Parameters:
widget - widgets to be checked
Returns:
true if the widget should be placed entirely on the right, false otherwise

getLabelSize

public java.awt.Dimension getLabelSize(java.lang.String labelText)