com.inet.html.views.layouts
Interface ILayouted

All Known Implementing Classes:
BlockView, ControlView, HtmlRootView, ObjectView, TableView

public interface ILayouted

The interface to mark views, which have a layout attached


Method Summary
 Layout getLayout()
          Returns the used Layout Object
 void performPreLayout()
          Causes this view to layout all fixed values and to calculate it's minimum and preferred width.
 void predictWidth(int width)
          Can be used to force a view to a specified width.
 

Method Detail

performPreLayout

void performPreLayout()
Causes this view to layout all fixed values and to calculate it's minimum and preferred width.


getLayout

Layout getLayout()
Returns the used Layout Object

Returns:
Layout Object

predictWidth

void predictWidth(int width)
Can be used to force a view to a specified width. This will ignore the minWidh!

Parameters:
width - Width to set